From df427ba41658ee70224b398ea35834e602cc1b65 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 11:33:01 -0500 Subject: [PATCH 01/16] css: tighten mobile display a little --- style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/style.css b/style.css index 3f1cb37..f28304f 100644 --- a/style.css +++ b/style.css @@ -68,3 +68,14 @@ table#homepage { padding-top: 3em; padding-bottom: 3em; } + +/* Mobile (i.e. phones) */ +@media only screen and (max-width: 768px) { +body { + margin: 0px; +} + +table#homepage { + font-size: x-small; +} +} -- 2.39.2 From 9426f8fa76370ed102c63b5b44ca9f1512c83090 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 11:42:03 -0500 Subject: [PATCH 02/16] tighten up bottom table for mobile Switch from using   to CSS padding. This has the advantage of shrinking when on mobile, and we can enforce a minimum padding on the right side if the elements get too close together. --- bottom.php | 18 +++++++++--------- style.css | 10 ++++++++++ 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/bottom.php b/bottom.php index c4f8b53..ab9bb5e 100644 --- a/bottom.php +++ b/bottom.php @@ -4,33 +4,33 @@
- +
- + - + - + - + - + - + - + - +
^G Get NanoGet Nano ^N NewsNews ^W WhoWho ^T GitGit
^D DocumentationDocumentation ^H HistoryHistory ^S ScreenshotsScreenshots ^C ContactContact
diff --git a/style.css b/style.css index f28304f..b865d00 100644 --- a/style.css +++ b/style.css @@ -69,6 +69,11 @@ table#homepage { padding-bottom: 3em; } +table#bottom td.indented { + padding-left: 1ch; + padding-right: 1ch; +} + /* Mobile (i.e. phones) */ @media only screen and (max-width: 768px) { body { @@ -78,4 +83,9 @@ body { table#homepage { font-size: x-small; } + +table#bottom td.indented { + padding-left: 0.5ch; + padding-right: 0.5ch; +} } -- 2.39.2 From 795d27ea2f3bd7b75a65f88d28b1f7c13c0c6eee Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 11:56:08 -0500 Subject: [PATCH 03/16] tighten up top table for mobile Same as the previous commit, but for the top bar. --- style.css | 2 ++ top.php | 24 ++++++++---------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/style.css b/style.css index b865d00..65e93a2 100644 --- a/style.css +++ b/style.css @@ -69,6 +69,7 @@ table#homepage { padding-bottom: 3em; } +table#top td, table#bottom td.indented { padding-left: 1ch; padding-right: 1ch; @@ -84,6 +85,7 @@ table#homepage { font-size: x-small; } +table#top td, table#bottom td.indented { padding-left: 0.5ch; padding-right: 0.5ch; diff --git a/top.php b/top.php index b88341b..658d443 100644 --- a/top.php +++ b/top.php @@ -17,24 +17,16 @@
- +
- - - - - + + + + +
- Latest version: - -           - -The GNU nano homepage - -Modified: - -  -Latest version: +The GNU nano homepageModified: +
-- 2.39.2 From 69165b37b32064e3ad4b84dd98369f7dbb43de74 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 14 Nov 2023 12:03:44 -0500 Subject: [PATCH 04/16] render download & docs the same Use the download table style on the docs page (center 80%), and have them both expand to 100% on mobile. --- docs.php | 4 ++-- download.php | 2 +- style.css | 10 ++++++++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/docs.php b/docs.php index ee9baae..c04710c 100644 --- a/docs.php +++ b/docs.php @@ -4,7 +4,7 @@
Documentation

- +
-
Document Name
@@ -77,6 +77,6 @@ Description
General description of noteworthy things in each release.
+
diff --git a/download.php b/download.php index eebc1f4..9865c25 100644 --- a/download.php +++ b/download.php @@ -4,7 +4,7 @@
Downloading GNU nano

