From 0d119645033a889a9d64c6d331857f1521b5f5d1 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 1 Feb 2021 19:56:18 +0100 Subject: [PATCH] docs: say that --minibar is modified by --constantshow and --stateflags The previous two commits reduced what is shown by default on the minibar. Mention which extra options are needed to show the extra information. --- doc/nano.1 | 3 +++ doc/nano.texi | 6 ++++++ doc/nanorc.5 | 3 +++ 3 files changed, 12 insertions(+) diff --git a/doc/nano.1 b/doc/nano.1 index fa3e4398..ae4737d9 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -356,6 +356,9 @@ When a file is loaded or saved, and also when switching between buffers, the number of lines in the buffer is displayed after the file name. This number is cleared upon the next keystroke, or replaced with an [i/n] counter when multiple buffers are open. +The line plus column numbers and the character code are displayed only when +\fB\-\-constantshow\fR is used, and can be toggled on and off with \fBM-C\fR. +The state flags are displayed only when \fB\-\-stateflags\fR is used. .TP .BR \-! ", " \-\-magic When neither the file's name nor its first line give a clue, diff --git a/doc/nano.texi b/doc/nano.texi index 50be4495..584dfdaf 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -498,6 +498,9 @@ When a file is loaded or saved, and also when switching between buffers, the number of lines in the buffer is displayed after the file name. This number is cleared upon the next keystroke, or replaced with an [i/n] counter when multiple buffers are open. +The line plus column numbers and the character code are displayed only when +@code{--constantshow} is used, and can be toggled on and off with @key{M-C}. +The state flags are displayed only when @code{--stateflags} is used. @item -! @itemx --magic @@ -952,6 +955,9 @@ When a file is loaded or saved, and also when switching between buffers, the number of lines in the buffer is displayed after the file name. This number is cleared upon the next keystroke, or replaced with an [i/n] counter when multiple buffers are open. +The line plus column numbers and the character code are displayed only when +@code{set constantshow} is used, and can be toggled on and off with @key{M-C}. +The state flags are displayed only when @code{set stateflags} is used. @item set morespace Deprecated option since it has become the default setting. diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 84926bad..bcf4087f 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -201,6 +201,9 @@ When a file is loaded or saved, and also when switching between buffers, the number of lines in the buffer is displayed after the file name. This number is cleared upon the next keystroke, or replaced with an [i/n] counter when multiple buffers are open. +The line plus column numbers and the character code are displayed only when +\fBset constantshow\fR is used, and can be toggled on and off with \fBM-C\fR. +The state flags are displayed only when \fBset stateflags\fR is used. .TP .B set morespace Deprecated option since it has become the default setting.