Xref: utzoo comp.unix.questions:28324 comp.unix.wizards:23923 comp.unix.internals:1917 Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cme!cam!coleman From: coleman@cam.nist.gov (Sean Sheridan Coleman X5672) Newsgroups: comp.unix.questions,comp.unix.wizards,comp.unix.internals Subject: opening tty devices with getty attached Message-ID: <6853@alpha.cam.nist.gov> Date: 29 Jan 91 06:50:26 GMT Organization: National Institute of Standards & Technology, Gaithersburg, MD Lines: 27 I want to first thank Guy Harris for all of his help he has given me concerning these tty devices. I need just a little bit more info ( I hope) to figure all of this out. The manual states that open will block when opening a device that is a communication device with no carrier. I confirmed that this works. It also states that when O_NDELAY is set, the open will not block. I also confirmed this. QUESTION: Does the open suppose to succeed? My open did with no carrier and O_NDELAY. Now for the confusion. With login ( ie getty engaged) turned on` in /etc/ttytab, the open will block with O_NDELAY set. Reading through the man pages for the zs devices, I got the idea it was suppose to, but I want some confirmation because the man pages are not clear about this point. If it is suppose to hang, has getty done something to make this happen? Thanks Sean Coleman coleman@bldrdoc.gov