nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [BUG] backspace is now cutwordleft in urxvt


From: Benno Schulenberg
Subject: Re: [Nano-devel] [BUG] backspace is now cutwordleft in urxvt
Date: Mon, 10 Sep 2018 20:53:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Op 10-09-18 om 19:27 schreef Benno Schulenberg:
> Op 10-09-18 om 06:16 schreef Brand Huntsman:
>> Commit e6429e782a09092eb87305d5d4cd2831c7129ad7 has turned urxvt's backspace
>> key into cutwordleft, nano 3.0 is broken.
> 
> Works fine for me on urxvt.  Both <Backspace> and ^H delete a single
> character to the left.

Most likely you are running on (or ssh'ed into) a FreeBSD or NetBSD
machine.  When so, use -K as a workaround for now.

Anyway, the problem is this line:

  controlshiftdelete = get_keycode("kDC6", KEY_BACKSPACE);

from commit e6429e78.  When the system doesn't know the Ctrl+Shift+Delete
combination, it will bind KEY_BACKSPACE to cutwordleft.  :|  The line
should use something else as the fallback key code, something special,
just like the other special combinations.

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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