-
+
diff --git a/style.css b/style.css index 65e93a2..670aa36 100644 --- a/style.css +++ b/style.css @@ -75,6 +75,11 @@ table#bottom td.indented { padding-right: 1ch; } +table#docs, +table#download { + width: 80%; +} + /* Mobile (i.e. phones) */ @media only screen and (max-width: 768px) { body { @@ -90,4 +95,9 @@ table#bottom td.indented { padding-left: 0.5ch; padding-right: 0.5ch; } + +table#docs, +table#download { + width: 100%; +} } -- 2.39.2 From 3f2b89e4f93e19a2f5c31a456f64af39e2e6cb5a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 25 Nov 2023 11:46:51 -0500 Subject: [PATCH 05/16] bottom: switch to CSS flexbox This allows for better spacing & wrapping on mobile than a table. --- bottom.php | 72 ++++++++++++++++++++++++++++++++---------------------- style.css | 28 +++++++++++++++++++-- 2 files changed, 69 insertions(+), 31 deletions(-) diff --git a/bottom.php b/bottom.php index ab9bb5e..2e7539d 100644 --- a/bottom.php +++ b/bottom.php @@ -4,35 +4,49 @@
-
Description Links
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
^GGet Nano^NNews^WWho^TGit
^DDocumentation^HHistory^SScreenshots^CContact
+
+ + +^G +Get Nano + + + +^N +News + + + +^W +Who + + + +^T +Git + + + +^D +Documentation + + + +^H +History + + + +^S +Screenshots + + + +^C +Contact + + +
diff --git a/style.css b/style.css index 670aa36..be33cd9 100644 --- a/style.css +++ b/style.css @@ -70,7 +70,7 @@ table#homepage { } table#top td, -table#bottom td.indented { +div#bottom .indented { padding-left: 1ch; padding-right: 1ch; } @@ -80,6 +80,18 @@ table#download { width: 80%; } +div#bottom { + display: flex; + flex-wrap: wrap; +} +div#bottom span.menuitem { + flex-basis: 25%; + flex-grow: 1; + flex-shrink: 0; + line-height: 1em; + white-space: nowrap; +} + /* Mobile (i.e. phones) */ @media only screen and (max-width: 768px) { body { @@ -91,13 +103,25 @@ table#homepage { } table#top td, -table#bottom td.indented { +div#bottom .indented { padding-left: 0.5ch; padding-right: 0.5ch; } +div#bottom span.menuitem { + font-size: large; + line-height: inherit; +} + table#docs, table#download { width: 100%; } } + +@media only screen and (max-width: 600px) { +div#bottom span.menuitem { + flex-basis: 50%; + line-height: 1.5em; +} +} -- 2.39.2 From 03e64f959cd6ec285649f37af8f021668cc5cca9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 25 Nov 2023 11:58:24 -0500 Subject: [PATCH 06/16] reduce blockquote margins on mobile --- style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/style.css b/style.css index be33cd9..8db3c1f 100644 --- a/style.css +++ b/style.css @@ -98,6 +98,10 @@ body { margin: 0px; } +blockquote { + margin: 1em 0 1em 0; +} + table#homepage { font-size: x-small; } -- 2.39.2 From 42654991e3e3bdf7335e30b06d4f5579a1c6d90f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 25 Nov 2023 12:09:33 -0500 Subject: [PATCH 07/16] screenshots: reduce padding on mobile --- screenshots.php | 4 ++++ style.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/screenshots.php b/screenshots.php index 0f47680..f892f37 100644 --- a/screenshots.php +++ b/screenshots.php @@ -1,5 +1,7 @@ + +
Screenshots

@@ -43,4 +45,6 @@ +
+ diff --git a/style.css b/style.css index 8db3c1f..cd59d15 100644 --- a/style.css +++ b/style.css @@ -121,6 +121,10 @@ table#docs, table#download { width: 100%; } + +#screenshots ul { + padding-left: 0; +} } @media only screen and (max-width: 600px) { -- 2.39.2 From e670b1a49681927d54f32d8e92deaa88d45d9f8e Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 3 Dec 2023 11:32:50 +0100 Subject: [PATCH 08/16] add a link to the source code of the website --- git.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git.php b/git.php index 45fb20a..9a35dc4 100644 --- a/git.php +++ b/git.php @@ -12,7 +12,10 @@ If you want to build and run the bleeding-edge version of GNU nano, read the instructions located in the git repository itself. +

+The source code of this website is available from +https://git.wh0rd.org/nano-editor.git.

-- 2.39.2 From d4c769b8ec41d1820237f2e91d9b7a91967ca97d Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 3 Dec 2023 11:50:03 +0100 Subject: [PATCH 09/16] add a direct link to nano's git repo, just like for the website repo --- git.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/git.php b/git.php index 9a35dc4..4030be5 100644 --- a/git.php +++ b/git.php @@ -4,11 +4,13 @@
Source Code
-You can browse nano's -source code -on the web. +Nano's source code is clonable from +https://git.savannah.gnu.org/git/nano.git. +It can be browsed on the web at +https://git.savannah.gnu.org/cgit/nano.git/log/. +

-If you want to build and run the bleeding-edge version of GNU nano, +To build and run the bleeding-edge version of GNU nano, read the instructions located in the git repository itself. @@ -17,6 +19,8 @@ instructions located in the git repository itself. The source code of this website is available from https://git.wh0rd.org/nano-editor.git. +

+

