🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1240

Re: Background writes in csh

#1240
From: Alex Martelli
Date: Sun, 23 Sep 1990 09:12
24 lines
1741 bytes
subbarao@phoenix.Princeton.EDU (Kartik Subbarao) writes:

>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?

Read the fine manual, friend - "less" has MANY features!
Start it up with command line option -e to autoexit the SECOND time
you hit EOF, or -E to autoexit the FIRST such time; set the envir
variable LESS to any option string to make it default behavior.
Many other fancy options are provided... do look them up!

(me, i have experimented and find I like -e better than -E - one
keybounce or accidental space won't destroy your chance to go back
into the less'ed file, use an editor on it, etc - nice in pipes!).

-- 
Alex Martelli - CAD.LAB s.p.a., v. Stalingrado 45, Bologna, Italia
Email: (work:) staff@cadlab.sublink.org, (home:) alex@am.sublink.org
Phone: (work:) ++39 (51) 371099, (home:) ++39 (51) 250434; 
Fax: ++39 (51) 366964 (work only; any time of day or night).
Technical Details
Message-ID: <276@cadlab.sublink.ORG>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!rutgers!deejay!gear!cadlab!staff
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!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!rutgers!deejay!gear!cadlab!staff
From: staff@cadlab.sublink.ORG (Alex Martelli)
Newsgroups: comp.unix.shell
Subject: Re: Background writes in csh
Message-ID: <276@cadlab.sublink.ORG>
Date: 23 Sep 90 09:12:47 GMT
References: <1990Sep19.203803.25798@cs.umn.edu> <1990Sep20.185147.14158@ping.uucp> <2715@idunno.Princeton.EDU>
Distribution: comp
Organization: CAD.LAB, Bologna, Italia
Lines: 24