nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] input: erase the next word when Ctrl is held wh


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] input: erase the next word when Ctrl is held while pressing Delete
Date: Sun, 22 Jul 2018 10:02:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Op 21-07-18 om 23:58 schreef Marco Diego Aurélio Mesquita:
> On Sat, Jul 21, 2018 at 4:31 AM, Benno Schulenberg <address@hidden> wrote:
>> Marco, can you remove the #ifdef around the "hex codes" fragment
>> in winio.c, and report what keycode the <Delete> key and the
>> <Ctrl+Delete> combination produce on your Linux console?
> 
> On my raspberry pi, running Raspbian GNU/Linux 9.4 (stretch), and on a
> linux VT it erases one word with ctrl+delete and ctrl+keypad_delete
> (with and without -K).

You're not answering the question.  What hex codes does the <Delete> key
and the <Ctr+Delete> keystroke produce?

> Anyway, I can test it again on the x86 system by monday. Do you want
> to test it again on the x86?

Certainly.  And not just test, but also answer the question.

Further, paste the output of running the following command on a
Linux console:

  dumpkeys | grep " 14 = "

Here is mine:

keycode  14 = Delete
        control keycode  14 = BackSpace
        shift   control keycode  14 = BackSpace
        altgr   control keycode  14 = BackSpace
        shift   altgr   control keycode  14 = BackSpace
        alt     keycode  14 = Meta_Delete
        shift   alt     keycode  14 = Meta_Delete
        altgr   alt     keycode  14 = Meta_Delete
        shift   altgr   alt     keycode  14 = Meta_Delete
        control alt     keycode  14 = Meta_BackSpace
        shift   control alt     keycode  14 = Meta_BackSpace
        altgr   control alt     keycode  14 = Meta_BackSpace
        shift   altgr   control alt     keycode  14 = Meta_BackSpace
        control shiftl  keycode  14 = BackSpace
        shift   control shiftl  keycode  14 = BackSpace
        altgr   control shiftl  keycode  14 = BackSpace
        shift   altgr   control shiftl  keycode  14 = BackSpace
        alt     shiftl  keycode  14 = Meta_Delete
        shift   alt     shiftl  keycode  14 = Meta_Delete
        altgr   alt     shiftl  keycode  14 = Meta_Delete
        shift   altgr   alt     shiftl  keycode  14 = Meta_Delete
        control alt     shiftl  keycode  14 = Meta_BackSpace
        shift   control alt     shiftl  keycode  14 = Meta_BackSpace
        altgr   control alt     shiftl  keycode  14 = Meta_BackSpace
        shift   altgr   control alt     shiftl  keycode  14 = Meta_BackSpace
        control shiftr  keycode  14 = BackSpace
        shift   control shiftr  keycode  14 = BackSpace
        altgr   control shiftr  keycode  14 = BackSpace
        shift   altgr   control shiftr  keycode  14 = BackSpace
        alt     shiftr  keycode  14 = Meta_Delete
        shift   alt     shiftr  keycode  14 = Meta_Delete
        altgr   alt     shiftr  keycode  14 = Meta_Delete
        shift   altgr   alt     shiftr  keycode  14 = Meta_Delete
        control alt     shiftr  keycode  14 = Meta_BackSpace
        shift   control alt     shiftr  keycode  14 = Meta_BackSpace
        altgr   control alt     shiftr  keycode  14 = Meta_BackSpace
        shift   altgr   control alt     shiftr  keycode  14 = Meta_BackSpace
        control shiftl  shiftr  keycode  14 = BackSpace
        shift   control shiftl  shiftr  keycode  14 = BackSpace
        altgr   control shiftl  shiftr  keycode  14 = BackSpace
        shift   altgr   control shiftl  shiftr  keycode  14 = BackSpace
        alt     shiftl  shiftr  keycode  14 = Meta_Delete
        shift   alt     shiftl  shiftr  keycode  14 = Meta_Delete
        altgr   alt     shiftl  shiftr  keycode  14 = Meta_Delete
        shift   altgr   alt     shiftl  shiftr  keycode  14 = Meta_Delete
        control alt     shiftl  shiftr  keycode  14 = Meta_BackSpace
        shift   control alt     shiftl  shiftr  keycode  14 = Meta_BackSpace
        altgr   control alt     shiftl  shiftr  keycode  14 = Meta_BackSpace
        shift   altgr   control alt     shiftl  shiftr  keycode  14 = 
