Telnet: How do I un-escape?

4

I know that when connected via Telnet, I can hit Ctrl+] to escape. This brings me to the telnet command line interface. How do I get back to my telnet session?

I occasionally hit Ctrl+] by accident and would like to resume my work. I use telnet on all three major machines (MacOS, Windows, & Linux).

Note that I am not trying to quit telnet; I just want to resume my session.

Scott Biggs

Posted 2015-05-22T22:48:21.823

Reputation: 145

It could be a duplicate, but none of the suggested answers seem that simple... – Thomas Dickey – 2015-05-22T23:33:13.580

1How could anybody think that this question is a duplicate of that one?  They're complete opposites!  One is "How do I do *A* without doing *B*?", and the other is "How do I do *B* without doing *A*?". – Scott – 2015-06-14T05:30:34.900

Answers

9

Just press return, to leave the prompt and go back to your session.

Thomas Dickey

Posted 2015-05-22T22:48:21.823

Reputation: 6 891

Ahhgh! (hits head against screen) So simple! The prompt doesn't redisplay, so it looks like it's hung. But you are absolutely right. I knew there had to be some simple solution. Thanks! – Scott Biggs – 2015-05-25T14:05:23.807

It's something that I noticed a while back, when there was less documentation. I can see that it is documented, e.g., Microsoft: To return to the Telnet session, press ENTER.

– Thomas Dickey – 2015-05-25T20:29:38.647