3 ms·
The default escape character ~ does not work if the tilde key in your keyboard layout is a dead key [1], like it is in many European layouts. It can be changed
by Sharlin 13y ago
The default escape character ~ does not work if the tilde key in your keyboard layout is a dead key [1], like it is in many European layouts. It can be changed via the EscapeChar config option or the -e command line parameter. It seems, though, that not just any old character is accepted - I tried to use §, which, in the Finnish layout, is in the same physical position as ~ is in the US version, but ssh complains about "bad escape character".
EDIT - I suppose it must be an ASCII character, which is not an entirely unreasonable requirement.
[1] http://en.wikipedia.org/wiki/Dead_key http://en.wikipedia.org/wiki/Dead_key
- lzm 13y agoThis must be why mosh's escape sequence never worked for me (ctrl-^ or ctrl-^.)
- hansjorg 13y agoSeems to be fixed (to use the same as SSH): https://github.com/keithw/mosh/issues/215 https://github.com/keithw/mosh/issues/215
- cpa 13y agoI use a french mac layout and it works well. But you have to type ~ then press space, then press shift+; (because shift+; is .)
- cnvogel 13y agoIt works, you'll just have to type <tilde> <space> .
- Sharlin 13y agoWeird - I did try that before writing the comment and it didn't work. May depend on the terminal or something.
- rlvesco7 13y agoYou can change what the default escape character is in the ssh config file.