Path: utzoo!attcan!uunet!husc6!mailrus!ncar!boulder!spot!wu From: wu@spot.Colorado.EDU (WU SHI-KUEI) Newsgroups: comp.unix.questions Subject: Re: Paging wide ( > 80 char/line) files Message-ID: <4470@boulder.Colorado.EDU> Date: 5 Nov 88 18:35:47 GMT References: <585@wc11.idca.tds.philips.nl> <298@kl-cs.UUCP> Sender: news@boulder.Colorado.EDU Reply-To: wu@spot.Colorado.EDU (WU SHI-KUEI) Organization: University of Colorado, Boulder Lines: 19 In article <298@kl-cs.UUCP> jonathan@cs.keele.ac.uk (Jonathan Knight) writes: >From article <585@wc11.idca.tds.philips.nl>, by ekkel@idca.tds.PHILIPS.nl (Erik Ekkel): >> My Informix 4GL application generates reports with more then 80 char/line. >> Does somebody know a paging mechanism to show this reports on a normal >> screen ??? I would like to use some horizontal scrolling features. If your terminal supports 132 characters per line, you can take advantage of the fact that 'pg' reads the environment variable COLS that can be set in a shell script. E.g.: COLS=132 export COLS echo "what-ever-magic-to-set-terminal-132-col-mode" pg $* echo "what-ever-magic-to-set-terminal-80-col-mode" Juset a guest here. In real life: Carl Brandauer uunet!nbires!bdaemon!carl