How to send carriage return over telnet?

后端 未结 4 1992
独厮守ぢ
独厮守ぢ 2020-12-10 02:33

I am using Ubuntu telnet client. I am trying to send 2 lines over the telnet connection that I have made.

For example:

> telnet en.wikipedia.org 8         


        
4条回答
  •  我在风中等你
    2020-12-10 02:52

    You can set the crlf option in telnet. You can do this by, during your telnet session, typing the escape character (^]), and then "toggle crlf". A perhaps cleaner way is to specify this before making the connection:

    $ telnet
    telnet> toggle crlf
    Will send carriage returns as telnet .
    telnet> open mailhost smtp
    

提交回复
热议问题