Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!husc6!rice!sun-spots-request From: moldev!geo@uunet.uu.net (George Pontis) Newsgroups: comp.sys.sun Subject: /dev/tty weirdness Message-ID: <169@mdcb.UUCP> Date: 23 Feb 89 05:40:02 GMT Sender: usenet@rice.edu Organization: Molecular Devices Corp., Menlo Park, CA. Lines: 9 Approved: Sun-Spots@rice.edu Original-Date: 16 Feb 89 21:44:49 GMT X-Sun-Spots-Digest: Volume 7, Issue 167, message 5 of 15 How come any attempt to open /dev/tty ( as O_RDWR ) fails with the error "No such device or address". The system does have a character device named tty with major 2, minor 0, and rw permission for all. SunOS 4.0 / 3-60s and 3-50s. [[ Perhaps the process doing the open has no control terminal? Is it a "daemon" or are you running it straight from a shell? Does "cat file >/dev/tty" work? --wnl ]]