From: Benno Schulenberg Date: Sun, 3 Dec 2023 10:52:12 +0000 (+0100) Subject: add a line break X-Git-Url: https://git.wh0rd.org/?p=nano-editor.git;a=commitdiff_plain;h=HEAD;hp=385b36e29b88f389efbd2d64027f5bd6703fa3b1 add a line break --- diff --git a/bottom.php b/bottom.php index 2f267bc..2e7539d 100644 --- a/bottom.php +++ b/bottom.php @@ -1,38 +1,52 @@
- +

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
^G Get Nano^N News^W Who^T Git
^D Documentation^H History^S Screenshots^C Contact
+
+ + +^G +Get Nano + + + +^N +News + + + +^W +Who + + + +^T +Git + + + +^D +Documentation + + + +^H +History + + + +^S +Screenshots + + + +^C +Contact + + +
diff --git a/docs.php b/docs.php index a0f2296..c04710c 100644 --- a/docs.php +++ b/docs.php @@ -4,9 +4,9 @@
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 c2aa72f..9865c25 100644 --- a/download.php +++ b/download.php @@ -4,8 +4,8 @@
Downloading GNU nano

-
- +
+ diff --git a/faq.html b/faq.html new file mode 120000 index 0000000..db90276 --- /dev/null +++ b/faq.html @@ -0,0 +1 @@ +dist/latest/faq.html \ No newline at end of file diff --git a/git.php b/git.php index 45fb20a..aa34526 100644 --- a/git.php +++ b/git.php @@ -4,14 +4,22 @@
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. + +

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


diff --git a/history.php b/history.php index a271d52..91c0a7f 100644 --- a/history.php +++ b/history.php @@ -8,9 +8,9 @@


Improvements made in version 2.6:
-
Description Links
+
-
    +
    • Trailing whitespace can be snipped from justified paragraphs.
    • Better feedback when a file is unwritable or a directory inaccessible.
    • Bindable functions for deleting a word to the left and to the right.
    • @@ -20,7 +20,7 @@ Improvements made in version 2.6:
    • Resizing the window does not exit from help viewer nor file browser.
    • On some terminals Ctrl+Left and Ctrl+Right jump to previous and next word.
    • A steadier movement of the highlight in the file browser.
    • -
    +
@@ -29,9 +29,9 @@ Improvements made in version 2.6:

Improvements made in version 2.4:
-
+
-
    +
    • The ability to give different colors to title bar, status bar and help lines.
    • Linter support, for automatically putting the cursor on syntax errors.
    • Formatter support, for normalizing the layout of a text instead of the spelling.
    • @@ -41,7 +41,7 @@ Improvements made in version 2.4:
    • Makes the mouse usable again for clicking on shortcuts.
    • Fixes several syntax coloring issues.
    • Adds more syntax highlighting examples (Go, guile, javascript, json, PO files, texinfo, ...).
    • -
    +
@@ -50,23 +50,23 @@ Improvements made in version 2.4:

Improvements made in version 2.2:
-
+
-
    +
    • Customizable key bindings.
    • Abortable searching (^C after ^W).
    • Partial undo/redo support [EXPERIMENTAL].
    • Pager support (i.e. reading from stdin).
    • -
    +
-
    +
    • Warnings for unwritable files and for external modification since opening.
    • "Soft" line wrapping (i.e. display of complete lines).
    • More syntax highlighting examples (Fortran, objC, OCaml, Makefiles).
    • Faster syntax highlighting for complicated regexes.
    • -
    +
@@ -75,25 +75,25 @@ Improvements made in version 2.2:

Improvements made in version 2.0:
-
+
-
    +
    • UTF-8 support.
    • Improved color syntax highlighting.
    • Copy text without cutting it.
    • Verbatim input mode.
    • Repeat last seach (Meta-W).
    • -
    +
-
    +
    • Spell check/replace selected text only.
    • Indent marked text.
    • Move to beginning/end of paragraph.
    • Search within the file browser.
    • Auto-conversion of mixed file format.
    • -
    +
@@ -102,9 +102,9 @@ Improvements made in version 2.0:

