From owner-freebsd-questions@FreeBSD.ORG Wed Oct 14 02:22:21 2009 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 1C7461065670 for ; Wed, 14 Oct 2009 02:22:21 +0000 (UTC) (envelope-from bill@celestial.com) Received: from dorsai-02.celestial.com (dorsai-02.celestial.com [192.136.111.19]) by mx1.freebsd.org (Postfix) with ESMTP id D6B988FC0C for ; Wed, 14 Oct 2009 02:22:20 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by dorsai-02.celestial.com (Postfix) with ESMTP id 2AC1920597DD for ; Tue, 13 Oct 2009 18:49:48 -0700 (PDT) X-Virus-Scanned: amavisd-new at celestial.com Received: from dorsai-02.celestial.com ([127.0.0.1]) by localhost (dorsai-02.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aPXMBCW9D9Ir for ; Tue, 13 Oct 2009 18:49:47 -0700 (PDT) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by dorsai-02.celestial.com (Postfix) with ESMTP id EBF8220597DA for ; Tue, 13 Oct 2009 18:49:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id E0B4F68F3FF22; Tue, 13 Oct 2009 18:49:47 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vGcuh+ADB0pm; Tue, 13 Oct 2009 18:49:47 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id C2C7A68EEA4A2; Tue, 13 Oct 2009 18:49:47 -0700 (PDT) Date: Tue, 13 Oct 2009 18:49:47 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20091014014947.GA13021@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <521176.60565.qm@web52902.mail.re2.yahoo.com> <19157.11479.415746.171606@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19157.11479.415746.171606@jerusalem.litteratus.org> User-Agent: Mutt/1.5.19 OpenPKG/% (2009-01-05) Subject: Re: man quits back to the prompt after CTRL-G X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 02:22:21 -0000 On Tue, Oct 13, 2009, Robert Huff wrote: > >Chris Stankevitz writes: > >> Please try this: >> >> 1. at the prompt type "man man" to get the man manual page. >> 2. press CTRL-G to to to the bottom of the document >> 3. press k to scroll up one line >> >> You'll notice you cannot perform step 3 because man "quits back >> to the prompt after CTRL-G". >> >> Question: How can I make man not "quit back to the prompt after >> CTRL-G"? The -e and -E options to less control this. You want neither of these specified if you don't want to have less automatically exit at end-of-file. The ``-e'' option causes it to exit the second time it hits eof while ``-E'' exits the first time. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Whenever a people entrust the defence of their country to a regular, standing army, composed of mercenaries, the power of that country will remain under the direction of the most wealthy citizens.