From: Michael O'Reilly (oreillym@tartarus.uwa.edu.au)
Date: 04/14/93


From: oreillym@tartarus.uwa.edu.au (Michael O'Reilly)
Subject: Re: weird vi/less screen insect
Date: 14 Apr 1993 11:06:03 GMT

David Lesher (wb8foz@skybridge.SCL.CWRU.Edu) wrote:

: Linux softland 0.99.pl4-62 01/23/93 i386, Elvis 1.6, less 177

: [ deleted ].

: In any case, it looks as if I end up back in less, as I should. But I
: hit a command, and it ACTS as if I'm still in vi! Parts of the screen
: overwrite with "vi"-isms, such as line numbers. ":" drops me down to the
: proper place. Then, ^L's seem to toggle through various screens - less,
: vi, and maybe the shell itself. Looking at 'ps' from another tty shows
: less & vi still running.

This is not specific to less/vi. Try useing elm, and starting emacs,
and then typeing control-G. emacs doesn't exit by elm wakes up! chaos!

As far as I am aware, this is actually a problem with bash. Bash is a
little silly about intercepting signals in the background, and so it
exits, so less/elm think that vi/emacs has exited, and so it starts
reading the keyboard. Not wonderful.

As yet, I haven't managed to find a patch for bash that will fix the
problem. anyone???

Michael