From 4c0232920524149109cb121ae310b50cddd60e87 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 9 Jun 2018 11:54:44 -0500 Subject: [PATCH] docs: mention that "Ins" and "Del" are valid rebindable keys Also, consistently refer to Latin letters and ASCII characters where needed, and document more accepted characters. This addresses https://savannah.gnu.org/bugs/?54071. --- doc/nano.texi | 8 ++++++-- doc/nanorc.5 | 7 +++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/doc/nano.texi b/doc/nano.texi index 5f2267ea..77bd8b0a 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -1078,16 +1078,20 @@ The format of @code{key} should be one of: @itemize @w{} @item -@code{^}@ followed by an ASCII character or the word "Space". +@code{^}@ followed by a Latin letter, one of several ASCII characters +(@, ], \, ^, or _), or the word "Space". Example: @code{^C}. @item -@code{M-}@ followed by a ASCII character or the word "Space". +@code{M-}@ followed by any ASCII character except [, or the word "Space". Example: @code{M-C}. @item @code{F}@ followed by a numeric value from 1 to 16. Example: @code{F10}. + +@item +the word "Ins" or the word "Del". @end itemize @sp 1 diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 12a9fd73..c27870bf 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -427,16 +427,19 @@ The format of \fIkey\fP should be one of: .RS 3 .TP 3 .B ^ -followed by an alpha character or the word "Space". +followed by a Latin letter, one of several ASCII characters +(@, ], \, ^, or _), or the word "Space". Example: ^C .TP .B M- -followed by a printable character or the word "Space". +followed by any ASCII character except [, or the word "Space". Example: M-C .TP .B F followed by a numeric value from 1 to 16. Example: F10 +.TP +the word "Ins" or the word "Del". .RE .TP