marek jedlinski <[EMAIL PROTECTED]> wrote:
>
> UpArrow:      ^[[A    Ctrl-UpArrow:   ^[~
> DnArrow:      ^[[B    Ctrl-DnArrow:   ^[~

That's odd, I wonder why you get the same sequence?

I started playing with this in Xterm, and it turns out that the
Ctrl-Arrow sequences are merely the default.  You can override what
string is produced by that key sequence (or in fact, ANY key sequence)
using X resources.  Here's an example:

    XTerm.vt100.translations:       #override \
        Ctrl<Key>Up: string("\033]A") \n\
        Ctrl<Key>Down: string("\033]B")

With this in place, Up/Down arrow produce the key sequence ^[[A and
^[[B, while Ctrl-Up/Down process ^[]A and ^[]B.  Change to suit your
needs.  :)

This of course leads directly to the difficulty someone else pointed
out, that Mutt doesn't understand what \C<Up> is supposed to mean, but
you can work around that by storing the chosen escape-sequence directly,
since you're making it up anyway.  :)

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Convex Division  |    PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44

Reply via email to