Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!cs.utexas.edu!uunet!mcsun!ukc!icdoc!qmw-cs!liam From: liam@cs.qmw.ac.uk (William Roberts;) Newsgroups: comp.unix.aux Subject: Re: less vs man under a/ux Message-ID: <2833@redstar.cs.qmw.ac.uk> Date: 10 Jan 91 10:27:47 GMT References: <1991Jan9.083632.11854@panix.uucp> Sender: usenet@cs.qmw.ac.uk Lines: 33 Nntp-Posting-Host: whitesand In <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. Edit the /usr/bin/man script so that it does mypager="$PAGER" rather than mypager="ul | $PAGER" and the escape sequence junk will go away. I'd also recommend using different LESS options under A/UX commandshell windows: in particular if you use scrolling rather than "clear screen" or "overwrite" then you will be able to scroll backwards through the manual page using the CommandShell scrollbars, rather than having to use less to do it. We are using less version 48, and define LESS=mqewh20. Personally I don't like the attempt to do bold headings and so I don't have PAGER defined, but it does work properly as described above. -- William Roberts ARPA: liam@cs.qmw.ac.uk Queen Mary & Westfield College UUCP: liam@qmw-cs.UUCP Mile End Road AppleLink: UK0087 LONDON, E1 4NS, UK Tel: 071-975 5250 (Fax: 081-980 6533)