nano

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

commit edbdcb9b9ad67a0062af79fe5c343b5e28e934f6
parent a6978b54f1be4c2736b4095ac3edba0bc31a24a6
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue,  4 Jun 2019 19:54:58 +0200

docs: add a light warning to the explanation of --nonewlines

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

diff --git a/doc/nano.1 b/doc/nano.1 @@ -121,7 +121,8 @@ properly, please report a bug. Using this option disables \fBnano\fR's mouse support. .TP .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 text does not end with one. +(This can cause you to save non-POSIX text files.) .TP .BR \-M ", " \-\-trimblanks Snip trailing whitespace from the wrapped line when automatic diff --git a/doc/nano.texi b/doc/nano.texi @@ -214,7 +214,8 @@ mouse support. @item -L @itemx --nonewlines -Don't automatically add a newline when a file does not end with one. +Don't automatically add a newline when a text does not end with one. +(This can cause you to save non-POSIX text files.) @item -M @itemx --trimblanks @@ -831,7 +832,8 @@ Don't convert files from DOS/Mac format. Don't display the help lists at the bottom of the screen. @item set nonewlines -Don't automatically add a newline when a file does not end with one. +Don't automatically add a newline when a text does not end with one. +(This can cause you to save non-POSIX text files.) @item set nopauses Don't pause between warnings at startup. This means that only diff --git a/doc/nanorc.5 b/doc/nanorc.5 @@ -181,7 +181,8 @@ Don't convert files from DOS/Mac format. Don't display the two help lines at the bottom of the screen. .TP .B set nonewlines -Don't automatically add a newline when a file does not end with one. +Don't automatically add a newline when a text does not end with one. +(This can cause you to save non-POSIX text files.) .TP .B set nopauses Don't pause between warnings at startup. This means that only