Screen width in characters in wsh

Vernon Schryver vjs at rhyolite.wpd.sgi.com
Wed Apr 17 13:07:59 AEST 1991


In article <9104162315.AA12854 at karron.med.nyu.edu>, Dan Karron at UCBVAX.BERKELEY.EDU writes:
> What is the stdandard practice to find out how many characters
> wide is the wsh window from inside an application ?

Many standard programs use the BSD style termio(7) ioctl(TIOCGWINSZ).
See also /usr/include/sys/termio.h


Vernon Schryver,   vjs at sgi.com



More information about the Comp.sys.sgi mailing list