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 1871
- From: Paul Lew <lew@xxxxxxxxxxxxxxxxxx>
- To: Roland Jesse <jesse@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: clear terminal after display of less, <, and apropos
- Date: Thu, 15 Oct 1998 09:22:25 -0400
- Cc: ZSH Users <zsh-users@xxxxxxxxxxxxxxx>
- In-reply-to: <19981015121103.A20207@xxxxxxxx>
- References: <19981014233316.A613@xxxxxxxxxxxxxxxxxxx> <981014182516.ZM20780@xxxxxxxxxxxxxxxxxxxxxxx> <19981015121103.A20207@xxxxxxxx>
Roland> On Oct 14, 11:33pm, Roland Jesse wrote:
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.
function notite {
TERMCAP=$(printenv TERMCAP | sed 's/:ti=[^:]*//; s/:te=[^:]*//;')
}
So if you're using something like color_xterm, you will not lose other
features by switching TERM to vt100.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author