From 7f0bfdfeb27b7017805372158ed54f61e5b69644 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 6 Feb 2020 15:15:36 +0100 Subject: [PATCH] docs: put the three new behaviors in a bulletted list, to catch the eye Also, move the relevant section down in the nanorc man page, to increase the contrast between the two pages. --- doc/nano.1 | 14 ++++++++++---- doc/nanorc.5 | 22 ++++++++++++++-------- 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/doc/nano.1 b/doc/nano.1 index aa04d386..d8b02d36 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -28,12 +28,18 @@ nano \- Nano's ANOther editor, inspired by Pico .BR nano " [" \fIoptions "] [[" + [ crCR ]( / | ? ) \fIstring "] " \fIfile ]... .SH NOTICE -Starting with version 4.0, \fBnano\fR no longer hard-wraps an overlong -line by default. It further uses smooth scrolling by default, and by -default includes the line below the title bar into the editing area. +Since version 4.0, \fBnano\fR by default: +.sp +.RS 4 +\(bu does not automatically hard-wrap lines that become overlong, +.br +\(bu includes the line below the title bar in the editing area, +.br +\(bu does linewise (smooth) scrolling. +.RE .sp If you want the old, Pico behavior back, you can use \fB\-\-breaklonglines\fR, -\fB\-\-jumpyscrolling\fR, and \fB\-\-emptyline\fR (or \fB\-bje\fR for short). +\fB\-\-emptyline\fR, and \fB\-\-jumpyscrolling\fR (or \fB\-bej\fR for short). .SH DESCRIPTION \fBnano\fP is a small and friendly editor. It copies the look and feel diff --git a/doc/nanorc.5 b/doc/nanorc.5 index ca8e56f5..cc131249 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -21,14 +21,6 @@ .SH NAME nanorc \- GNU nano's configuration file -.SH NOTICE -Starting with version 4.0, \fBnano\fR no longer hard-wraps an overlong -line by default. It further uses smooth scrolling by default, and by -default includes the line below the title bar into the editing area. -.sp -If you want the old, Pico behavior back, you can use \fBset breaklonglines\fR, -\fBset jumpyscrolling\fR, and \fBset emptyline\fR. - .SH DESCRIPTION The \fInanorc\fP files contain the default settings for \fBnano\fP, a small and friendly editor. They should be in Unix format, not in @@ -41,6 +33,20 @@ or from \fI~/.config/nano/nanorc\fR, whichever is encountered first. If \fB\-\-rcfile\fR is given, \fBnano\fR will read just the specified settings file. +.SH NOTICE +Since version 4.0, \fBnano\fR by default: +.sp +.RS 4 +\(bu does not automatically hard-wrap lines that become overlong, +.br +\(bu includes the line below the title bar in the editing area, +.br +\(bu does linewise (smooth) scrolling. +.RE +.sp +To get the old, Pico behavior back, you can use \fBset breaklonglines\fR, +\fBset emptyline\fR, and \fBset jumpyscrolling\fR. + .SH OPTIONS The configuration file accepts a series of \fBset\fP and \fBunset\fP commands, which can be used to configure nano on startup without using