Date: Fri, 02 Nov 2007 23:20:28 +0000 From: Bruce Cran <bruce@cran.org.uk> To: Jerry McAllister <jerrymc@msu.edu> Cc: Yuri <yuri@rawbw.com>, yuri@tsoft.com, freebsd-questions@freebsd.org Subject: Re: vim doesn't preserve the terminal content Message-ID: <472BB0BC.5030105@cran.org.uk> In-Reply-To: <20071102222500.GB49562@gizmo.acns.msu.edu> References: <1194038987.472b96cb09026@webmail.rawbw.com> <20071102222500.GB49562@gizmo.acns.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Jerry McAllister wrote: > On Fri, Nov 02, 2007 at 02:29:47PM -0700, Yuri wrote: > >> I use vim both on Linux and FreeBSD. >> On Linux after I exit vim original screen content is restored. >> On FreeBSD vim leaves the last content viewed in vim. >> >> How do I make vim preserve the screen? > > I don't know how to do that, but it is one Lunix (bash?) feature > that I hate and would like to know how to change it to function > the way it does under FreeBSD (tcsh). > > ////jerry > >> Thanks, >> Yuri I believe the save/restore functionality is specified via /etc/termcap; there was a thread about it a few months ago - see http://lists.freebsd.org/pipermail/freebsd-current/2007-July/075665.html for more information. -- Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?472BB0BC.5030105>