Path: utzoo!utgpu!watserv1!watmath!att!att!linac!uwm.edu!cs.utexas.edu!uunet!brunix!cgy From: cgy@cs.brown.edu (Curtis Yarvin) Newsgroups: comp.unix.programmer Subject: TIOCCONS - Both Ways? Message-ID: <57787@brunix.UUCP> Date: 28 Nov 90 15:52:44 GMT Sender: news@brunix.UUCP Reply-To: cgy@cs.brown.edu (Curtis Yarvin) Organization: Yoyodyne Propulsion Systems, Inc. Lines: 8 The TIOCCONS ioctl on Suns can be used to set up a pty as /dev/console. But is there any way to figure out what pty already has the console? Curtis "I tried living in the real world Instead of a shell But I was bored before I even began." - The Smiths