cygwinでtelnetコマンドを叩くと、どうも挙動が変なので、調べてみたところ、cygwinのデフォルトインストールにtelnetは含まれていないようです。
そのことを知らずに cygwinでtelnetを実行すると、windowsのtelnetが呼ばれてしまいます。
bash-3.2$ which telnet /cygdrive/c/WINDOWS/system32/telnet bash-3.2$
cygwinでtelentもインストールする場合、インストールウィザードの「Select Packages」で、「inetutils」を選択するだけです。
$ telnet www.google.co.jp 80 Trying 66.249.89.147... Connected to www.google.co.jp. Escape character is '^]'. GET / HTTP/1.0 HTTP/1.0 302 Found Location: http://www.google.co.jp/ Cache-Control: private Content-Type: text/html; charset=UTF-8 Set-Cookie: PREF=ID=9c7fbaf02fe4f036:<略>; domain=.google.com Date: Mon, 08 Sep 2008 03:59:09 GMT Server: gws Content-Length: 221 Connection: Close <HTML><HEAD><meta http-equiv="content-type" <略>> <TITLE>302 Moved</TITLE></HEAD><BODY> <H1>302 Moved</H1> The document has moved <A HREF="http://www.google.co.jp/">here</A>. </BODY></HTML> Connection closed by foreign host.