From owner-freebsd-questions@FreeBSD.ORG Wed Oct 14 14:43:43 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 DFB5D106566C for ; Wed, 14 Oct 2009 14:43:43 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 6B92F8FC1E for ; Wed, 14 Oct 2009 14:43:43 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so1895555fga.13 for ; Wed, 14 Oct 2009 07:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=xfZnJf0C220AI0LQnkfsKMm+CK7fqPII13WSwq30fWA=; b=wc729duQh2FsnuLaJqFOnzg/tEoqHtWH80ttUHMXlxWtY+YAPeWHJM6VvzcMyEwZE1 T+81lFBynl82+yRfmddomtnhAXfQGi4ehHBrLFWv688ZT8PpuSt2IT0iVbInGUw5/dTM Qs+ZT86uvGwClHzTpWdUY4pBRvIwnP4PGeseg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=v8tNkBnx4zvXX2ZyrFv+ErhqbLqrFpVfFr3YTmd3rHcRnkl0EwZ9OLHoNUAI/PK6NX 1gDZT9TrnIKuS/UdH43XQQC+0aH5uvQJ53KLrcrH7sHWJGkP632SyloISo+7uQVXm7aH xuB4CYrDqJ8UXeGfDn3n39W5FyxwwnwhBNNrs= Received: by 10.87.62.6 with SMTP id p6mr129302fgk.10.1255531422398; Wed, 14 Oct 2009 07:43:42 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 4sm102771fgg.28.2009.10.14.07.43.40 (version=SSLv3 cipher=RC4-MD5); Wed, 14 Oct 2009 07:43:41 -0700 (PDT) Date: Wed, 14 Oct 2009 15:43:38 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20091014154338.7e48aa87@gumby.homeunix.com> In-Reply-To: <4AD56B3A.4070905@toyon.com> References: <521176.60565.qm@web52902.mail.re2.yahoo.com> <19157.11479.415746.171606@jerusalem.litteratus.org> <20091014014947.GA13021@ayn.mi.celestial.com> <4AD56B3A.4070905@toyon.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 14:43:44 -0000 On Tue, 13 Oct 2009 23:10:02 -0700 Chris Stankevitz wrote: > Bill Campbell wrote: > > 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, > > Thank you for your explanation. I hope to find that my PAGER > environment variable is "less -E". If so, I will drop the -E. I think it's sufficient simply to change your pager to "less". IIRC it defaults to "more". "more" and "less" are the same binary in FreeBSD, but they work slightly differently according to how they are invoked.