Less misbehaves when used for "man" pager...

Curt Sampson curt at cynic.wimsey.bc.ca
Wed Apr 24 17:35:52 AEST 1991


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.)

cjs
-- 
Curt Sampson            | "It is actually a feature of UUCP that the map of
curt at cynic.uucp         | all systems in the network is not known anywhere."
curt at cynic.wimsey.bc.ca |    --Berkeley Mail Reference Manual (Kurt Schoens)



More information about the Comp.unix.sysv386 mailing list