commit | f2c1be22f2f60aafa4ccef1e1a2e0a555f4e6a1a | [log] [tgz] |
---|---|---|
author | Thomas Wouters <thomas@python.org> | Tue Oct 03 16:51:08 2000 +0000 |
committer | Thomas Wouters <thomas@python.org> | Tue Oct 03 16:51:08 2000 +0000 |
tree | 40e1eb8ba427be18bd96d9f00a5fa77b972cb860 | |
parent | 13589c6a52d2d142f064aff91a9b0ee166c57255 [diff] |
On some systems (like Solaris), the master end of a tty/pty pair is apparently not considered a terminal, and so isatty(3) returns false. So we skip the test for ttyness of the master side and just check the slave side, which should really be a terminal.