bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with "\ev" in vi mode with EDITOR=/usr/bin/ed


From: Chet Ramey
Subject: Re: Problem with "\ev" in vi mode with EDITOR=/usr/bin/ed
Date: Sat, 03 May 2008 16:24:11 -0400
User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)

address@hidden wrote:
Fix:
        You can use ed, but there's no echo and you have to use ^J instead of 
<Enter>
        After !stty sane^J ed functions normal.
        Also ^Z and fg %1 (when %1 is the suspended ed command) works
        After return to bash you need to give one extra <Enter> before <Esc> 
works
        again.

I will look at it, and bash should probably restore the tty mode before
calling fc, but there is a reason the code looks for and uses $VISUAL
before $EDITOR.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]