telnet escape for non-US keyboard on OS X

The default ^] telnet escape sequence is not doable on my swiss-french Macbook Pro keyboard (or at least I didn’t found how).

I defined another escape sequence by adding this to ~/.telnetrc :

# Escape sequence is <CTRL><ESC>
default
   set escape ^[

In vi, to add the code, use

<CTRL><V><CTRL><ESC>

Now, <CTRL><ESC> does the job.

Comments 1

  1. sailor wrote:

    CTRL-ESC was a bad idea : the “Up” arrow generate this code. Let’s try with CTRL-A.

    Posted 04 Mar 2009 at 14:24

Post a Comment

Your email is never published nor shared. Required fields are marked *

Switch to our mobile site