Improvements made in version 1.2:
-
+
-
    +
    • More Pico compatible by default.
    • Smooth scrolling (-S flag).
    • Bracket matching (Meta-]).
    • @@ -112,11 +112,11 @@ Improvements made in version 1.2:
    • Color syntax highlighting.
    • Search and replace history editing.
    • Customizable quoting string (-Q flag).
    • -
    +
-
    +
    • Append/prepend from write file menu.
    • Write selected text to file (^O after ^^).
    • Multiple file buffers (-F flag).
    • @@ -124,7 +124,7 @@ Improvements made in version 1.2:
    • Saved search/replace history (-H flag).
    • Backup files (-B flag).
    • Insert output of command (^X after ^R).
    • -
    +
@@ -133,27 +133,27 @@ Improvements made in version 1.2:

Version 1.0 had the following features:
-
+
-
    +
    • Autoconf support.
    • Truly free license (GNU GPL).
    • Goto-line command without a flag.
    • Case-sensitive search function.
    • Interactive search and replace.
    • About half the size of the Pico binary.
    • -
    +
-
    +
    • Slang and ncurses support.
    • Autoindent abillity.
    • Displayed tab width option.
    • Regular-expression search and replace.
    • Toggles for command-line flags via Meta keys.
    • Tab completion when reading/writing files.
    • -
    +
diff --git a/index.php b/index.php index 8a7bba9..cc81b5b 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ - +
diff --git a/last-modified b/last-modified index 3c28923..d7ee8f6 100644 --- a/last-modified +++ b/last-modified @@ -1 +1 @@ -2022 December 14 \ No newline at end of file +2023 January 18 \ No newline at end of file diff --git a/last-version b/last-version index 986084f..be4cea5 100644 --- a/last-version +++ b/last-version @@ -1 +1 @@ -7.1 \ No newline at end of file +7.2 \ No newline at end of file diff --git a/news.php b/news.php index 16e9329..911f25b 100644 --- a/news.php +++ b/news.php @@ -1,6 +1,6 @@ - +


@@ -12,6 +12,13 @@


