delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/23/20:46:50

X-Spam-Check-By: sourceware.org
Date: Fri, 23 Dec 2005 20:46:43 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Tyler Spivey <tspivey AT pcdesk DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: cygwin returning screen on exit?
In-Reply-To: <20051224005852.GA296@efry66_camb3>
Message-ID: <Pine.GSO.4.63.0512232016100.14142@slinky.cs.nyu.edu>
References: <20051224005852 DOT GA296 AT efry66_camb3>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019