Screen width in characters in wsh
Mark Callow
msc at ramoth.esd.sgi.com
Fri Apr 19 04:31:09 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 ? I want to avoid unneeded
|> line wraps if the user pulls open his window.
|>
Use curses (libcurses.a that is) or the BSD style ioctl TIOCGWINSZ.
--
>From the TARDIS of Mark Callow
msc at ramoth.sgi.com, ...{ames,decwrl}!sgi!msc
"Spirits of genius are always opposed by mediocre minds" - Albert Einstein
More information about the Comp.sys.sgi
mailing list