Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!mcvax!ukc!its63b!adam From: adam@its63b.ed.ac.uk (ERCF02 Adam Hamilton) Newsgroups: comp.arch Subject: Re: A novel compromise between simple and complex commands Message-ID: <682@its63b.ed.ac.uk> Date: Tue, 13-Oct-87 05:31:09 EDT Article-I.D.: its63b.682 Posted: Tue Oct 13 05:31:09 1987 Date-Received: Thu, 15-Oct-87 20:11:58 EDT References: <573@elxsi.UUCP> Reply-To: adam@its63b.ed.ac.uk (ERCF02 Adam Hamilton) Organization: I.T. School, Univ. of Edinburgh, U.K. Lines: 19 Keywords: output pagination In article <573@elxsi.UUCP> rw@beatnix.UUCP (Russell Williams) writes: > > We had all been annoyed by the problem of running a program only to >have the output zoom off the screen, requiring us to re-run the program >piped into the "list" command. > > The solution we came up with was to implement the "pg" or "more" func- >tionality in the putline/printf routines. > > The pagination routines support commands to search forward and backward by >page numbers or patterns, or to write all the output which has appeared so far >to another file. > Several years ago when I first met UNIX, the UKUUG distribution had a terminal driver which did the paging function. (I.e. no more than a screenful of output without some terminal input, like a space). This seems an even better place to put it as programs don't need to do anything! However, you don't get the search and file output facilities.