K 10 svn:author V 5 brian K 8 svn:date V 27 1999-01-10T01:26:30.000000Z K 7 svn:log V 333 Only call isatty() when we open our descriptor, and remember the answer. If we later get a descriptor exception from select(), we know that it's a tty (isatty() returns 0 after the exception on a tty) and remember to call modem_LogicalClose(). The upshot of it all is that descriptor exceptions dont leave the tty locked any more. END