[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exit behaviour of less



on Sat, Nov 03, 2001 at 05:06:20AM -0600, Dave Sherohman (esper@sherohman.org) wrote:
> On Fri, Nov 02, 2001 at 02:11:39PM -0800, Karsten M. Self wrote:
> > on Thu, Nov 01, 2001 at 07:10:08PM -0600, Dave Sherohman (esper@sherohman.org) wrote:
> > > How do I change it back globally?  `export LESS="-X"` fixes it
> > > per-user, but I want the old default back.
> > 
> > /etc/profile.
> 
> Well, OK...  That's at least half a solution, since it globally
> overrides the default.  But it doesn't change the default back to
> what it used to be.

Reading the manpage, it would seem that the clear-screen behavior is a
terminal configuration issue.  I've noticed that, for example, console
less sessions don't clear the screen on exit, but rxvt sessions do.
Presumably, poking through various terminal settings will uncover the
issue.  /etc/profile is a kluge, but may be the simplest solution.

The terminal settings might *also* have to be distributed among users.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>       http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?             Home of the brave
  http://gestalt-system.sourceforge.net/                   Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire                     http://kmself.home.netcom.com/resume.html

Attachment: pgpXqHXxxSO5h.pgp
Description: PGP signature


Reply to: