running mks toolkit and cygwin on same machine

David Starks-Browning starksb@ebi.ac.uk
Wed Jul 10 06:49:00 GMT 2002


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/



More information about the Cygwin mailing list