[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: |
David Ramsey |
Subject: |
Re: [Nano-devel] [PATCH] input: allow using <Tab> and <Shift+Tab> to (un |
Date: |
Mon, 11 Dec 2017 20:28:55 -0600 |
Benno Schulenberg:
> Yes, I suspected something like that. :) Locally I've now guarded the
> two occurrences with #ifdefs.
Good to know.
<snip>
> URL? You're saying that nano on modern FreeBSDs is misinterpreting
> "Esc [ Z" as F14? And it should be in fact a backtab?
Go here:
https://www.freebsd.org/cgi/man.cgi?query=terminfo&sektion=5
and search for "kcbt". The second instance of "kcbt" explicitly
defines it as "\E[Z". At the time the code was written, this was not
the case. So, to both your questions, yes.
<snip>
> Certainly it should. A Shift-Tab should not start a replacing
> session.
Okay. I'd do this myself, but I'm not sure how it'd line up with your
local changes to avoid the S-Lang compilation problem, since key
values aren't #ifdefed out anywhere in convert_sequence(). You'd
probably have to add another fake key value (SHIFT_TAB) to nano.h,
reading kcbt from the console the way you do other unusual sequences
like Ctrl-Up.
- Re: [Nano-devel] [PATCH] input: allow using <Tab> and <Shift+Tab> to (un,
David Ramsey <=