Re: bash-4.1.5 crashes when trying to edit multiline command in vi mode

2010-04-16 Thread Chet Ramey
On 4/15/10 9:51 AM, Roman Rakus wrote: > In bash-4.1 patchlevel 5 (probably all older versions) crashes. > Reproducer: > > 1. set -o vi #set ups vi command line editing > 2. type the following command as seen, but do not hit enter at last one > for i in `ls` > do > echo $i > done > 3.After typein

bash-4.1.5 crashes when trying to edit multiline command in vi mode

2010-04-15 Thread Roman Rakus
In bash-4.1 patchlevel 5 (probably all older versions) crashes. Reproducer: 1. set -o vi #set ups vi command line editing 2. type the following command as seen, but do not hit enter at last one for i in `ls` do echo $i done 3.After typeing done (but not enter), hit escape 4.type the letter v to