Less misbehaves when used for "man" pager...
Jean-Pierre Radley
jpr at jpradley.jpr.com
Tue Apr 30 12:43:47 AEST 1991
In article <1991Apr24.073552.26561 at cynic.wimsey.bc.ca> curt at cynic.wimsey.bc.ca (Curt Sampson) writes:
>In article <30370 at cs.yale.edu>
> fields-doug at CS.YALE.EDU (Doug Fields) writes:
>
>> I edit the /etc/default/man so that it uses less for the pager instead
>> of pg, and you try to read a un-formatted man page (I installed the TPS
>> from Xenix on my Unix), less will spew out a ton of warnings about things
>> the terminal can't do, such as scroll backwards, etc.
>
>This is not a problem with less. The SCO 'man' command is rather
>broken. If you substitute more for less, you will notice that more
>will not do the underlining that it normally does if man has to
>run the formatter on the page.
>
>I've been meaning to write a shell script to replace man for quite a
>while, but haven't gotten around to it. There's probably one out
>there already, anyway. Anybody care to give me a pointer to it? (If
>there isn't, I'll probably get on it sooner.)
It's been done. Chip Rosenthal posted 'yaman', or 'myman', a couple of years
ago.
It isn't too long, so I can email to anyone who wishes.
Jean-Pierre Radley Unix in NYC jpr at jpr.com jpradley!jpr CIS: 72160,1341
More information about the Comp.unix.sysv386
mailing list