home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13495 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.1 KB  |  27 lines

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