Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!fuug!funic!santra!santra!sja From: sja@sirius.hut.fi (Sakari Jalovaara) Newsgroups: comp.unix.questions Subject: Re: Type-ahead in unix Message-ID: <1991Apr14.180756.29886@santra.uucp> Date: 14 Apr 91 19:07:40 GMT References: <659@rufus.UUCP> <1991Apr9.112142.13195@robobar.co.uk> <1991Apr10.141518.2135@software.org> <+G-_A&=@warwick.ac.uk> <1991Apr12.233642.12085@alphalpha.com> Sender: news@santra.uucp (Cnews - USENET news system) Organization: Helsinki University of Technology Lines: 19 In-Reply-To: nazgul@alphalpha.com's message of 12 Apr 91 23:36:42 GMT >>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