- 论坛徽章:
- 15
|
需要在cygwin下安装 inetutils 包
*************************************
Telnet on Cygwin
Getting telnet to run under Cygwin is straightforward, although the setup is not obvious. Typically, typing telnet from a Cygwin session does nothing. This is because the Microsoft telnet client is found and executed, and it doesn’t work under Cygwin.
$ which telnet
/cygdrive/c/WINDOWS/system32/telnet
The solution is to install the telnet client for Cygwin. Telnet isn’t shown in the Cygwin Setup package list, but it’s part of the inetutils package (in category Net). Once inetutils has been installed, the only remaining step is to ensure that the location of the Cygwin telnet (e.g. /usr/bin) comes before that of the Microsoft telnet in your Cygwin session’s PATH variable.
$ which telnet
/usr/bin/telnet
$ telnet --version
telnet (GNU inetutils) 1.3.2
That's better. |
|