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