How to get terminal width?

Greg Ewing greg at cosc.canterbury.ac.nz
Thu May 4 22:20:37 EDT 2000


Donn Cave wrote:
> 
> | stty size
> |
> It looks pretty good to me!  Ultrix 4.2, Digital UNIX 4.0, AIX 4.2,
> HP/UX 10.20, FreeBSD 4.0, 2 versions of Linux and BeOS 4.5 pass

Solaris too - just tried it.

-- 
Greg Ewing, Computer Science Dept,
+--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+



More information about the Python-list mailing list