Pyramid xterm (premature file closure?) bug
Bj|rn Gr|nvall
bg at draken.nada.kth.se
Fri Sep 8 00:45:20 AEST 1989
> Very interesting. It seems that /dev/tty doesn't like to be opened
> for read in general? This can't be the entirety of the problem,
> though, because /dev/tty works fine from a real terminal or a more
> ordinary pty running from telnet or rlogin, just not from inside an
> xterm window.
Well, /dev/tty opens for reading but it is the call to read that fails.
Shouldn't a file opened for reading be readable??
Maybe it is possible using some weird call to ioctl to put a file into
this mode (I don't know), but then the errorstatus should not be
"Bad file number" but rather something like "Illegal file mode". Also why
does this not happen on other BSD derived systems?
Bj|rn Gr|nvall (Bjorn Gronvall)
Royal Institute of Technology, NADA
100 44 Stockholm
Sweden
email: bg at nada.kth.se
phone: +46-8-7909101
--
/Bj|rn.
More information about the Comp.sys.pyramid
mailing list