Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: key binding not working
- X-seq: zsh-users 28132
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: key binding not working
- Date: Sun, 25 Sep 2022 15:46:36 -0700
- Archived-at: <https://zsh.org/users/28132>
- In-reply-to: <CAH+w=7bnBpaDWnMoH6AAtTYTC=gg2T86q+qegBhhVnKQWLyQMg@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <4934fe9f-6c6f-2fd9-038c-7e1b84c50dcc@eastlink.ca> <CAH+w=7bnBpaDWnMoH6AAtTYTC=gg2T86q+qegBhhVnKQWLyQMg@mail.gmail.com>
On 2022-09-25 15:31, Bart Schaefer wrote:
Type ctrl-v and then press up arrow, I'll bet you don't see ^[[A (and
if you do, there's something more insidious going on, such as your
setting of $KEYTIMEOUT)
I get: " ^[OA " but the " ^[ " is highlighted -- black text on white
background.
$ echo $KEYTIMEOUT
40
To be more thorough, run
autoload -Uz zkbd
zkbd
Here's what I get:
0 /root/.config/geany/colorschemes 0 $ zkbd
Enter current terminal type: [xterm-256color]
We will now test some features of your keyboard and terminal.
If you do not press the requested keys within 10 seconds, key reading will
abort. If your keyboard does not have a requested key, press Space to
skip to the next key.
Hold down Ctrl and press X: ^X
Your Meta key may have a Microsoft Windows logo on the cap.
Hold down Meta and press X: x
Your keyboard or terminal does not recognize the Meta key.
Hold down Alt and press X: ^[x#
0 /root/.config/geany/colorschemes 0 $ 3:44PM Sun 25
execute: _
(If anyone tries this and sees something wrong or incomplete with the
explanatory output, please let us know.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author