nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] input: allow using <Tab> and <Shift+Tab> to (un


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] input: allow using <Tab> and <Shift+Tab> to (un)ind
Date: Mon, 11 Dec 2017 20:04:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0


Op 10-12-17 om 23:37 schreef David Ramsey:
I like this feature, but there are two issues with the patch.  With it
applied:

1. Compiling with --with-slang fails, because S-Lang doesn't define KEY_BTAB.

Yes, I suspected something like that.  :)  Locally I've now guarded the
two occurrences with #ifdefs.

2. If you run nano with the --rebindkeypad option, pressing Shift-Tab generates the escape sequence Esc [ Z under the Linux console (and some X
terminals as well).  However, convert_sequence() interprets that as F14, based
on the FreeBSD console.  (Some quick googling shows that it's changed now, and
Esc [ Z is Back-Tab [Shift-Tab] on the FreeBSD console according to its
terminfo(5) manual page.)

URL?  You're saying that nano on modern FreeBSDs is misinterpreting
"Esc [ Z" as F14?  And it should be in fact a backtab?

If Shift-Tab is more important to support than F14 is, it could be changed;
should it?

Certainly it should.  A Shift-Tab should not start a replacing session.

Benno



reply via email to

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