Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2011 19:24:06 +0100
From:      Arthur Chance <>
To:        FreeBSD-Questions <>,
Subject:   Re: Stopping Less from creating Log Files
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 04/11/11 18:36, Jerry McAllister wrote:
> On Mon, Apr 11, 2011 at 11:36:37AM -0500, Martin McCormick wrote:
>> This is a minor problem but I use "more" to read Email messages
>> from nmh. If one forgets what screen one is in, it is possible
>> to start typing and create a log file of the message in which
>> ever mailbox directory one is reading out of.
>> 	The man page for more is actually linked to less even
>> though FreeBSD has /usr/bin/more and less. I even tried in the
>> .mh_profile to call more with -Oo/dev/null but if you hit a key,
>> the "logfile" prompt appears and any subsequent key strokes are
>> part of the new file name.
> I think 'more' is just a link to 'less' anyway.  The binaries are
> the same according to dif and cmp.
> (not what you were asking, but...)

arthur@fileserver> ls -li /usr/bin/{more,less}
44019002 -r-xr-xr-x  2 root  wheel  139128 Feb 25 16:40 /usr/bin/less
44019002 -r-xr-xr-x  2 root  wheel  139128 Feb 25 16:40 /usr/bin/more

They're hard linked.

The OP should check out the section on environment variables in the man 
page. LESS and LESS_IS_MORE might help him.

Want to link to this message? Use this URL: <>