Type-ahead in unix
Sakari Jalovaara
sja at sirius.hut.fi
Mon Apr 15 05:07:40 AEST 1991
>>you enter and leave a cbreak/curses application like an editor, or less: when
>>I leave less, I want the last thing I've been looking at to still be on the
>>screen, thanks.
>Have you used an xterm? They don't leave vi sessions sitting on the screen
>after you use them - you go back to the transcript instead.
Well... That depends. I've set up xterm so that it doesn't lose what
it was showing. All you need is a suitable termcap entry; those who
like it the other way can set their TERM to xterm-2p (2p for 2 pages;
some BSD documentation recommends this naming convention):
vs|xterm|vs100|xterm terminal emulator (X window system):\
[... usual xterm entry except te and ti entries removed ...]
vs-2p|xterm-2p|vs100-2p|xterm terminal emulator (with two screens) (X window system):\
:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:tc=xterm
Matter of taste.
++sja
More information about the Comp.unix.questions
mailing list