emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug with tmux/screen and special characters


From: Stefan Monnier
Subject: Re: Bug with tmux/screen and special characters
Date: Tue, 27 May 2014 08:47:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> I've found that if I run emacs 24.3.1 under tmux or GNU screen, and
> add this snippet to my .emacs:
> (global-set-key (kbd "M-[") 'hide-subtree)
> (global-set-key (kbd "M-]") 'show-subtree)

M-[ in text-terminals is sent to Emacs as "ESC [".

> then I receive trouble with such keys: Home, End, PgUp, PgDown, F1-F12 .

These keys are sent by the text terminal as escape sequences that start
with "ESC [".


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]