nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit e90b40e651d40f2b4e7eb78f72d919dbc4f9f8be
parent 07c1e7221649f2ccea9fa88a1472003268be1e2f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon,  7 Oct 2019 13:20:30 +0200

docs: add a note saying that rebinding ^M or ^I is not advisable

Also say that rebinding ^H is sometimes impossible, or when it's
made possible, that it rebinds the Backspace key too.

This addresses https://savannah.gnu.org/bugs/?56994.
Reported-by: Tiago Almeida <tjamadeira@gmail.com>

Diffstat:
Mdoc/nano.texi | 4++++
Mdoc/nanorc.5 | 4++++
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/doc/nano.texi b/doc/nano.texi @@ -1171,6 +1171,10 @@ Example: @code{F10}. @code{Ins} or @code{Del}. @end itemize +Rebinding @code{^M} (Enter) or @code{^I} (Tab) is probably not a good idea. +On some terminals it's not possible to rebind @code{^H} (unless @code{--raw} +is used) because its keycode is identical to that of the Backspace key. + @sp 1 Valid names for the @code{function} to be bound are: diff --git a/doc/nanorc.5 b/doc/nanorc.5 @@ -501,6 +501,10 @@ Example: F10. .BR Ins " or " Del . .RE +Rebinding \fB^M\fR (Enter) or \fB^I\fR (Tab) is probably not a good idea. +On some terminals it's not possible to rebind \fB^H\fR (unless \fB\-\-raw\fR +is used) because its keycode is identical to that of the Backspace key. + .TP Valid \fIfunction\fP names to be bound are: .RS 3