K 10 svn:author V 5 markj K 8 svn:date V 27 2020-08-11T14:19:05.813202Z K 7 svn:log V 428 script: Minor cleanups. - Instead of using isatty() to decide whether to call tcgetattr(), just call tcgetattr() directly, since that's all that isatty() does anyway. - Simplify error handling in termset(). Check for errno != ENOTTY from tcgetattr() to handle errors that may be raised while running script(1) under a debugger. PR: 248377 Submitted by: Soumendra Ganguly MFC after: 1 week END