Re: Completion of ENV variables seems to be broken - leading slash (or even more) is added

2011-03-15 Thread Chet Ramey
> Bash Version: 4.2 > Patch Level: 7 > Release Status: release > > Description: > When enter in console "ls $HOME/" and press TAB for > completion, then bash add slash for special characters like $ { } > When I back to wersion 4.1_p10 then problem is gone. Problem > also exists wit

Re: vzctl enter hangs

2011-03-15 Thread Chet Ramey
> > So vzctl is running bash in a pty and talking to it that way? > > For the exact details I'll point to the OpenVZ guys :-). It is an OS > virtualization patch for the kernel. With it you can run virtual servers > which are isolated from each other. The answer to my question was "yes." > What

Re: old-menu-complete behavior in bash v4 / readline v6

2011-03-15 Thread Chet Ramey
On 3/15/11 11:13 AM, Alan wrote: > Thanks for the response! > > The problem is, if I turn off 'show-all-if-ambiguous', hitting tab > won't display all the possible completions. I like the old behavior of > 'menu-complete' because if I wanted to display the completions, I > could always hit tab bef

Re: old-menu-complete behavior in bash v4 / readline v6

2011-03-15 Thread Alan
Thanks for the response! The problem is, if I turn off 'show-all-if-ambiguous', hitting tab won't display all the possible completions. I like the old behavior of 'menu-complete' because if I wanted to display the completions, I could always hit tab before purely cycling through the choices with '

Re: Completion of ENV variables seems to be broken - leading slash (or even more) is added

2011-03-15 Thread Chet Ramey
On 3/14/11 7:08 PM, Rafał Lalik wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: x86_64-pc-linux-gnu-gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-

Re: old-menu-complete behavior in bash v4 / readline v6

2011-03-15 Thread Chet Ramey
On 3/14/11 3:20 PM, Alan wrote: > Hi, > > I prefer the pre-readline-6.0 version of menu completion, so I tried > using the "old-menu-complete" option in bash v4 / readline v6. > > However, "old-menu-complete" doesn't behave exactly like > "menu-complete" did in bash v3 / readline v5. > > For exa

ReadLines and Substraction

2011-03-15 Thread yetcom
Hello Everyone, I have an issue regarding the bash. I have 2 different files and each of them involves some float point numbers for each lines. I want to subtract each line then put all the results into a file. The first line float number will be subtract with the first line of other file and the

Re: vzctl enter hangs

2011-03-15 Thread Henk van de Kamer
> So vzctl is running bash in a pty and talking to it that way? For the exact details I'll point to the OpenVZ guys :-). It is an OS virtualization patch for the kernel. With it you can run virtual servers which are isolated from each other. The vzctl enter number is used on the physical server

old-menu-complete behavior in bash v4 / readline v6

2011-03-15 Thread Alan
Hi, I prefer the pre-readline-6.0 version of menu completion, so I tried using the "old-menu-complete" option in bash v4 / readline v6. However, "old-menu-complete" doesn't behave exactly like "menu-complete" did in bash v3 / readline v5. For example, in bash v3: $ mkdir directory $ touch direc

Completion of ENV variables seems to be broken - leading slash (or even more) is added

2011-03-15 Thread Rafał Lalik
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/sha

Bash-4.2 Official Patch 8

2011-03-15 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 4.2 Patch-ID: bash42-008 Bug-Reported-by:Doug McMahon Bug-Reference-ID: <1299441211.2535.11.camel@doug-XPS-M1330> Bug-Reference-URL: http://lists.gnu.org/archiv

Re: vzctl enter hangs

2011-03-15 Thread gnu.bash.bug
On 8 mar, 22:36, Chet Ramey wrote: > On 3/8/11 10:04 AM, gnu.bash.bug wrote: > > > Running "strace -fvzctlenter 152 " shows: > > Sovzctlis running bash in a pty and talking to it that way? > > I'd be interested in seeing what interrupted the select/read/write/ > sigprocmask system calls in both pr

Re: Infinite loop in globbing

2011-03-15 Thread Roman Rakus
On 03/14/2011 07:36 PM, Chet Ramey wrote: Here's a minimal patch. Chet Thanks. It is working. I mean no infinite loop. RR