This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin returning screen on exit?

On Fri, 23 Dec 2005, Tyler Spivey wrote:

> Hello. How can I tell cygwin not to return the screen to the state it
> was in before running a full screen program such as vim or mutt? This is
> highly annoying.

I actually find it useful, but to each his own...  There are two ways of
doing it: one is on a program-by-program basis, and the other is modifying
your terminal settings.

In Vim, you can turn it off by manipulating the terminfo entries (the
exact recipe can be obtained by typing ":help 'restorescreen'" in vim).
I have no idea how to do this in mutt, but others may chime in.

Alternatively, you can edit your terminfo database -- see "man terminfo"
for details.
      |\      _,,,---,,_ |
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]