[Top][All Lists]

[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 (Macintosh/20080213)

koersen@gmail.com wrote:
        You can use ed, but there's no echo and you have to use ^J instead of 
        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> 

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.

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

reply via email to

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