Re: Tab completion and ':'s

2014-11-16 Thread Chet Ramey
On 11/14/14 4:57 PM, Vadim Berezniker wrote: > > If the completer had a way to tell readline (through Bash) where the > > completion should be inserted that would allow a workaround for this > issue > > without requiring any actions from the user. > > It's not only that, but t

Re: bind -x and multiple prompt/command lines

2014-11-16 Thread Chet Ramey
On 4/14/14 2:02 AM, Rob Foehl wrote: > When executing shell commands bound to key sequences with bind -x, the > initial line(s) of multiple line shell prompts and/or commands are left > intact; when the prompt is redisplayed, the initial line(s) are output > again, causing the appearance of duplica

Re: bind -x and multiple prompt/command lines

2014-11-16 Thread Chet Ramey
On 4/22/14 7:34 AM, Jesper Nygårds wrote: > Here are simplified versions of two functions that I have written. Both are > inspired by similar functions floating around on the zsh mailing lists. The > first copies the previous word on the command line, and the second one > converts three consecutive

Re: [PATCH] Support configurable mode strings in prompt

2014-11-16 Thread Chet Ramey
On 11/7/14 7:56 AM, Dylan Cali wrote: > On Thu, Nov 6, 2014 at 11:53 PM, wrote: >> I hope this gets merged in soon. I love the bash vi mode and I love the >> realtime mode indicator that we now have with show-mode-in-prompt. If I >> could customize that portion of my command line I could add th

Re: bash-3.1, Shellshock issue, specially CVE-2014-7187.

2014-11-16 Thread Vettel_Kao高毓廷
Thanks a lot. I got the 'command not found' with CVE-2014-7187 in patch 3.1.23. Most of blogs and websites are wrong. 2014-11-14 14:25 GMT+08:00 : > Configuration Information [Automatically generated, do not change]: > Machine: i686 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM