Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: clear terminal after display of less, <, and apropos
- X-seq: zsh-users 1872
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: lew@xxxxxxxxxxxxxxxxxx (Paul Lew)
- Subject: Re: clear terminal after display of less, <, and apropos
- Date: Thu, 15 Oct 1998 09:46:06 -0500 (CDT)
- Cc: jesse@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx, zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <9810151322.AA14146@xxxxxxxxxxxxxxxxxx> from Paul Lew at "Oct 15, 98 09:22:25 am"
> Roland> Subject: clear terminal after display of less, <, and apropos
> Roland>
> Roland> Whenever I display some information with '< blurb' the
> Roland> terminal gets cleared immediately after I quit the pager
> Roland> (more). The same happens after executing an 'apropos' command.
>
> I have been using the following zsh function to get rid off the 'ti'
> and the 'te' feature from the termcap definition.
As someone previously suggested, you should read the less manual:
-X 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.
You can set it in the LESS variable so that you do not always have to
give it on the command line.
Obviously this subject has nothing to do with zsh.
Zoli
Messages sorted by:
Reverse Date,
Date,
Thread,
Author