[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash-4.1.5 crashes when trying to edit multiline command in vi mode
From: |
Chet Ramey |
Subject: |
Re: bash-4.1.5 crashes when trying to edit multiline command in vi mode |
Date: |
Fri, 16 Apr 2010 22:12:00 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 |
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 typeing done (but not enter), hit escape
> 4.type the letter v to open a vi editor to edit command above (for i ...)
Thanks for the report. Note that this isn't specific to vi-mode editing.
It will be fixed in the next release of bash.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/