zsh-users
 help / color / mirror / code / Atom feed
From: Greg Badros <gjb@cs.washington.edu>
To: Mircea Damian <dmircea@secu.kappa.ro>
Cc: Roland Jesse <jesse@prinz-atm.CS.Uni-Magdeburg.De>,
	ZSH Users <zsh-users@math.gatech.edu>
Subject: Re: clear terminal after display of less, <, and apropos
Date: 15 Oct 1998 07:58:58 -0700	[thread overview]
Message-ID: <qrr90ihvpl9.fsf@elwha.cs.washington.edu> (raw)
In-Reply-To: Mircea Damian's message of "Thu, 15 Oct 1998 12:11:03 +0300"

Mircea Damian <dmircea@secu.kappa.ro> writes:

> On Wed, Oct 14, 1998 at 06:25:16PM -0700, Bart Schaefer wrote:
> > On Oct 14, 11:33pm, Roland Jesse wrote:
> > } Subject: clear terminal after display of less, <, and apropos
> > }
> > } Whenever I display some information with '< blurb' the terminal gets
> > } cleared immediately after I quit the pager (more). The same happens after
> > } executing an 'apropos' command.

Most "more" programs I've seen don't do terminal clearing -- "less" does 
(and some sysadmins have more just point at less, so maybe less is
really being run).

Anyway, the "less" I have installed on my RedHat-like linux system uses
the environment variable LESS to pass default arguments to the binary,
and an option -X to disable sending of termcap init and deinit strings.
So I do:

export LESS=-X

and less stops clearing my screen on exit.

Greg


      parent reply	other threads:[~1998-10-15 15:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-14 21:33 Roland Jesse
1998-10-15  1:25 ` Bart Schaefer
1998-10-15  2:22   ` Geoff Wing
1998-10-15  9:11   ` Mircea Damian
1998-10-15 13:22     ` Paul Lew
1998-10-15 14:46       ` Zoltan Hidvegi
1998-10-15 18:09       ` Bart Schaefer
1998-10-15 19:29         ` Bart Schaefer
1998-12-15  2:08         ` problem with prompt Brian Harvell
1998-12-15  3:50           ` Bart Schaefer
1998-10-15 14:58     ` Greg Badros [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=qrr90ihvpl9.fsf@elwha.cs.washington.edu \
    --to=gjb@cs.washington.edu \
    --cc=dmircea@secu.kappa.ro \
    --cc=jesse@prinz-atm.CS.Uni-Magdeburg.De \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).