get the terminal's size
>>I tried : P = Popen(['stty', '-a'], stdout=subprocess.PIPE,
>>universal_newlines=True) and it runs fine too, so the output seems not
>>really related to that fd.
> But it is! stty(1) fetches the terminal settings from its standard
> input, so "fd" is used to supply this. In your Popen test case you
> simply don't set the stdin parameter, so it is the Python process'
> input. Which is usually what you want.
> But I want to be able to ask this
> of any terminal file, thus the parameter.
Ah, Ok; smthlike:
It runs :)
I do not need that today but one day orother it could help.