Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2011 13:36:05 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Stopping Less from creating Log Files
Message-ID:  <20110411173605.GB5598@gizmo.acns.msu.edu>
In-Reply-To: <201104111636.p3BGab4r016267@x.it.okstate.edu>
References:  <201104111636.p3BGab4r016267@x.it.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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...)

////jerry

> 
> 	This really is only a minor nuisance because it creates
> junk files that then have to be removed from the directory. So,
> if there is a way to make more or less not write anything, it
> would be more or less appreciated.
> 
> 	Many thanks in advance.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110411173605.GB5598>