On 2014-05-21 18:04 +0000, siebz0r wrote:
> To reproduce:
> echo '\x0e'
> Then try to type something, the characters will be garbled (well
> actually their different characters).
AFAIK this is working as intended. You are enabling the alternate
character set. In tmux/bash you can disable this via "echo $'\x0f'" or
issue a cat, press ^o then ^d.
> I have successfully reproduced this with zsh and bash. Without tmux
> this doesn't happen.
The reason you see it only in tmux is that screen/tmux enters this state
on ^n:
$ infocmp screen | grep smacs
sgr0=\E[m\017, smacs=^N, smcup=\E[?1049h, smir=\E[4h,
while xterm's sequence is a bit more complicated, less likely to hit
accidentally:
$ infocmp xterm | grep smacs
sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
If you are interested, you can find more info about this in [1].
[1] http://www.in-ulm.de/~mascheck/various/alternate_charset/
--
Balazs
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
tmux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-users