From owner-freebsd-questions@FreeBSD.ORG Mon Apr 11 18:24:15 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 9B84A1065673 for ; Mon, 11 Apr 2011 18:24:15 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 27CBB8FC0C for ; Mon, 11 Apr 2011 18:24:14 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id p3BIO6EE054054; Mon, 11 Apr 2011 19:24:06 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <4DA34746.4030906@qeng-ho.org> Date: Mon, 11 Apr 2011 19:24:06 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110405 Thunderbird/3.1.9 MIME-Version: 1.0 To: FreeBSD-Questions , martin@dc.cis.okstate.edu References: <201104111636.p3BGab4r016267@x.it.okstate.edu> <20110411173605.GB5598@gizmo.acns.msu.edu> In-Reply-To: <20110411173605.GB5598@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: 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 18:24:15 -0000 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.