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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to