This is the mail archive of the
mailing list for the Cygwin project.
Re: Any way to prevent programs like Vim from clearing scrollback buffers?
- From: "Robert Jacobson" <q7zfcru02 at sneakemail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 5 May 2011 08:51:20 -0400
- Subject: Re: Any way to prevent programs like Vim from clearing scrollback buffers?
For vim specifically, the following line in ~/.vimrc should prevent that:
set t_ti= t_te=
For "man" -- it uses "less" by default as a pager. So, you can set the
environment variable "LESS" to include the character "X". "man" .
Note that the above will also prevent "less" from clearing the screen on
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple