🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11111

/dev/tty weirdness

#11111
From: George Pontis
Date: Thu, 23 Feb 1989 05:40
9 lines
878 bytes
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 ]]
Technical Details
Message-ID: <169@mdcb.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!husc6!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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