On Tue, Nov 10, 2015, at 20:10, Arturo Borrero Gonzalez wrote:
> What are your plans for this bug?

I was still waiting for your answer to this question:

>>And when you start an xterm, and run there an unpatched nano,
>>do Ctrl-Left/Right work there?

I mean the program 'xterm', which opens an ugly terminal window.


> are you reporting upstream or something?

I am the current upstream maintainer.  :)


> Might I expect a fix?

Probably yes.  But there is a problem.  Your xfce4-terminal generates
for Ctrl-Right the same code as the pantheon-terminal for Ctrl-Down.
So, when I accept this patch into nano, it would mean that on a
pantheon-terminal both Ctrl-Right and Ctrl-Down do a 'nextword'.
That's a bit weird.  But more importantly, it would mean that I
then can't give new meanings to Ctrl-Up and Ctrl-Down (which
currently don't do anything special, just the same as Up and Down.

Also, I've tried this on an old KDE Konsole, and that terminal
produces 0x203 and 0x205 for Ctrl-Left and Ctrl-Right -- still
other codes.  Do all terminals produce different codes?  I have
to find out first.  And I need to understand where these codes
come from.  I haven't been able to find them in the source of
xfce4-terminal nor of pantheon-terminal.  Nor are the defined
anywhere in ncurses.  So... do I simply have to try all kinds
of terminals and add all those codes to nano?  Puzzles...

For now you can use your patched nano, no?

Benno

-- 
http://www.fastmail.com - Or how I learned to stop worrying and
                          love email again

Reply via email to