Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!ox-prg!bush From: bush@ecs.ox.ac.uk (Mark Bush) Newsgroups: comp.windows.x Subject: Re: xterm -- how can I disable screen restore? Message-ID: <1534@culhua.prg.ox.ac.uk> Date: 4 Apr 91 19:35:50 GMT Article-I.D.: culhua.1534 References: <9104012143.AA05716@lightning.McRCIM.McGill.EDU> Sender: news@prg.ox.ac.uk Organization: Oxford University Computing Laboratory Lines: 21 In article <9104012143.AA05716@lightning.McRCIM.McGill.EDU> mouse@lightning.mcrcim.mcgill.EDU (der Mouse) writes: #> How can I make xterm not restore the previous screen when exiting #> from applications such as vi and less? # #xterm -xrm '*titeInhibit: true' # #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.) This is because in SunOS4.1, vi is one of the programs that uses the /usr/5lib libraries and terminfo database, so is likely to show some unexpected behaviour. Appart from the vi links (e, ex, edit...) I'm not aware of other programs that Sun have broken in this way... # der Mouse Mark