4 ms·
Netcat works as a telnet client. GAWK can do that too with a dumb loop. So can con(1) under 9front.
by anthk 9mo ago
Netcat works as a telnet client. GAWK can do that too with a dumb loop. So can con(1) under 9front.
- 1718627440 9mo agoUsing netcat results in showing Unicode replacement symbols, instead of answering to telnet options. I doubt it implements telnet at all, because this is just not its job.
- Twisol 9mo agoI agree in principle, but actually, according to the netcat website [0]: > If netcat is compiled with -DTELNET, the -t argument enables it to respond to telnet option negotiation [always in the negative, i.e. DONT or WONT]. This allows it to connect to a telnetd and get past the initial negotiation far enough to get a login prompt from the server. Since this feature has the potential to modify the data stream, it is not enabled by default. You have to understand why you might need this and turn on the #define yourself. [0]: https://nc110.sourceforge.io/ https://nc110.sourceforge.io/
- 1718627440 9mo agoSo it supports enough to tell others that it doesn't support it. That's more than I expected, but still don't serves me when I actually want to use telnet.