Date: Fri, 02 Nov 2007 16:00:05 -0700 From: Pete Slagle <freebsd-questions@voidcaptain.com> To: Yuri <yuri@rawbw.com> Cc: yuri@tsoft.com, freebsd-questions@freebsd.org Subject: Re: vim doesn't preserve the terminal content Message-ID: <472BABF5.2000603@voidcaptain.com> In-Reply-To: <1194038987.472b96cb09026@webmail.rawbw.com> References: <1194038987.472b96cb09026@webmail.rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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? > > Thanks, > Yuri This behavior is controlled by xterm settings. Try holding the control key and middle-clicking with the mouse on an xterm window. You should see an "Enable Alternate Screen Switching" option. See 'man 1 xterm' or http://www.x.org/archive/X11R6.8.0/doc/xterm.1.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?472BABF5.2000603>