-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday, February 17 at 09:37 AM, quoth Sven Hergenhahn:
>Hi Kyle,
>
>Kyle Wheeler schrieb:
>> On Monday, February 16 at 02:31 PM, quoth Sven Hergenhahn:
>>> I'm trying to bind control-up and control-down.
>>
>> the way to find out if mutt can see those characters is to use
>> the <what-key> function
>
>Thanks. Tried that and it returned
>
>Char = A, Oktal = 101, Dezimal = 65
Interesting.
One of the common key sequences generated by the "up" key is ^[[A (in
other words, escape-leftbracket-A). It almost looks like what-key saw
only the last part of that.
What do you get in a shell if you type control-V then control-up?
On my system, I get: ^[[1;5A
So, on my system, the way to bind that to something in mutt would be:
bind index <esc>[1;5A previous-entry
Since that key sequence doesn't have a name in the termcap, the
what-key function treats its components individually (it just showed
you the last letter: A).
>Seems this is not possible, at least not in screen.
Oh, in SCREEN? You didn't mention that before. That's probably going
to make it a bit unreliable.
~Kyle
- --
If I were you, I'd run!
- -- Mesh-Head
If you were me, you'd be good-looking.
- -- the Six-String Samurai
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkma7PAACgkQBkIOoMqOI14GOACgl+r+6d32xHS19uC/ecptEa2P
uR8AoNgNVhI/WNBNbcnsBXpHj0/5EWSm
=KmYA
-----END PGP SIGNATURE-----