How to get terminal width?

Martin P Holland newsbunny at noether.freeserve.co.uk
Wed May 3 15:05:11 EDT 2000


On 3 May 2000 16:46:56 GMT,
Donn Cave <donn at u.washington.edu> wrote:

>think of on UNIX is to read the output of "stty -a", where the first line
>usually reports these values.  Empirically, I find that it always uses the

stty size

just gives the rows and columns here (linux) but may be this is not
standard.

atb

Martin

-- 
http://www.noether.freeserve.co.uk
http://www.kppp-archive.freeserve.co.uk



More information about the Python-list mailing list