From owner-freebsd-questions@FreeBSD.ORG Mon Apr 11 17:09:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6112F106564A for ; Mon, 11 Apr 2011 17:09:55 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 386DE8FC17 for ; Mon, 11 Apr 2011 17:09:54 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by x.it.okstate.edu (8.14.4/8.14.3) with ESMTP id p3BGab4r016267 for ; Mon, 11 Apr 2011 11:36:37 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201104111636.p3BGab4r016267@x.it.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16265.1302539797.1@dc.cis.okstate.edu> Date: Mon, 11 Apr 2011 11:36:37 -0500 From: Martin McCormick Subject: Stopping Less from creating Log Files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2011 17:09:55 -0000 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. 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.