Paging wide ( > 80 char/line) files

Jonathan Knight jonathan at cs.keele.ac.uk
Fri Nov 4 05:07:51 AEST 1988


>From article <585 at wc11.idca.tds.philips.nl>, by ekkel at 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.
> 
> p.s. the standard SysV pager "pg" does cut the lines, but this user interface
>      is what i prefer (also reading from stdin !)

I too had trouble with an 80 char screen when I wanted one much wider.  As
I was using a VT100 I could use the 132 column feature.  I have a shell
script which tries to find a wider terminal definition in the termcap
database and if successful will switch a terminal to the wider version
and execute a command.  Ideal for using vi on long lined programs, or
'more' for wide listings.
-- 
  _____      Jonathan Knight,                || JANET: jonathan at uk.ac.keele.cs
    /        Department of Computer Science  || UUCP:  ...!ukc!kl-cs!jonathan
   / _   __  University of Keele, Keele,     |+-------------------------------
(_/ (_) / /  Staffordshire.  ST5 5BG.   U.K. ||      If in doubt, panic!



More information about the Comp.unix.questions mailing list