K 10 svn:author V 5 brian K 8 svn:date V 27 1997-09-21T20:27:46.000000Z K 7 svn:log V 471 MFC: It turns out that the following: close(1); close(2); x = open(ctermid(NULL), O_RDWR|O_NONBLOCK); close(0) on a tty causes select() to return an exception for descriptor x ! This is the case in RELENG_2_2, but not in 2.2.2. I'm not sure why. Instead of doing the x=open() and close(0), we just do x=0 now. Problem pointed out by: Greg Lehey Tomi Vainio END