X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Sun, 20 Jan 2008 20:32:52 -0500 (EST)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Ananth Chellappa <ananth.ch@gmail.com>
cc: cygwin@cygwin.com
Subject: Re: less ti/te termcap stuff
In-Reply-To: <662c20f60801201345j47d6020ieeae31bade4ec31@mail.gmail.com>
Message-ID: <Pine.GSO.4.63.0801202030320.29736@access1.cims.nyu.edu>
References: <662c20f60801201345j47d6020ieeae31bade4ec31@mail.gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Ananth,

<http://cygwin.com/acronyms/#PPIOSPE>.  I've redirected this reply to the
list and set the Reply-To: appropriately -- please make sure your mailer
honors it.

On Sun, 20 Jan 2008, Ananth Chellappa wrote:

> Hi Igor,
>        I saw a post by you related to vim not showing correct
> behaviour - not restoring the screen when it exits like less or man.
> My question is this :  you can get less to not do that by using the -X
> switch. Is there a way to do that with "man"?

"man" uses the PAGER environment variable to select the pager program.  By
default it uses "less -isrR", IIRC.  You can add any other flags to the
less command by setting PAGER in your environment.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it." -- Rabbi Hillel

--
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/

