less vs man under a/ux
Ron Flax
ron at afsg.apple.com
Sat Jan 12 03:36:48 AEST 1991
In article <1991Jan9.083632.11854 at panix.uucp> wfp at panix.uucp (Bill Phillips) writes:
>
>I've been trying to get less working on this system, which runs a/ux, and
>it seems to work just fine with one exception: when designated as PAGER,
>and called from man, less displays escape sequences as "^[<whatever>",
>so you end up with a lot of garbage on the screen, and no highlighting,
>underlining or whatever. I've installed less on several systems and
>have never seen this bizarre behavior before.
What you want to do is modify the /usr/bin/man script, the problem is
that it calls /usr/bin/ul to do underlining before calling $PAGER, and
this causes behavoir that is incompatible with less.
Change the line that reads:
mypager="ul | $PAGER"
to
mypager="$PAGER -s "
--
Ron Flax
ron at afsg.apple.com
Apple Federal Systems Group
More information about the Comp.unix.aux
mailing list