Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU (der Mouse) Newsgroups: comp.windows.x Subject: Re: xterm -- how can I disable screen restore? Message-ID: <9104012143.AA05716@lightning.McRCIM.McGill.EDU> Date: 1 Apr 91 21:43:50 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 20 > How can I make xterm not restore the previous screen when exiting > from applications such as vi and less? xterm -xrm '*titeInhibit: true' Presumably adding xterm*titeInhibit: true to your resource database would have the same effect. This works for me in less. It doesn't work in vi; this is probably because I did the test on SunOS 4.1, and in 4.1 Sun (deliberately, as far as I can tell) broke vi so it no longer listens to $TERMCAP. (I checked, and xterm set $TERMCAP correctly; vi just ignored it.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu