[EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/