nano-devel
[Top][All Lists]
Advanced

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

Re: Ctrl+H bug in nano 5.9


From: Benno Schulenberg
Subject: Re: Ctrl+H bug in nano 5.9
Date: Sun, 12 Dec 2021 16:42:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Op 12-12-2021 om 12:47 schreef shapiro@quantentunnel.de:
> I understand the behaviour of ^H as ASCII character for backspace as it
> is mentioned in nanorc lines 259-265,

In the source code this is doc/sample.nanorc -- several distros install that
file to /etc/nanorc.  The relevant fragment is currently at lines 261..269.

> but Ctrl+H always produces
> <Backspace> in the current version of nano using Mate-Terminal (1.26.0)
> or Guake (3.8.1). No matter if I unbind ^H or bind ^H with a command,
> e.g. help all/exit help.

For me, rebinding ^H on Ubuntu MATE (with Mate-Terminal 1.24.1) works fine:

  echo "bind ^H help main" >short
  nano --rc=short

Type some characters, then ^H.  Result: help opens.  (No backspace happens.)

I suspect you have compiled nano yourself?  If yes, then please run
./configure again and carefully read the last two lines it prints.

Relevant FAQ item: https://nano-editor.org/dist/v5/faq.html#3.9

Benno

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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