TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The text adventure game of exiting a telnet session

11 pointsby Mojahover 5 years ago

2 comments

schoenover 5 years ago
I&#x27;d never thought about why telnet uses ^] as its default escape sequence, but I just formed a theory while looking at an ASCII chart.<p>The ASCII ESC character is 1B, or ^[ (which many vi users know if they have a keyboard without Esc, or prefer to use ^[ for ergonomic reasons).<p>Presumably telnet has an important requirement that you be able to use vi -- or other software where you&#x27;ll need to send ESC -- normally on the remote machine. If you&#x27;re on a system where you&#x27;re sending ^[ for ESC, what&#x27;s the natural similar-but-different alternative for a meta-escape? Presumably ^], which is right next to it on your keyboard and conceptually related. That&#x27;s the GS (&quot;group separator&quot;) character, which isn&#x27;t commonly used for anything on Unix.
proxybopover 5 years ago
Aha, poor guy! Never thought about what it&#x27;s like without an American keyboard!