From owner-freebsd-questions Mon Dec 2 19:43:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AADEA37B401 for ; Mon, 2 Dec 2002 19:43:56 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DB2543EBE for ; Mon, 2 Dec 2002 19:43:56 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id gB33hn2w056527; Mon, 2 Dec 2002 21:43:49 -0600 (CST) (envelope-from dan) Date: Mon, 2 Dec 2002 21:43:47 -0600 From: Dan Nelson To: Marco Radzinschi Cc: Clint Olsen , questions@FreeBSD.ORG Subject: Re: 4.7: Odd 'man' behavior Message-ID: <20021203034347.GA3438@dan.emsphone.com> References: <20021202102736.GA37092@0lsen.net> <20021202222320.M36797-100000@radzinschi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021202222320.M36797-100000@radzinschi.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Dec 02), Marco Radzinschi said: > On Mon, 2 Dec 2002, Clint Olsen wrote: > > > It's possible this is cockpit fog, but I didn't notice this until I > > upgraded to 4.7. Certain manpages are being rendered in such a way that > > when I type 'q' to exit my PAGER (less), the pager returns to the beginning > > of the document as if it doesn't exit. But what appears to be happening is > > that I'm getting multiple streams of output to the TTY: > > > > clint 37083 0.0 0.6 1116 588 p1 S+ 2:24AM 0:00.03 man thttpd > > clint 37084 0.0 0.3 628 308 p1 S+ 2:24AM 0:00.00 sh -c /usr/bin/zcat /usr/local/man/cat8/thttpd.8.gz | less > > clint 37085 0.0 0.2 604 216 p1 S+ 2:24AM 0:00.01 /usr/bin/zcat /usr/local/man/cat8/thttpd.8.gz > > > > So, it appears that both 37084 and 37085 are writing to my TTY, which is > > why it looks like it doesn't exit... 38704 is /bin/sh, which spawned 37085, which is writing to your TTY. Do you maybe have two thttpd manpages, possibly an uncompressed and a compressed version? When you hit q in less, it exits, and the only way it could "return to the beginning of the document" if man immediately launches less on another version of the manpage. Also check out "man -d". -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message