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

Re: Attn: Newbies Re: Random "Broken Pipe"



On Mon, 23 Mar 1998, Bill Leach wrote:

: I think that it is mostly historical (just about every Unix system since
: about 1970 has had 'more').
: 
: There are some other reasons that are now at least mostly not
: applicable.  For example, 'more' will work on a printing terminal but I
: believe that 'less' will not.  There might be other VDTs that can not
: use 'less'.  Another 'problem' that surely would be rare anymore is that
: 'less' will use a great deal more memory than 'more' for large files.
: 
: Take a look at 'zless' too.  This nifty pager displays gzipped files
: too.

Better yet, use ``lesspipe''.  It's a shell script included in the
latest ``less'' package ... you set it up like so ... (for bash/ksh
anyway)

eval $(lesspipe)

Put this line in your .profile or /etc/profile.

Now you can use ``less'' on anything ...

There is no manpage for lesspipe, but it's mentioned in the `less''
manpage.

--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD  57104
mailto://finn@midco.net   http://www.midco.net
finger finn@kepler.midco.net for PGP Key: (0xA33B86E9)



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: