Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!dftsrv!jagubox.gsfc.nasa.gov!jim From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Newsgroups: comp.unix.aux Subject: man - please wait! Message-ID: <3918@dftsrv.gsfc.nasa.gov> Date: 14 Nov 90 19:31:49 GMT Sender: news@dftsrv.gsfc.nasa.gov Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Organization: NASA/Goddard Space Flight Center Lines: 35 Is anyone else upset with the way man works with multi-listing man pages? For example, "man mount" gives you the printing for all listings of "mount", but it always scrolls/clear the last page of a section before you have a chance to read it and then starts up with the 1st page of the next listing. For example, assume that mount has 3 listings: the 1st has 5 pages, the 2nd 2 and the 3rd 4. When "man mount" is done, it'll show pages 1-4 (pausing at each screenfull), but then it show page 5, then immediately clear and show page 1 of listing 2. This is because more always exits at EOF, instead of waiting for you to tell it to exit (ala less and pg). Hence, when the last page is shown, more exits as soon as it "types" it, the eval in man (/usr/bin/man is a shell script) exits and then the next listing is piped to more which immdiately clears the screen and shows the next listing. Changing the filter used by man (either by PAGER or editing /usr/bin/man) is no help because: 1) less can't handle the "escape sequences" for bold, etc. 2) pg don't work right with "man -Tlp stuff | lpr"... you get the stupid escape sequences written out on the hardcopy. I guess pg don't look at -T -- ======================================================================= #include =:^) Jim Jagielski NASA/GSFC, Code 711.1 jim@jagubox.gsfc.nasa.gov Greenbelt, MD 20771 "Kilimanjaro is a pretty tricky climb. Most of it's up, until you reach the very, very top, and then it tends to slope away rather sharply."