Hi all!
The call to tty_setctty in server.c is too late in the code...
In make_pty there is in[0]=pty->slave, so if we close(in[0]) prior to
calling tty_setctty(pty->slave) then we'll get a errno=9 (bad file
handler).
BTW is somebody working on tty_encode_term_mode out there? Or may I start it?
(First for POSIX systems (with termios)).

Greets,
Keresztg

+ Keresztfalvi Gabor
+ Student of Technical University of Budapest
+ mailto: [EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
+ http://www.piar.hu/~keresztg/   Pubkey: finger [EMAIL PROTECTED]

Reply via email to