+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"
    diff --git a/screenshots.php b/screenshots.php index e5c758b..f892f37 100644 --- a/screenshots.php +++ b/screenshots.php @@ -1,46 +1,50 @@ + +
    Screenshots

    -
      +
        -
      • 5.x era
        +
      • 5.x era
        With --indicator and --nohelp and a highlighted search match:
        screenshot of 5.7

        -
      • + -
      • 4.x era
        +
      • 4.x era
        Modern version showing line numbers and selected text:
        screenshot of 4.2

        -
      • + -
      • 3.x era
        +
      • 3.x era
        Modern version showing its undo support:
        screenshot of 3.2

        -
      • + -
      • 2.x era
        +
      • 2.x era
        Modern version with a colorized interface:
        screenshot of 2.5.0

        -
      • + -
      • 1.x era
        +
      • 1.x era
        Showing support for syntax highlighting:
        screenshot

        Switching between multiple file buffers with Meta-< and Meta->:
        screenshot

        -
      • + -
      • before 1.0
        +
      • before 1.0
        Default (basic) nano setup:
        screenshot

        -
      • + -
      +
    +
    + diff --git a/style-dark.css b/style-dark.css deleted file mode 100644 index 6e621b5..0000000 --- a/style-dark.css +++ /dev/null @@ -1,36 +0,0 @@ -/* - * The dark style when user prefers that in their browser/OS. - */ - -body { - color: #cc88ff; - background-color: #111; -} -.inverted { - color: white; - background-color: #9200ff; -} - -a { - color: #cc88ff; -} -a:visited { - color: #bb77ff; -} -a:active { - color: #FF0000; -} - -.inverted a { - color: white; -} - -* { - box-sizing: border-box; -} - -.onecolumn { - float: left; - width: 45%; - padding: 5%; -} diff --git a/style-light.css b/style-light.css deleted file mode 100644 index 7af7eb2..0000000 --- a/style-light.css +++ /dev/null @@ -1,36 +0,0 @@ -/* - * The default (light) style. - */ - -body { - color: #440077; - background-color: white; -} -.inverted { - color: white; - background-color: #440077; -} - -a { - color: #440077; -} -a:visited { - color: #51188E; -} -a:active { - color: #FF0000; -} - -.inverted a { - color: white; -} - -* { - box-sizing: border-box; -} - -.onecolumn { - float: left; - width: 45%; - padding: 5%; -} diff --git a/style.css b/style.css new file mode 100644 index 0000000..cd59d15 --- /dev/null +++ b/style.css @@ -0,0 +1,135 @@ +@charset "utf-8"; + +/* Variables for light & dark modes. */ + +:root { + --nano-content-bg-color: #fff; + --nano-content-fg-color: #440077; + --nano-inverted-bg-color: #407; + --nano-inverted-fg-color: #fff; + --nano-a-color: #407; + --nano-a-visited-color: #51188E; + --nano-a-active-color: #F00; + --nano-a-inverted-color: #fff; +} + +@media (prefers-color-scheme: dark) { +:root { + --nano-content-bg-color: #111; + --nano-content-fg-color: #cc88ff; + --nano-inverted-bg-color: #9200ff; + --nano-inverted-fg-color: #fff; + --nano-a-color: #c8f; + --nano-a-visited-color: #b7f; + --nano-a-active-color: #F00; + --nano-a-inverted-color: #fff; +} +} + +body { + color: var(--nano-content-fg-color); + background-color: var(--nano-content-bg-color); +} +.inverted { + color: var(--nano-inverted-fg-color); + background-color: var(--nano-inverted-bg-color); +} + +a { + color: var(--nano-a-color); +} +a:visited { + color: var(--nano-a-visited-color); +} +a:active { + color: var(--nano-a-active-color); +} + +.inverted a { + color: var(--nano-a-inverted-color); +} + +* { + box-sizing: border-box; +} + +.onecolumn { + float: left; + width: 45%; + padding: 5%; +} + +table { + border-spacing: 0px; + border-collapse: separate; +} + +table#homepage { + padding-top: 3em; + padding-bottom: 3em; +} + +table#top td, +div#bottom .indented { + padding-left: 1ch; + padding-right: 1ch; +} + +table#docs, +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 { + margin: 0px; +} + +blockquote { + margin: 1em 0 1em 0; +} + +table#homepage { + font-size: x-small; +} + +table#top td, +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%; +} + +#screenshots ul { + padding-left: 0; +} +} + +@media only screen and (max-width: 600px) { +div#bottom span.menuitem { + flex-basis: 50%; + line-height: 1.5em; +} +} diff --git a/top.php b/top.php index 5445083..658d443 100644 --- a/top.php +++ b/top.php @@ -3,38 +3,30 @@ + nano – <?= $title ?> - - + - +
    - +
    - - - - - + + + + +
    - Latest version: - -           - -The GNU nano homepage - -Modified: - -  -Latest version: +The GNU nano homepageModified: +
    diff --git a/who.php b/who.php index 1990295..5a07377 100644 --- a/who.php +++ b/who.php @@ -3,7 +3,7 @@

    Original Author
    - +
    @@ -12,7 +12,7 @@

    Current Maintainer
    -
    Chris Allegretta
    +
    @@ -21,8 +21,8 @@

    Former Maintainers
    -
    Benno Schulenberg
    - +
    + @@ -31,13 +31,13 @@

    Early Co-Developers
    -
    David Lawrence Ramsey
    Chris Allegretta
    - +
    + - + @@ -47,22 +47,22 @@

    Contributors of Code and Fixes
    -
    Jordi Mallach
    David Benbennick
    Rocco Corsi
    Mike Frysinger
    Adam Rogoyski
    Rob Siemborski
    - +
    + - + - +
    Ken Tyler Sven Guckes Bill Soudan Christian Weisgerber Kamil Dudka
    Mark Majeres Joshua Jensen Ryan Krebs Big Gaute Albert Chin
    Faissal Bensefia Mahyar Abbaspour Mike Scalora