edited with nano -- 2.39.2 From 68a9e62234bc28c40cac909a1e981f16a6e91d46 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 3 Dec 2023 11:52:12 +0100 Subject: [PATCH 10/16] add a line break --- git.php | 1 + 1 file changed, 1 insertion(+) diff --git a/git.php b/git.php index 4030be5..aa34526 100644 --- a/git.php +++ b/git.php @@ -6,6 +6,7 @@
Nano's source code is clonable from https://git.savannah.gnu.org/git/nano.git. +
It can be browsed on the web at https://git.savannah.gnu.org/cgit/nano.git/log/. -- 2.39.2 From a90297d44b30e442ee923357c710e83b170bffc1 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 1 May 2024 10:40:31 +0200 Subject: [PATCH 11/16] note the release of 8.0 --- last-branch | 2 +- last-modified | 2 +- last-version | 2 +- news.php | 29 +++++++++++++++++++++++++++++ 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/last-branch b/last-branch index c793025..301160a 100644 --- a/last-branch +++ b/last-branch @@ -1 +1 @@ -7 \ No newline at end of file +8 \ No newline at end of file diff --git a/last-modified b/last-modified index d7ee8f6..3dec2d1 100644 --- a/last-modified +++ b/last-modified @@ -1 +1 @@ -2023 January 18 \ No newline at end of file +2024 May 1 \ No newline at end of file diff --git a/last-version b/last-version index be4cea5..b293f64 100644 --- a/last-version +++ b/last-version @@ -1 +1 @@ -7.2 \ No newline at end of file +8.0 \ No newline at end of file diff --git a/news.php b/news.php index 911f25b..b7a5d68 100644 --- a/news.php +++ b/news.php @@ -12,6 +12,35 @@

+2024 may 1 - GNU nano 8.0 "Grus grus" +
+
    +
  • By default ^F is bound to starting a forward search, and ^B to
    + starting a backward search, while M-F and M-B repeat the search
    + in the corresponding direction. (See the documentation if you
    + want the old bindings back.)
  • +
  • Command-line option --modernbindings (-/) makes ^Q quit, ^X cut,
    + ^C copy, ^V paste, ^Z undo, ^Y redo, ^O open a file, ^W write a
    + file, ^R replace, ^G find again, ^D find again backwards, ^A set
    + the mark, ^T jump to a line, ^P show the position, and ^E execute.
  • +
  • Above modern bindings are activated also when the name of nano's
    + executable (or a symlink to it) starts with the letter "e".
  • +
  • To open a file at a certain line number, one can now use also
    + `nano filename:number`, besides `nano +number filename`.
  • +
  • <Alt+Home> and <Alt+End> put the cursor on the first and last
    + row in the viewport, while retaining the horizontal position.
  • +
  • When the three digits in an #RGB color code are all the same,
    + the code is mapped to the xterm grey scale, giving access to
    + fourteen levels of grey instead of just four.
  • +
  • For easier access, M-" is bound to placing/removing an anchor,
    + and M-' to jumping to the next anchor.
  • +
  • Whenever an error occurs, the keystroke buffer is cleared, thus
    + stopping the execution of a macro or a string bind.
  • +
  • The mousewheel scrolls the viewport instead of moving the cursor.
  • +
+

+ + 2023 January 18 - GNU nano 7.2 "Boer doe mij 't hekke lös!"
    -- 2.39.2 From 32b45c05e77ad40c05af81c6f4f1c9aa1ab82779 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 1 May 2024 10:52:25 +0200 Subject: [PATCH 12/16] italicize the release names --- news.php | 66 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/news.php b/news.php index b7a5d68..73822ce 100644 --- a/news.php +++ b/news.php @@ -12,7 +12,7 @@