Meta_BackSpace
        control ctrll   keycode  14 = BackSpace
        shift   control ctrll   keycode  14 = BackSpace
        altgr   control ctrll   keycode  14 = BackSpace
        shift   altgr   control ctrll   keycode  14 = BackSpace
        alt     ctrll   keycode  14 = Meta_Delete
        shift   alt     ctrll   keycode  14 = Meta_Delete
        altgr   alt     ctrll   keycode  14 = Meta_Delete
        shift   altgr   alt     ctrll   keycode  14 = Meta_Delete
        control alt     ctrll   keycode  14 = Meta_BackSpace
        shift   control alt     ctrll   keycode  14 = Meta_BackSpace
        altgr   control alt     ctrll   keycode  14 = Meta_BackSpace
        shift   altgr   control alt     ctrll   keycode  14 = Meta_BackSpace
        control shiftl  ctrll   keycode  14 = BackSpace
        shift   control shiftl  ctrll   keycode  14 = BackSpace
        altgr   control shiftl  ctrll   keycode  14 = BackSpace
        shift   altgr   control shiftl  ctrll   keycode  14 = BackSpace
        alt     shiftl  ctrll   keycode  14 = Meta_Delete
        shift   alt     shiftl  ctrll   keycode  14 = Meta_Delete
        altgr   alt     shiftl  ctrll   keycode  14 = Meta_Delete
        shift   altgr   alt     shiftl  ctrll   keycode  14 = Meta_Delete
        control alt     shiftl  ctrll   keycode  14 = Meta_BackSpace
        shift   control alt     shiftl  ctrll   keycode  14 = Meta_BackSpace
        altgr   control alt     shiftl  ctrll   keycode  14 = Meta_BackSpace
        shift   altgr   control alt     shiftl  ctrll   keycode  14 = 
Meta_BackSpace
        control shiftr  ctrll   keycode  14 = BackSpace
        shift   control shiftr  ctrll   keycode  14 = BackSpace
        altgr   control shiftr  ctrll   keycode  14 = BackSpace
        shift   altgr   control shiftr  ctrll   keycode  14 = BackSpace
        alt     shiftr  ctrll   keycode  14 = Meta_Delete
        shift   alt     shiftr  ctrll   keycode  14 = Meta_Delete
        altgr   alt     shiftr  ctrll   keycode  14 = Meta_Delete
        shift   altgr   alt     shiftr  ctrll   keycode  14 = Meta_Delete
        control alt     shiftr  ctrll   keycode  14 = Meta_BackSpace
        shift   control alt     shiftr  ctrll   keycode  14 = Meta_BackSpace
        altgr   control alt     shiftr  ctrll   keycode  14 = Meta_BackSpace
        shift   altgr   control alt     shiftr  ctrll   keycode  14 = 
Meta_BackSpace
        control shiftl  shiftr  ctrll   keycode  14 = BackSpace
        shift   control shiftl  shiftr  ctrll   keycode  14 = BackSpace
        altgr   control shiftl  shiftr  ctrll   keycode  14 = BackSpace
        shift   altgr   control shiftl  shiftr  ctrll   keycode  14 = BackSpace
        alt     shiftl  shiftr  ctrll   keycode  14 = Meta_Delete
        shift   alt     shiftl  shiftr  ctrll   keycode  14 = Meta_Delete
        altgr   alt     shiftl  shiftr  ctrll   keycode  14 = Meta_Delete
        shift   altgr   alt     shiftl  shiftr  ctrll   keycode  14 = 
Meta_Delete
        control alt     shiftl  shiftr  ctrll   keycode  14 = Meta_BackSpace
        shift   control alt     shiftl  shiftr  ctrll   keycode  14 = 
Meta_BackSpace
        altgr   control alt     shiftl  shiftr  ctrll   keycode  14 = 
Meta_BackSpace
        shift   altgr   control alt     shiftl  shiftr  ctrll   keycode  14 = 
Meta_BackSpace


And the output of:

  localectl status

Here is mine:

   System Locale: LANG=nl_NL.UTF-8
                  LANGUAGE=nl:en_GB:en
       VC Keymap: n/a
      X11 Layout: us
       X11 Model: pc105
     X11 Variant: altgr-intl

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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