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. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] 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: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/