🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1224

Re: Background writes in csh

#1224
From: David N. Blank
Date: Mon, 24 Sep 1990 14:57
24 lines
1542 bytes
> I've been meaning to switch over to less so many times, but only ONE
> thing stopped me. It appears superior in many ways, but for one
> annoying inconvenience (IMHO). At the very end of the article, you
> HAVE to type q to quit. With more, I just hit the spacebar as the last
> screenfull pours over my screen and that's it. Does any body have any
> suggestions as to how I can make less behave like more?

Well, from Mr. Manpage:

: OPTIONS
: ...
:      -e   Normally the only way to exit less is via the "q" com-
:           mand.  The -e option tells less to automatically exit
:          the second time it reaches end-of-file.
:
:     -E   The -E flag causes less to exit the first time it
:          reaches end-of-file.

You can also set the environment variable "LESS" to contain "-E" and
any other options which will be used every time you envoke less.
Enjoy.
                Peace,
                    dNb
Technical Details
Message-ID: <DNB.90Sep24105748@meshugge.media.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!mit-eddie!media-lab!media-lab.media.mit.edu!dnb
References: <1990Sep19.203803.25798@cs.umn.edu> <1990Sep20.185147.14158@ping.uucp> <2715@idunno.Princeton.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!mit-eddie!media-lab!media-lab.media.mit.edu!dnb
From: dnb@meshugge.media.mit.edu (David N. Blank)
Newsgroups: comp.unix.shell
Subject: Re: Background writes in csh
Message-ID: <DNB.90Sep24105748@meshugge.media.mit.edu>
Date: 24 Sep 90 14:57:48 GMT
References: <1990Sep19.203803.25798@cs.umn.edu>
 <1990Sep20.185147.14158@ping.uucp> <2715@idunno.Princeton.EDU>
Sender: news@media-lab.MEDIA.MIT.EDU
Distribution: comp
Organization: M.I.T. Media Laboratory
Lines: 24
In-reply-to: subbarao@phoenix.Princeton.EDU's message of 21 Sep 90 21:15:19 GMT