docs: remove all mention of --finalnewline, and undefault --nonewlines
parent
2552307064
commit
209531a761
14
doc/nano.1
14
doc/nano.1
|
@ -27,13 +27,11 @@ nano \- Nano's ANOther editor, inspired by Pico
|
||||||
|
|
||||||
.SH NOTICE
|
.SH NOTICE
|
||||||
Starting with version 4.0, \fBnano\fR no longer hard-wraps an overlong
|
Starting with version 4.0, \fBnano\fR no longer hard-wraps an overlong
|
||||||
line by default, and no longer automatically adds a newline at the end
|
line by default, uses smooth scrolling by default, and by default makes
|
||||||
of the text if one is missing. Furthermore, it uses smooth scrolling
|
use of the line below the title bar.
|
||||||
by default and makes use of the line below the title bar.
|
|
||||||
.sp
|
.sp
|
||||||
If you want the old, Pico behavior back, you can use \fB\-\-breaklonglines\fR,
|
If you want the old, Pico behavior back, you can use \fB\-\-breaklonglines\fR,
|
||||||
\fB\-\-finalnewline\fR, \fB\-\-jumpyscrolling\fR, and \fB\-\-emptyline\fR
|
\fB\-\-jumpyscrolling\fR, and \fB\-\-emptyline\fR (or \fB\-bje\fR for short).
|
||||||
(or \fB\-bfje\fR for short).
|
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fBnano\fP is a small and friendly editor. It copies the look and feel
|
\fBnano\fP is a small and friendly editor. It copies the look and feel
|
||||||
|
@ -124,7 +122,6 @@ mouse support.
|
||||||
.TP
|
.TP
|
||||||
.BR \-L ", " \-\-nonewlines
|
.BR \-L ", " \-\-nonewlines
|
||||||
Don't automatically add a newline when a file does not end with one.
|
Don't automatically add a newline when a file does not end with one.
|
||||||
(This is the default.)
|
|
||||||
.TP
|
.TP
|
||||||
.BR \-M ", " \-\-trimblanks
|
.BR \-M ", " \-\-trimblanks
|
||||||
Snip trailing whitespace from the wrapped line when automatic
|
Snip trailing whitespace from the wrapped line when automatic
|
||||||
|
@ -213,11 +210,6 @@ system either Backspace acts like Delete or Delete acts like Backspace.
|
||||||
.BR \-e ", " \-\-emptyline
|
.BR \-e ", " \-\-emptyline
|
||||||
Do not use the line below the title bar, leaving it entirely blank.
|
Do not use the line below the title bar, leaving it entirely blank.
|
||||||
.TP
|
.TP
|
||||||
.BR \-f ", " \-\-finalnewline
|
|
||||||
If the buffer is not empty, ensure that it ends with a newline character.
|
|
||||||
(This option is the opposite of \fB\-L\fR (\fB\-\-nonewlines\fR) --
|
|
||||||
the last one given takes effect.)
|
|
||||||
.TP
|
|
||||||
.BR \-g ", " \-\-showcursor
|
.BR \-g ", " \-\-showcursor
|
||||||
Make the cursor visible in the file browser (putting it on the
|
Make the cursor visible in the file browser (putting it on the
|
||||||
highlighted item) and in the help viewer. Useful for braille users
|
highlighted item) and in the help viewer. Useful for braille users
|
||||||
|
|
|
@ -97,14 +97,13 @@ as is reasonable while offering a superset of Pico's functionality.
|
||||||
Pico differ.
|
Pico differ.
|
||||||
|
|
||||||
Starting with version 4.0, @command{nano} no longer hard-wraps an overlong
|
Starting with version 4.0, @command{nano} no longer hard-wraps an overlong
|
||||||
line by default, and no longer automatically adds a newline at the end
|
line by default, uses smooth scrolling by default, and by default makes
|
||||||
of the text if one is missing. Furthermore, it uses smooth scrolling
|
use of the line below the title bar.
|
||||||
by default and makes use of the line below the title bar.
|
|
||||||
|
|
||||||
If you want the old, Pico behavior back, you can use the
|
If you want the old, Pico behavior back, you can use the
|
||||||
following options: @option{--breaklonglines}, @option{--finalnewline},
|
following options: @option{--breaklonglines},
|
||||||
@option{--jumpyscrolling}, and @option{--emptyline}
|
@option{--jumpyscrolling}, and @option{--emptyline}
|
||||||
(or @option{-bfje} for short).
|
(or @option{-bje} for short).
|
||||||
|
|
||||||
Please report bugs via @url{https://savannah.gnu.org/bugs/?group=nano}.
|
Please report bugs via @url{https://savannah.gnu.org/bugs/?group=nano}.
|
||||||
|
|
||||||
|
@ -216,7 +215,6 @@ mouse support.
|
||||||
@item -L
|
@item -L
|
||||||
@itemx --nonewlines
|
@itemx --nonewlines
|
||||||
Don't automatically add a newline when a file does not end with one.
|
Don't automatically add a newline when a file does not end with one.
|
||||||
(This is the default.)
|
|
||||||
|
|
||||||
@item -M
|
@item -M
|
||||||
@itemx --trimblanks
|
@itemx --trimblanks
|
||||||
|
@ -325,12 +323,6 @@ system either Backspace acts like Delete or Delete acts like Backspace.
|
||||||
@itemx --emptyline
|
@itemx --emptyline
|
||||||
Do not use the line below the title bar, leaving it entirely blank.
|
Do not use the line below the title bar, leaving it entirely blank.
|
||||||
|
|
||||||
@item -f
|
|
||||||
@itemx --finalnewline
|
|
||||||
If the buffer is not empty, ensure that it ends with a newline character.
|
|
||||||
(This option is the opposite of @option{-L} (@option{--nonewlines}) ---
|
|
||||||
the last one given takes effect.)
|
|
||||||
|
|
||||||
@item -g
|
@item -g
|
||||||
@itemx --showcursor
|
@itemx --showcursor
|
||||||
Make the cursor visible in the file browser (putting it on the
|
Make the cursor visible in the file browser (putting it on the
|
||||||
|
@ -776,9 +768,6 @@ Do not use the line below the title bar, leaving it entirely blank.
|
||||||
Use this color combination for the status bar when an error message is displayed.
|
Use this color combination for the status bar when an error message is displayed.
|
||||||
@xref{@code{set functioncolor}} for valid color names.
|
@xref{@code{set functioncolor}} for valid color names.
|
||||||
|
|
||||||
@item set finalnewline
|
|
||||||
If the buffer is not empty, ensure that it ends with a newline character.
|
|
||||||
|
|
||||||
@item set fill @var{number}
|
@item set fill @var{number}
|
||||||
Set the target width for justifying and automatic hard-wrapping at this
|
Set the target width for justifying and automatic hard-wrapping at this
|
||||||
@var{number} of columns. If the value is 0 or less, wrapping will occur
|
@var{number} of columns. If the value is 0 or less, wrapping will occur
|
||||||
|
@ -843,8 +832,7 @@ Don't convert files from DOS/Mac format.
|
||||||
Don't display the help lists at the bottom of the screen.
|
Don't display the help lists at the bottom of the screen.
|
||||||
|
|
||||||
@item set nonewlines
|
@item set nonewlines
|
||||||
Deprecated option since it has become the default setting.
|
Don't automatically add a newline when a file does not end with one.
|
||||||
When needed, use @code{unset finalnewline} instead.
|
|
||||||
|
|
||||||
@item set nopauses
|
@item set nopauses
|
||||||
Don't pause between warnings at startup. This means that only
|
Don't pause between warnings at startup. This means that only
|
||||||
|
@ -1576,12 +1564,6 @@ switched on with the @option{--breaklonglines} option. With that option,
|
||||||
whereas Pico does it at screen width minus six columns. You can make
|
whereas Pico does it at screen width minus six columns. You can make
|
||||||
@command{nano} do as Pico by using @option{--fill=-6}.
|
@command{nano} do as Pico by using @option{--fill=-6}.
|
||||||
|
|
||||||
@item Magic Newline
|
|
||||||
Pico ensures that any text always ends with a newline character.
|
|
||||||
Nano does not do this by default: the user is left in full control
|
|
||||||
of the formatting. You can get the automatic newline by using the
|
|
||||||
@option{--finalnewline} option.
|
|
||||||
|
|
||||||
@item Scrolling
|
@item Scrolling
|
||||||
By default, @command{nano} will scroll just one line (instead of half
|
By default, @command{nano} will scroll just one line (instead of half
|
||||||
a screen) when the cursor is moved to a line that is just out of view.
|
a screen) when the cursor is moved to a line that is just out of view.
|
||||||
|
|
13
doc/nanorc.5
13
doc/nanorc.5
|
@ -23,12 +23,11 @@ nanorc \- GNU nano's configuration file
|
||||||
|
|
||||||
.SH NOTICE
|
.SH NOTICE
|
||||||
Starting with version 4.0, \fBnano\fR no longer hard-wraps an overlong
|
Starting with version 4.0, \fBnano\fR no longer hard-wraps an overlong
|
||||||
line by default, and no longer automatically adds a newline at the end
|
line by default, uses smooth scrolling by default, and by default makes
|
||||||
of the text if one is missing. Furthermore, it uses smooth scrolling
|
use of the line below the title bar.
|
||||||
by default and makes use of the line below the title bar.
|
|
||||||
.sp
|
.sp
|
||||||
If you want the old, Pico behavior back, you can use \fBset breaklonglines\fR,
|
If you want the old, Pico behavior back, you can use \fBset breaklonglines\fR,
|
||||||
\fBset finalnewline\fR, \fBset jumpyscrolling\fR, and \fBset emptyline\fR.
|
\fBset jumpyscrolling\fR, and \fBset emptyline\fR.
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The \fInanorc\fP file contains the default settings for \fBnano\fP, a
|
The \fInanorc\fP file contains the default settings for \fBnano\fP, a
|
||||||
|
@ -121,9 +120,6 @@ Do not use the line below the title bar, leaving it entirely blank.
|
||||||
Use this color combination for the status bar when an error message is displayed.
|
Use this color combination for the status bar when an error message is displayed.
|
||||||
See \fBset titlecolor\fR for valid color names.
|
See \fBset titlecolor\fR for valid color names.
|
||||||
.TP
|
.TP
|
||||||
.B set finalnewline
|
|
||||||
If the buffer is not empty, ensure that it ends with a newline character.
|
|
||||||
.TP
|
|
||||||
.B set fill \fInumber\fR
|
.B set fill \fInumber\fR
|
||||||
Set the target width for justifying and automatic hard-wrapping at this
|
Set the target width for justifying and automatic hard-wrapping at this
|
||||||
\fInumber\fR of columns. If the value is 0 or less, wrapping will occur
|
\fInumber\fR of columns. If the value is 0 or less, wrapping will occur
|
||||||
|
@ -185,8 +181,7 @@ Don't convert files from DOS/Mac format.
|
||||||
Don't display the two help lines at the bottom of the screen.
|
Don't display the two help lines at the bottom of the screen.
|
||||||
.TP
|
.TP
|
||||||
.B set nonewlines
|
.B set nonewlines
|
||||||
Deprecated option since it has become the default setting.
|
Don't automatically add a newline when a file does not end with one.
|
||||||
When needed, use \fBunset finalnewline\fR instead.
|
|
||||||
.TP
|
.TP
|
||||||
.B set nopauses
|
.B set nopauses
|
||||||
Don't pause between warnings at startup. This means that only
|
Don't pause between warnings at startup. This means that only
|
||||||
|
|
|
@ -61,9 +61,6 @@
|
||||||
## less, the wrapping point will be the screen width minus this number.
|
## less, the wrapping point will be the screen width minus this number.
|
||||||
# set fill -8
|
# set fill -8
|
||||||
|
|
||||||
## Ensure that a non-empty buffer ends with a newline character.
|
|
||||||
# set finalnewline
|
|
||||||
|
|
||||||
## Remember the used search/replace strings for the next session.
|
## Remember the used search/replace strings for the next session.
|
||||||
# set historylog
|
# set historylog
|
||||||
|
|
||||||
|
@ -99,6 +96,9 @@
|
||||||
## Don't display the helpful shortcut lists at the bottom of the screen.
|
## Don't display the helpful shortcut lists at the bottom of the screen.
|
||||||
# set nohelp
|
# set nohelp
|
||||||
|
|
||||||
|
## Don't automatically add a newline when a file does not end with one.
|
||||||
|
# set nonewlines
|
||||||
|
|
||||||
## Don't pause between warnings at startup. Which means that only the
|
## Don't pause between warnings at startup. Which means that only the
|
||||||
## last one will be readable (when there are multiple ones).
|
## last one will be readable (when there are multiple ones).
|
||||||
# set nopauses
|
# set nopauses
|
||||||
|
|
Loading…
Reference in New Issue