nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] input: ignore any <Escape>s before a valid comm


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] input: ignore any <Escape>s before a valid command
Date: Thu, 12 Jul 2018 10:27:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Op 11-07-18 om 17:33 schreef David Ramsey:
> Benno Schulenberg:
>> Just like an <Esc> before a Ctrl+letter keystroke is ignored, an <Esc>
>> before an Alt+letter keystroke should be ignored too -- it should not
>> be interpreted as if the user had typed <Esc> <Esc> letter.
> 
> For the record, I've tested this a bit, and it seems good to me so far.

Thanks for testing.

> Some sequences still aren't handled optimally: if you're using
> Xfce-Terminal, and press Esc followed by Alt-Shift-<left arrow> or
> Ctrl-<left arrow>, you get an "Unbound key" message, but you also get
> those without this patch applied.

Hmm.  Doesn't happen here.  This is probably because you are running an
older version of ncurses -- before 5.9, I believe?  Or at least before
6.0.

I can reproduce it, though, when using the -K option.  But... is there
still anyone who needs/uses this option?


(Weirder is that when pressing Alt+PgUp or Alt+PgDn, nano will complain
about an "Unknown sequence" but will enter "3~" into the buffer.  Ouch.
Have reported this bug as https://savannah.gnu.org/bugs/?54291.)

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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