Path: utzoo!attcan!uunet!samsung!usc!apple!afsg!ron From: ron@afsg.apple.com (Ron Flax) Newsgroups: comp.unix.aux Subject: Re: less vs man under a/ux Message-ID: <516@afsg.apple.com> Date: 11 Jan 91 16:36:48 GMT References: <1991Jan9.083632.11854@panix.uucp> Organization: Apple Federal Systems Group Lines: 22 In article <1991Jan9.083632.11854@panix.uucp> wfp@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 "^[", >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@afsg.apple.com Apple Federal Systems Group