Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!sgi!vjs@rhyolite.wpd.sgi.com From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver) Newsgroups: comp.sys.sgi Subject: Re: Screen width in characters in wsh Summary: ioctl(TIOCGWINSZ) Message-ID: <97838@sgi.sgi.com> Date: 17 Apr 91 03:07:59 GMT References: <9104162315.AA12854@karron.med.nyu.edu> Sender: guest@sgi.sgi.com Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 9 In article <9104162315.AA12854@karron.med.nyu.edu>, Dan Karron@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@sgi.com