Console column Width

Michael Hudson mwh21 at cam.ac.uk
Sun Mar 18 10:26:09 EST 2001


"Nathan Heagy" <gervaserules at yahoo.com> writes:

> Yes, this does work, except on MacOSX, which appears to not have
> TIOCGWINSZ in its TERMIOS module. Is this true for FreeBSD/other
> BSDs?

Does it have TIOCGSIZE?  I don't know anything about BSDs, but I do
know that ncurses tries to use that and then falls back to TIOCGWINSZ.

Cheers,
M.

-- 
  It could be argued that since Suitespot is infinitely terrible,
  that anything else, by very definition of being anything else,
  is infinitely superior.                -- ".", alt.sysadmin.recovery



More information about the Python-list mailing list