Subject: bug#33513: 26.1; emacsclient forgetting keybinds set by tty-setup-hook

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 26 Nov 2020 13:22:42 +0100

Hadrien Lacour <[email-masked]> writes:

> (define-key input-decode-map "^[[1;5A" [C-up])

[...]

> I get the keybinds I want when using emacs -nw with st, but when using
> emacs --daemon and emacsclient, these work only the first time:
> $ emacs --daemon
> $ emacsclient -nw myfile # no problem, close with C-x C-c
> $ emacsclient -nw myfile # from here, tty frames don't remember the bindings

(This bug report unfortunately got no response at the time.)

What key stroke is "^[[1;5A" (etc) representing?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no