Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2002 21:43:47 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Marco Radzinschi <marco@radzinschi.com>
Cc:        Clint Olsen <clint@0lsen.net>, questions@FreeBSD.ORG
Subject:   Re: 4.7: Odd 'man' behavior
Message-ID:  <20021203034347.GA3438@dan.emsphone.com>
In-Reply-To: <20021202222320.M36797-100000@radzinschi.com>
References:  <20021202102736.GA37092@0lsen.net> <20021202222320.M36797-100000@radzinschi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021203034347.GA3438>