home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!sgiblab!sgigate!odin!twilight!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Subject: Re: tty width
- Message-ID: <pmdmk08@zuni.esd.sgi.com>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- References: <1992Sep10.100609@masg6.epfl.ch>
- Date: Thu, 10 Sep 92 19:51:03 GMT
- Lines: 15
-
- In <1992Sep10.100609@masg6.epfl.ch> posse@masg6.epfl.ch (Christian Posse) writes:
- | I would like to know if it is possible to determine the
- | width of a window in order to control outputs like the
- | command ls -C does for multiple columns output.
- | I have heard that on Sun (?) the `stty size` gives this result.
- | But what about SGI ?
- |
- | I must say that the description of ls -C in the man did not
- | help me.
-
- TIOCGWINSZ from sys/termio.h; see 'man termio'.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-