TIOCCONS - Both Ways?

Curtis Yarvin cgy at cs.brown.edu
Thu Nov 29 02:52:44 AEST 1990


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



More information about the Comp.unix.programmer mailing list