delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/10/09:27:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Wed, 10 Jul 2002 14:26:24 +0100
Message-ID: <2413-Wed10Jul2002142624+0100-starksb@ebi.ac.uk>
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: Thomas Baker <thomas DOT baker AT bi DOT fhg DOT de>
Cc: cygwin AT cygwin DOT com
Subject: Re: running mks toolkit and cygwin on same machine
In-Reply-To: <20020710151512.A476@mail.gmd.de>
References: <20020710054039 DOT A1832 AT mail DOT gmd DOT de>
<3D2B06C2 DOT 4090608 AT telesoft DOT com>
<3 DOT 0 DOT 6 DOT 32 DOT 20020709173509 DOT 00aa6930 AT phoenix DOT projtech DOT com>
<20020710060225 DOT B1832 AT mail DOT gmd DOT de>
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020709212515 DOT 01f7d238 AT pop3 DOT cris DOT com>
<20020710151512 DOT A476 AT mail DOT gmd DOT de>

On Wednesday 10 Jul 02, Thomas Baker writes:
> I know "less" is better, but sometimes I don't want the output
> to disappear when I exit the pager back to the prompt -- as
> when I have just successfully grepped for an email address.
> Didn't see any flags for that in less (or vim, for that
> matter).

From less(1) man page:

       -X or --no-init
              Disables sending  the  termcap  initialization  and
              deinitialization  strings to the terminal.  This is
              sometimes desirable if the deinitialization  string
              does   something  unnecessary,  like  clearing  the
              screen.

I have:

	export LESS=-X

in my .bashrc.

Hopefully you now have no reason to use "more" instead of "less"!

Regards,
David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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