X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <662c20f60801201917s3606a946x8deccef239e3f8b5@mail.gmail.com> Date: Sun, 20 Jan 2008 21:17:11 -0600 From: "Ananth Chellappa" To: cygwin AT cygwin DOT com Subject: Re: less ti/te termcap stuff In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <662c20f60801201345j47d6020ieeae31bade4ec31 AT mail DOT gmail DOT com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Thanks Igor, I'll look for what PAGER is set to and try to add flags there. Really appreciate your help. Thanks, Ananth On 1/20/08, Igor Peshansky wrote: > Ananth, > > . 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 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! > > "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 > -- Time wastes our bodies and our wits But we waste time so we are quits -- 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/