From: sos AT buggy DOT prospect DOT com DOT ru (Sergey Okhapkin) Subject: RE: Compatibility function for cygwin and a telnet problem 15 Feb 1998 11:35:00 -0800 Message-ID: <01BD3A60.F41B8E80.cygnus.cygwin32.developers@sos> Reply-To: cygwin32-developers AT cygnus DOT com To: "'Christopher Faylor'" Cc: "'cygwin32-developers AT cygnus DOT com'" Christopher Faylor wrote: > Sergey, does login echo correctly for you when you telnet into an NT system? > Has anyone else noticed this problem? The scenario is the following: 1. Parent opens master side of pty. 2. Parent forks. 3. Child opens slave side of pty. With new Ian's algorhytm original ttyp->input_handle and output_handle are closed and the new ones are owned by child now. 4. WriteFile(ttyp->output_handle,...) in parent's doecho() fails because child's handles are unavailable for parent :-( Ian, do something, please... -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job