[Top][All Lists]

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

Re: [Nano-devel] ah, here we are again: Ctrl+Left and Ctrl+Right [patch

From: Benno Schulenberg
Subject: Re: [Nano-devel] ah, here we are again: Ctrl+Left and Ctrl+Right [patch]
Date: Tue, 24 Jun 2014 21:38:12 +0200

On Mon, Jun 23, 2014, at 18:28, Benno Schulenberg wrote:
> So, I made the attached patch.  For CONTROL_LEFT and CONTROL_RIGHT
> I chose values that are way beyond KEY_MAX of ncurses, which is 0777
> octal, or 511 decimal, if I'm not mistaken.  Ideally these key codes
> should propagate further into nano, to even allow the user to rebind
> them, but for now a simple solution will have to do.

Pfff...  Today I tried this on another machine, which has elemetary OS
Luna installed.  And there... it don't work.  It turns out that its
virtual terminal, pantheon-terminal, generates the codes 539 and 554
for Ctrl-Left and Ctrl-Right.  Pfff!  How many different terminals are
there!?  Adapting the patch for this, it works fine.

Trying Pico... it works already on that terminal.


-- - Accessible with your email software
                          or over the web

reply via email to

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