Mail Archives: cygwin/1998/06/20/02:50:16
In article <Pine DOT GSO DOT 3 DOT 96 DOT 980618222044 DOT 6585A-100000 DOT cygnus DOT gnu-win32 AT dilbert>,
Benoit Papillault <papilla AT cs DOT tamu DOT edu> wrote:
>On Thu, 18 Jun 1998, Jonathan Storey wrote:
>> I know there are some strange and hidden behaviours of connecting
>> stdin/stdout
>> with regards to sockets under Windows etc., but I presume other people are
>> already successfully using this software in it's present form.
>
>I am doing myself a telnetd and some problems like that appears to, but as
>I have done the code, I know that I have no obvious solution. First
>telnetd acts as a "proxy":
>-every character send to telnetd is sent to the shell created by telnetd
>-every character send by the shell is sent to the telnet client.
>
>To have a working shell, I use: bash -i
>The problem is that many programs don't handle echo themselves. But
>normally (under Unix for example), the echo is done by the terminal. This
>is also true in Windows Console. But here, I have no such "tty" layer. And
>no way for a program running under my telnetd to say if he waants an echo
>or not.
>
>I see no way to solve this problem in a proper manner. But, perhaps we can
>use the TELNET option from the client to modify the behavior of the
>telnetd server.
>
>If someone has a real telnetd (let's say, you can use the Windows ftp
>program under it), please tell us.
Sergey's port of telnetd works exactly like the UNIX telnetd.
The key thing is to follow the directions on his web page *exactly*.
Also, check the archives for answers to other questions that may crop up.
--
cgf AT cygnus DOT com "Everything has a boolean value, if you stand
http://www.cygnus.com/ far enough away from it." -- Galena Alyson Canada
- Raw text -