Re: [PATCH] add #if defined(JOB_CONTROL) around job_control in execute_cmd.c

2011-06-30 Thread Chet Ramey
On 6/30/11 7:56 AM, Thomas Cort wrote: > Hello, > > In bash-4.2 in execute_cmd.c there is a usage of job_control that > isn't enclosed in "#if defined(JOB_CONTROL)" / "#endif". This causes a > compile failure on Minix since job_control is only defined if > JOB_CONTROL is defined. Patch attached.

Re: Typo in bash.1.gz for description of menu-complete-backward

2011-06-30 Thread Chet Ramey
> Machine Type: i386-redhat-linux-gnu > > Bash Version: 4.1 > Patch Level: 7 > Release Status: release > > Description: > A typographical error in the man page for bash (bash.1.gz) > causes corruption in the view that 'man' presents to the > user. The error is in the first of th

Re: Negative indexes in ${arr[@]:off:length}

2011-06-30 Thread Maarten Billemont
On 30/06/11 14:15, Greg Wooledge wrote: > On Wed, Jun 29, 2011 at 06:41:25PM +0200, Maarten Billemont wrote: >> For those to whom a cursor between elements seems confusing: think of your prompt's cursor and imagine an element is a single character. > > No wonder this makes no sense to me. Have

Re: Negative indexes in ${arr[@]:off:length}

2011-06-30 Thread Greg Wooledge
On Wed, Jun 29, 2011 at 06:41:25PM +0200, Maarten Billemont wrote: > For those to whom a cursor between elements seems confusing: think of your > prompt's cursor and imagine an element is a single character. No wonder this makes no sense to me. Have you actually looked at the cursor in a termina

Re: Negative indexes in ${arr[@]:off:length}

2011-06-30 Thread Greg Wooledge
On Wed, Jun 29, 2011 at 06:41:25PM +0200, Maarten Billemont wrote: > > This is where preceding the element with the index comes in handy: We start > with the index 1, which lays between element 0 and element 1. ... I have a feeling you're taking this definition from some other language. Python

[PATCH] add #if defined(JOB_CONTROL) around job_control in execute_cmd.c

2011-06-30 Thread Thomas Cort
Hello, In bash-4.2 in execute_cmd.c there is a usage of job_control that isn't enclosed in "#if defined(JOB_CONTROL)" / "#endif". This causes a compile failure on Minix since job_control is only defined if JOB_CONTROL is defined. Patch attached. -Thomas --- execute_cmd.c.orig Fri Jun 3 13:34:42