-2024 may 1 - GNU nano 8.0 "Grus grus" +2024 may 1 - GNU nano 8.0 "Grus grus"
  • By default ^F is bound to starting a forward search, and ^B to
    @@ -41,14 +41,14 @@

    -2023 January 18 - GNU nano 7.2 "Boer doe mij 't hekke lös!" +2023 January 18 - GNU nano 7.2 "Boer doe mij 't hekke lös!"
    • <Shift+Insert> is prevented from pasting in view mode.


    -2022 December 14 - GNU nano 7.1 "And the devices shall be made of wood" +2022 December 14 - GNU nano 7.1 "And the devices shall be made of wood"
    • When --autoindent and --breaklonglines are combined, pressing
      @@ -56,7 +56,7 @@


    -2022 November 15 - GNU nano 7.0 "Una existencia simple bajo el sol" +2022 November 15 - GNU nano 7.0 "Una existencia simple bajo el sol"
    • String binds may contain bindable function names between braces.
      @@ -72,7 +72,7 @@

      -2022 August 2 - GNU nano 6.4 "Regentag Dunkelbunt Hundertwasser" +2022 August 2 - GNU nano 6.4 "Regentag Dunkelbunt Hundertwasser"
      • The file browser does not crash when moving up to the root folder.
      • @@ -81,7 +81,7 @@


      -2022 April 28 - GNU nano 6.3 "Wat zullen we drinken? Wat een dorst!" +2022 April 28 - GNU nano 6.3 "Wat zullen we drinken? Wat een dorst!"
      • For multiline regexes, text is now colored as soon as a start match
        @@ -98,7 +98,7 @@


      -2022 February 18 - GNU nano 6.2 "Kamperfoelie" +2022 February 18 - GNU nano 6.2 "Kamperfoelie"
      • The file browser clears the prompt bar also when using --minibar.
      • @@ -106,7 +106,7 @@


      -2022 February 9 - GNU nano 6.1 "Rețelele de socializare sunt ca un frigider" +2022 February 9 - GNU nano 6.1 "Rețelele de socializare sunt ca un frigider"
      • The behavior of ^K at a prompt has been enhanced: when there
        @@ -118,7 +118,7 @@


      -2021 December 15 - GNU nano 6.0 "Humor heeft ook zijn leuke kanten" +2021 December 15 - GNU nano 6.0 "Humor heeft ook zijn leuke kanten"
      • Option --zero hides the title bar, status bar and help lines, and
        @@ -145,7 +145,7 @@

        -2021 October 6 - GNU nano 5.9 "El manicomio ha decidido: mañana sol!" +2021 October 6 - GNU nano 5.9 "El manicomio ha decidido: mañana sol!"
        • The extension of a filename is added to the name of a corresponding
          @@ -160,7 +160,7 @@


        -2021 June 15 - GNU nano 5.8 "Why is it necessary to be special?" +2021 June 15 - GNU nano 5.8 "Why is it necessary to be special?"
        • After a search, the spotlighting is dropped after 1.5 seconds (0.8
          @@ -173,7 +173,7 @@


        -2021 April 29 - GNU nano 5.7 "Toți ceilalți arau câmpurile" +2021 April 29 - GNU nano 5.7 "Toți ceilalți arau câmpurile"
        • The output of --constantshow (without --minibar) is more stable.
        • @@ -185,7 +185,7 @@


        -2021 March 3 - GNU nano 5.6.1 "Geelgors" +2021 March 3 - GNU nano 5.6.1 "Geelgors"
        • Search matches are properly colorized in softwrap mode too.
        • @@ -193,7 +193,7 @@


        -2021 February 24 - GNU nano 5.6 "Wielewaal" +2021 February 24 - GNU nano 5.6 "Wielewaal"
        • A search match gets highlighted (in black on yellow by default),
          @@ -210,7 +210,7 @@


        -2021 January 14 - GNU nano 5.5 "Rebecca" +2021 January 14 - GNU nano 5.5 "Rebecca"
        • Option 'set minibar' makes nano suppress the title bar and instead
          @@ -232,7 +232,7 @@


        -2020 December 2 - GNU nano 5.4 "Terre des hommes" +2020 December 2 - GNU nano 5.4 "Terre des hommes"
        • Moving the cursor now skips over combining characters (and
          @@ -242,7 +242,7 @@


        -2020 October 7 - GNU nano 5.3 "Revolution!" +2020 October 7 - GNU nano 5.3 "Revolution!"
        • Option 'set stateflags' makes nano show the state of auto-indenting,
          @@ -257,7 +257,7 @@


        -2020 August 24 - GNU nano 5.2 "Ranrapalca" +2020 August 24 - GNU nano 5.2 "Ranrapalca"
        • Making certain replacements after a large paste does not crash.
        • @@ -267,7 +267,7 @@


        -2020 August 12 - GNU nano 5.1 "Cantabria" +2020 August 12 - GNU nano 5.1 "Cantabria"
        • M-Bsp (Alt+Backspace) deletes a word backwards, like in Bash.
        • @@ -281,7 +281,7 @@


        -2020 July 29 - GNU nano 5.0 "Among the fields of barley" +2020 July 29 - GNU nano 5.0 "Among the fields of barley"
        • With --indicator (or -q or 'set indicator') nano will show a kind
          @@ -325,7 +325,7 @@


        -2020 May 23 - GNU nano 4.9.3 "Almendras" +2020 May 23 - GNU nano 4.9.3 "Almendras"

        One more bug introduced in version 4.9 is fixed: a crash when
        @@ -333,7 +333,7 @@


        -2020 April 7 - GNU nano 4.9.2 "Mali Lošinj" +2020 April 7 - GNU nano 4.9.2 "Mali Lošinj"

        Another bug introduced in version 4.9 is fixed: a likely crash
        @@ -341,7 +341,7 @@


        -2020 March 31 - GNU nano 4.9.1 "Sapperdeflap" +2020 March 31 - GNU nano 4.9.1 "Sapperdeflap"

        Two bugs introduced in version 4.9 are fixed: the cursor
        @@ -350,7 +350,7 @@


        -2020 March 24 - GNU nano 4.9 "die fetten Jahre sind vorbei" +2020 March 24 - GNU nano 4.9 "die fetten Jahre sind vorbei"
        • When justifying a selection, the new paragraph and the
          @@ -365,7 +365,7 @@


        -2020 February 7 - GNU nano 4.8 "Jaška" +2020 February 7 - GNU nano 4.8 "Jaška"
        • When something is pasted into nano, auto-indentation is suppressed,
          @@ -382,7 +382,7 @@


        -2019 December 23 - GNU nano 4.7 "Havikskruid" +2019 December 23 - GNU nano 4.7 "Havikskruid"
        • A <Tab> will indent a marked region only when mark and cursor are
          @@ -395,7 +395,7 @@


        -2019 November 29 - GNU nano 4.6 "And don't you eat that yellow snow" +2019 November 29 - GNU nano 4.6 "And don't you eat that yellow snow"
        • The 'formatter' command has returned, bound by default to M-F.
          @@ -408,7 +408,7 @@


        -2019 October 4 - GNU nano 4.5 "Košice" +2019 October 4 - GNU nano 4.5 "Košice"
        • The new 'tabgives' command allows you to specify per syntax what
          @@ -418,7 +418,7 @@


        -2019 August 25 - GNU nano 4.4 "Hagelslag" +2019 August 25 - GNU nano 4.4 "Hagelslag"
        • At startup, the cursor can be put on the first or last occurrence
          @@ -429,7 +429,7 @@


        -2019 June 18 - GNU nano 4.3 "Musa Kart" +2019 June 18 - GNU nano 4.3 "Musa Kart"
        • The ability to read from and write to a FIFO has been regained.
        • @@ -442,7 +442,7 @@


        -2019 April 24 - GNU nano 4.2 "Tax the rich, pay the teachers" +2019 April 24 - GNU nano 4.2 "Tax the rich, pay the teachers"
        • The integrated spell checker does not crash when 'spell' is missing.
        • @@ -452,7 +452,7 @@


        -2019 April 15 - GNU nano 4.1 "Qué corchos será eso?" +2019 April 15 - GNU nano 4.1 "Qué corchos será eso?"
        • By default, a newline character is again automatically added at the
          @@ -470,7 +470,7 @@


        -2019 March 24 - GNU nano 4.0 "Thy Rope of Sands" +2019 March 24 - GNU nano 4.0 "Thy Rope of Sands"
        • An overlong line is no longer automatically hard-wrapped.
        • -- 2.39.2 From 7b746b3ccdab782cf0f5921f66fc63d3bda05690 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 1 May 2024 10:55:01 +0200 Subject: [PATCH 13/16] rewrap a paragraph for esthetics --- news.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/news.php b/news.php index 73822ce..2f84aa1 100644 --- a/news.php +++ b/news.php @@ -20,9 +20,9 @@ in the corresponding direction. (See the documentation if you
          want the old bindings back.)
        • Command-line option --modernbindings (-/) makes ^Q quit, ^X cut,
          - ^C copy, ^V paste, ^Z undo, ^Y redo, ^O open a file, ^W write a
          - file, ^R replace, ^G find again, ^D find again backwards, ^A set
          - the mark, ^T jump to a line, ^P show the position, and ^E execute.
        • + ^C copy, ^V paste, ^Z undo, ^Y redo, ^O open a file, ^W write a file,
          + ^R replace, ^G find again, ^D find again backwards, ^A set the mark,
          + ^T jump to a line, ^P show the position, and ^E execute.
        • Above modern bindings are activated also when the name of nano's
          executable (or a symlink to it) starts with the letter "e".
        • To open a file at a certain line number, one can now use also
          -- 2.39.2 From 2764bd1603f12caf4d9d1a8c8571b9ed20509df8 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 1 May 2024 10:56:27 +0200 Subject: [PATCH 14/16] fix a typo and rewrap another paragraph --- news.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/news.php b/news.php index 2f84aa1..ae8c4c3 100644 --- a/news.php +++ b/news.php @@ -12,7 +12,7 @@


        -2024 may 1 - GNU nano 8.0 "Grus grus" +2024 May 1 - GNU nano 8.0 "Grus grus"
        • By default ^F is bound to starting a forward search, and ^B to
          @@ -23,8 +23,8 @@ ^C copy, ^V paste, ^Z undo, ^Y redo, ^O open a file, ^W write a file,
          ^R replace, ^G find again, ^D find again backwards, ^A set the mark,
          ^T jump to a line, ^P show the position, and ^E execute.
        • -
        • Above modern bindings are activated also when the name of nano's
          - executable (or a symlink to it) starts with the letter "e".
        • +
        • Above modern bindings are activated also when the name of
          + nano's executable (or a symlink to it) starts with the letter "e".
        • To open a file at a certain line number, one can now use also
          `nano filename:number`, besides `nano +number filename`.
        • <Alt+Home> and <Alt+End> put the cursor on the first and last
          -- 2.39.2 From 07cd950a6d4cfdac9429ac21f9eab28e8910b9f1 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 1 May 2024 10:59:09 +0200 Subject: [PATCH 15/16] add some forgotten markup --- news.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/news.php b/news.php index ae8c4c3..9558e57 100644 --- a/news.php +++ b/news.php @@ -19,14 +19,14 @@ starting a backward search, while M-F and M-B repeat the search
          in the corresponding direction. (See the documentation if you
          want the old bindings back.)
        • -
        • Command-line option --modernbindings (-/) makes ^Q quit, ^X cut,
          +
        • Command-line option --modernbindings (-/) makes ^Q quit, ^X cut,
          ^C copy, ^V paste, ^Z undo, ^Y redo, ^O open a file, ^W write a file,
          ^R replace, ^G find again, ^D find again backwards, ^A set the mark,
          ^T jump to a line, ^P show the position, and ^E execute.
        • Above modern bindings are activated also when the name of
          nano's executable (or a symlink to it) starts with the letter "e".
        • To open a file at a certain line number, one can now use also
          - `nano filename:number`, besides `nano +number filename`.
        • + nano filename:number, besides nano +number filename.
        • <Alt+Home> and <Alt+End> put the cursor on the first and last
          row in the viewport, while retaining the horizontal position.
        • When the three digits in an #RGB color code are all the same,
          -- 2.39.2 From 1bbb16e2be148e7f4cb426b4f7d4fefe29d68fd4 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 1 May 2024 16:17:59 +0200 Subject: [PATCH 16/16] italicize the older release names too --- news.php | 60 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/news.php b/news.php index 9558e57..e03f787 100644 --- a/news.php +++ b/news.php @@ -502,7 +502,7 @@ 2018 November 11 -GNU nano 3.2 "Het kromme hout" changes the default binding +GNU nano 3.2 "Het kromme hout" changes the default binding for the linter to M-B so that the spell checker (^T) can always be used, and changes (when linting) the text in the title bar and the color of the status bar to make linting @@ -528,7 +528,7 @@ and does not skip Unicode characters in string binds. 2018 September 18 -GNU nano 3.1 "Je faisais des bonds comme ça!" fixes a +GNU nano 3.1 "Je faisais des bonds comme ça!" fixes a misbinding of ^H on some terminals and some systems, does not leave stray stuff after the prompt upon exit when having suspended nano while using --constantshow, @@ -538,7 +538,7 @@ and does not allow to toggle to Replace in view mode. 2018 September 9 -GNU nano 3.0 "Water Flowing Underground" speeds up the +GNU nano 3.0 "Water Flowing Underground" speeds up the reading of a file by seventy percent, roughly doubles the speed of handling ASCII text, changes the way words at line boundaries are deleted, makes <Ctrl+Delete> wipe the next @@ -564,7 +564,7 @@ bindable functions 'copytext' to 'copy' and 'uncut' to 2018 June 2 -GNU nano 2.9.8 "Espresso" brings the ability to filter the +GNU nano 2.9.8 "Espresso" brings the ability to filter the buffer (or the marked region) through an external command (^R^X and prefix the command with the pipe symbol, "|"), is better at detecting and maintaining paragraphs, is able to @@ -577,7 +577,7 @@ appending, and fixes a couple of bugs with the linter. 2018 May 15 -GNU nano 2.9.7 "Hvide Sande" adds the option '--afterends' +GNU nano 2.9.7 "Hvide Sande" adds the option '--afterends' for making Ctrl+Right (the nextword function) stop at word ends instead of beginnings, accepts multibyte letters for the Yes/No/All answers, does emergency saves of changed @@ -591,7 +591,7 @@ corresponding options -- adjust your nanorc files soon. 2018 April 27 -GNU nano 2.9.6 "Gomance" fixes a crash in word completion, +GNU nano 2.9.6 "Gomance" fixes a crash in word completion, makes --enable-altrcname work again, improves the fluidity of scrolling when using the touchpad, tweaks the syntaxes for shell scripts and PO files, makes a replacing session @@ -604,7 +604,7 @@ any locale, and solves a few hypothetical bugs. 2018 March 29 -GNU nano 2.9.5 "Kiša pada" changes the way the Scroll-Up +GNU nano 2.9.5 "Kiša pada" changes the way the Scroll-Up and Scroll-Down commands work (M-- and M-+): instead of keeping the cursor in the same screen position they now keep the cursor in the same text position (if possible). @@ -622,7 +622,7 @@ file names. 2018 March 8 -GNU nano 2.9.4 "Isabel" allows binding a key to a string +GNU nano 2.9.4 "Isabel" allows binding a key to a string (any piece of text and/or commands), permits customizing the color of error messages with 'set errorcolor', colors those error messages by default in bright white on red, @@ -639,7 +639,7 @@ and six deprecated bindable function names. 2018 January 29 -GNU nano 2.9.3 "Córdoba" fixes a segfault with trimblanks +GNU nano 2.9.3 "Córdoba" fixes a segfault with trimblanks that could occur when a typed space caused the word after it to be pushed to the next line. It further makes macros work also when your keyboard still emits escape sequences, @@ -657,7 +657,7 @@ other small fry. 2018 January 2 -GNU nano 2.9.2 "Pussy Riot" correctly displays the Modified +GNU nano 2.9.2 "Pussy Riot" correctly displays the Modified state when undoing/redoing (also when the file was saved somewhere midway), improves the undoing of an automatic linefeed at EOF, fixes a build issue on the BSDs, shows @@ -677,7 +677,7 @@ the last line of the region when it is not visibly marked 2017 November 27 -GNU nano 2.9.1 "Damyatta" fixes a bug where, when the mark +GNU nano 2.9.1 "Damyatta" fixes a bug where, when the mark is on, ^S would overwrite the file with just the marked region. This release further clears the "Modified" flag when all edits are undone, adds or updates some magic @@ -688,7 +688,7 @@ at line 1, column 1. 2017 November 18 -GNU nano 2.9.0 "Eta" introduces the ability to record and +GNU nano 2.9.0 "Eta" introduces the ability to record and replay keystrokes (M-: to start and stop recording, M-; to play the macro back), makes ^Q and ^S do something useful by default (^Q starts a backward search, and ^S @@ -707,7 +707,7 @@ file of another nano, and fixes a score of tiny bugs. 2017 August 27 -GNU nano 2.8.7 "Fragrance" fixes a lockup when tabs are +GNU nano 2.8.7 "Fragrance" fixes a lockup when tabs are wider than the screen, makes indenting + unindenting more predictable by retaining relative indentations, allows pasting (^U) at a prompt, allows triple quotes @@ -721,7 +721,7 @@ and boundary-crossing tabs. Enjoy. 2017 July 21 -GNU nano 2.8.6 "Kekulé" offers a new feature: the ability +GNU nano 2.8.6 "Kekulé" offers a new feature: the ability to do softwrapping between words -- at whitespace -- instead of always at the edge of the screen. This can be activated with -a or --atblanks or 'set atblanks' @@ -735,7 +735,7 @@ files, and renames the option 'cut' to 'cutfromcursor' 2017 June 25 -GNU nano 2.8.5 "Farouche" avoids a crash when waking from +GNU nano 2.8.5 "Farouche" avoids a crash when waking from a suspension that was induced from the outside, allows negative line and column numbers on the command line, avoids some flickering when resizing the screen while @@ -747,14 +747,14 @@ have woken from suspension when receiving a SIGCONT. 2017 May 21 -GNU nano 2.8.4 "Our Version of Events" includes the nanorc +GNU nano 2.8.4 "Our Version of Events" includes the nanorc man page again. 2017 May 18 -GNU nano 2.8.3 "Hirsch" fixes a misplacement of the spotlight +GNU nano 2.8.3 "Hirsch" fixes a misplacement of the spotlight during interactive replacing, avoids build failures on AIX and Solaris, fixes a crash on Solaris, speeds up backwards searching, improves PHP syntax highlighting, and no longer @@ -764,7 +764,7 @@ asks "save anyway?" when the user ^Q discards the buffer. 2017 May 4 -GNU nano 2.8.2 "Krats" adds another new feature: it makes +GNU nano 2.8.2 "Krats" adds another new feature: it makes the ^G help texts searchable with ^W. Apart from that, it fixes a crash when resizing the window in the middle of verbatim input, avoids an unlikely crash when used @@ -778,7 +778,7 @@ translation updates for fifteen languages. 2017 April 12 -GNU nano 2.8.1 "Ellert" fixes build failures on MacOS and +GNU nano 2.8.1 "Ellert" fixes build failures on MacOS and on musl, fixes scrolling problems in softwrap mode when double-width characters on row boundaries are involved, shows double-width characters as ">" and "<" when split @@ -796,7 +796,7 @@ in the file browser. Don't sit on your hands. 2017 March 31 -GNU nano 2.8.0 "Axat" makes it easier to move around in +GNU nano 2.8.0 "Axat" makes it easier to move around in softwrapped lines: the Up and Down keys now step from visual row to visual row instead of jumping between logical lines, and the Home and End keys now move to @@ -815,7 +815,7 @@ David Ramsey. 2017 February 23 -GNU nano 2.7.5 "Nijntje" can properly search and replace +GNU nano 2.7.5 "Nijntje" can properly search and replace the \B and \b regex anchors, correctly repaints things when multiline regexes with identical start and end are involved, fixes a crash with zero-length regex matches, @@ -829,7 +829,7 @@ standard input. Come tickle my ears. 2017 January 10 -GNU nano 2.7.4 "Red dress" undoes deletions in an orderly +GNU nano 2.7.4 "Red dress" undoes deletions in an orderly manner again (bug was introduced in previous version), sets the preferred x position for vertical movements more consistently, avoids some scrolling problems in @@ -841,7 +841,7 @@ the beginning-of-word anchor (\<) in regex searches. 2016 December 28 -GNU nano 2.7.3 "Ontbijtkoek" wipes away a handful of bugs: +GNU nano 2.7.3 "Ontbijtkoek" wipes away a handful of bugs: your editor is now able to handle filenames that contain newlines, avoids a brief flash of color when switching between buffers that are governed by different syntaxes, @@ -857,7 +857,7 @@ Tastes great with thick butter. 2016 December 12 -GNU nano 2.7.2 "Shemesh! Shemesh!" brings another feature: +GNU nano 2.7.2 "Shemesh! Shemesh!" brings another feature: the ability to complete with one keystroke (^] by default) a fragment of a word to a full word existing elsewhere in the current buffer. Besides, this release fixes two bugs @@ -874,7 +874,7 @@ run 'man nano | grep bugs' and report them there. 2016 October 29 -GNU nano 2.7.1 "Leuven" adds an often-asked-for feature: the +GNU nano 2.7.1 "Leuven" adds an often-asked-for feature: the ability to display line numbers beside the text. This can be activated with -l or --linenumbers on the command line, or with 'set linenumbers' in your nanorc, or toggled with @@ -889,7 +889,7 @@ read into it. Come and check it out! 2016 September 1 -GNU nano 2.7.0 "Suni" adds a new feature: allowing text to be +GNU nano 2.7.0 "Suni" adds a new feature: allowing text to be selected by holding Shift together with the cursor keys. Besides that, nano now works also when run in very tiny terminals (down to one line, one column), and improves @@ -904,7 +904,7 @@ back to a healthy diet of fresh green free grass. 2016 August 10 -nano 2.6.3 "Marika" makes the Ctrl+Arrow keys work also on +nano 2.6.3 "Marika" makes the Ctrl+Arrow keys work also on a Linux virtual console, takes as verbatim only the very first keystroke after M-V, removes any lock files that it holds when dying, doesn't abort when a word contains digits @@ -917,7 +917,7 @@ bytes when holding down both Alt keys. Santé! 2016 July 28 -nano 2.6.2 "Le vent nous portera" adds two new features: the +nano 2.6.2 "Le vent nous portera" adds two new features: the keystrokes Ctrl+Up and Ctrl+Down for jumping between blocks of text, and the option 'wordchars' for specifying which characters (beside alphanumeric ones) should be considered @@ -934,7 +934,7 @@ Come get your hair tousled! 2016 June 27 -nano 2.6.1 "Stampede" is chiefly a translation update, but also +nano 2.6.1 "Stampede" is chiefly a translation update, but also adds one little feature (the ability to use negative numbers with Go To Line: -1 meaning the first line from the bottom), includes syntax highlighting for Rust, and fixes three tiny @@ -945,7 +945,7 @@ even worth mentioning). 2016 June 17 -nano 2.6.0 "Rubicon" fixes more than fifty little bugs -- and +nano 2.6.0 "Rubicon" fixes more than fifty little bugs -- and some of them not so little. It improves moving about in the file browser, corrects failings of the internal spell checker, adds a new feature (comment/uncomment lines, with -- 2.39.2