Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!ukc!edcastle!aiai!richard From: richard@aiai.ed.ac.uk (Richard Tobin) Newsgroups: comp.unix.questions Subject: Re: How does man know? Keywords: more, io redirection Message-ID: <953@skye.ed.ac.uk> Date: 29 Sep 89 10:24:38 GMT References: <319@massey.ac.nz> <11170@smoke.BRL.MIL> <592@crdos1.crd.ge.COM> <11182@smoke.BRL.MIL> Reply-To: richard@aiai.UUCP (Richard Tobin) Organization: AIAI, University of Edinburgh, Scotland Lines: 19 In article <11182@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn) writes: >No, it isn't. One can easily add pagination in those cases where it >is desired, but it's much more difficult to defeat wired-in pagination >in those cases where it isn't desired. In what way more difficult? If pagination is done when the output is a tty, then pagination can be defeated by piping through cat. This is just as easy as adding pagination by piping through more, and for man the paginating version is much the most common. However, I would advise people writing such "context sensitive" programs to provide a flag that ensures uniform behaviour. -- Richard -- Richard Tobin, JANET: R.Tobin@uk.ac.ed AI Applications Institute, ARPA: R.Tobin%uk.ac.ed@nsfnet-relay.ac.uk Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin