opening tty devices with getty attached

Y. Rock Lee rock at cbnews.att.com
Wed Feb 6 01:38:33 AEST 1991


In article <6853 at alpha.cam.nist.gov> coleman at cam.nist.gov (Sean Sheridan Coleman X5672) writes:
>
>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?

Yes, it is supposed to hang because the standard line discipline
used by the character tty driver doesn't support O_NDELAY.
On the other hand, O_NDELAY is supported by the streamhead in SVR4.


Y. Rock Lee, att!cblph!rock
             rock at cblph.ATT.COM



More information about the Comp.unix.internals mailing list