Mail Archives: cygwin/1998/06/19/05:10:10
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.
Benoit Papillault
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -