> On Wed, May 16, 2001 at 01:41:40PM +0100 or thereabouts, David
> Murphy wrote:
> > Quoting <20010516123445.C4950 at bofh.irmet.ie>
> > by Conor Daly <conor.daly at met.ie>:
> > > A colleague is complaining that when he exits vi(m), it clears the
> > > screen so he can't see what he was viewing. What can he set in his
> > > .exrc to prevent that?
> > It used to be a compile-time option in vim, IIRC.
>> This guy doesn't have root on his box though so he can't
> recompile. Any way
> to set it otherwise?
Hmmm... How about this hack (works for xterms and maybe Linux
Write a vi wrapper script that sends the save screen escape
sequence before running the real vim and sends the restore
sequence afterwards. Just like more does.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!