nano-devel
[Top][All Lists]
Advanced

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

Alt+Home and Alt+End not recognized on urxvt


From: Benno Schulenberg
Subject: Alt+Home and Alt+End not recognized on urxvt
Date: Mon, 6 May 2024 16:54:56 +0200
User-agent: Mozilla Thunderbird


Hello Sébastien,

Here is the result:

Sequence of hex codes:  1b  5b  37  fe
Sequence of hex codes:  1b  5b  38  fe

Wow.  Weird non-ASCII 0xFE code.

After installing rxvt-unicode (and making a symlink for the
needed terminfo entry), running the same recipe here gives:

    Sequence of hex codes:  1b  1b  5b  37  7e
    Sequence of hex codes:  1b  1b  5b  38  7e

Double escapes.  Strange.  This is with urxvt v9.30.


Anyway, does applying the attached patch (with -p1) to nano-8.0
solve the issue for you?


Also, what terminal are you using

urxvt

Then maybe https://nano-editor.org/dist/latest/faq.html#4.2
needs to be extended with:

    URxvt.keysym.M-Home: \033[1;3H
    URxvt.keysym.M-End: \033[1;3F


and what is TERM set to?

rxvt-unicode-256color

My terminfo does not have a description for that terminal, only for
rxvt-256color.  Where does that rxvt-unicode-256color come from?


Benno

Attachment: recognize-two-escape-sequence-with-0xFE.patch
Description: Text Data

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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