<br>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
+<table border=0 width="100%">
<tr><td>
<hr>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
-<tr>
-<td WIDTH="1%" CLASS="inverted"><b><tt>^G</tt></b></td>
-<td WIDTH="22%"><tt> <a href="download.php">Get Nano</a></tt></td>
-
-<td WIDTH="1%" CLASS="inverted"><b><tt>^N</tt></b></td>
-<td WIDTH="22%"><tt> <a href="news.php">News</a></tt></td>
-
-<td WIDTH="1%" CLASS="inverted"><b><tt>^W</tt></b></td>
-<td WIDTH="22%"><tt> <a href="who.php">Who</a></tt></td>
-
-<td WIDTH="1%" CLASS="inverted"><b><tt>^T</tt></b></td>
-<td><tt> <a href="git.php">Git</a></tt></td>
-</tr>
-
-<tr>
-<td WIDTH="1%" CLASS="inverted"><b><tt>^D</tt></b></td>
-<td WIDTH="22%"><tt> <a href="docs.php">Documentation</a></tt></td>
-
-<td WIDTH="1%" CLASS="inverted"><b><tt>^H</tt></b></td>
-<td WIDTH="22%"><tt> <a href="history.php">History</a></tt></td>
-
-<td WIDTH="1%" CLASS="inverted"><b><tt>^S</tt></b></td>
-<td WIDTH="22%"><tt> <a href="screenshots.php">Screenshots</a></tt></td>
-
-<td WIDTH="1%" CLASS="inverted"><b><tt>^C</tt></b></td>
-<td><tt> <a href="contact.php">Contact</a></tt></td>
-</tr>
-</table>
+<div id="bottom" width="100%">
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^G</tt></b></span>
+<span class="indented"><tt><a href="download.php">Get Nano</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^N</tt></b></span>
+<span class="indented"><tt><a href="news.php">News</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^W</tt></b></span>
+<span class="indented"><tt><a href="who.php">Who</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^T</tt></b></span>
+<span class="indented"><tt><a href="git.php">Git</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^D</tt></b></span>
+<span class="indented"><tt><a href="docs.php">Documentation</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^H</tt></b></span>
+<span class="indented"><tt><a href="history.php">History</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^S</tt></b></span>
+<span class="indented"><tt><a href="screenshots.php">Screenshots</a></tt></span>
+</span>
+
+<span class="menuitem">
+<span class="inverted"><b><tt>^C</tt></b></span>
+<span class="indented"><tt><a href="contact.php">Contact</a></tt></span>
+</span>
+
+</div>
</td></tr>
</table>
<center><b>Documentation</b></center>
<br>
-<table BORDER=0 WIDTH="100%">
-<tr CLASS="inverted">
-<td WIDTH="25%">
+<center><table border=0 id="docs">
+<tr class="inverted">
+<td width="25%">
<center>Document Name</center>
</td>
<td>
<td>General description of noteworthy things in each release.</td>
</tr>
-</table>
+</table></center>
<?php include "bottom.php"; ?>
<center><b>Downloading GNU nano</b></center>
<br>
-<center><table BORDER=0 WIDTH="80%">
-<tr CLASS="inverted">
+<center><table border=0 id="download">
+<tr class="inverted">
<td>Description</td>
<td>Links</td>
</tr>
--- /dev/null
+dist/latest/faq.html
\ No newline at end of file
<center><b>Source Code</b></center>
<blockquote>
-You can browse nano's
-<a href="https://git.savannah.gnu.org/cgit/nano.git/log/">source code</a>
-on the web.
+Nano's source code is clonable from
+<a href="https://git.savannah.gnu.org/git/nano.git">https://git.savannah.gnu.org/git/nano.git</a>.
+<br>
+It can be browsed on the web at
+<a href="https://git.savannah.gnu.org/cgit/nano.git/log/">https://git.savannah.gnu.org/cgit/nano.git/log/</a>.
+
<p>
-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
<a href="https://git.savannah.gnu.org/cgit/nano.git/tree/README.hacking">
instructions</a> located in the git repository itself.
+
+<p>
+The source code of this website is available from
+<a href="https://git.wh0rd.org/nano-editor.git">https://git.wh0rd.org/nano-editor.git</a>.
+
<p>
<br>
<blockquote><br>
Improvements made in version 2.6:<br>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
-<UL>
+<ul>
<li>Trailing whitespace can be snipped from justified paragraphs.</li>
<li>Better feedback when a file is unwritable or a directory inaccessible.</li>
<li>Bindable functions for deleting a word to the left and to the right.</li>
<li>Resizing the window does not exit from help viewer nor file browser.</li>
<li>On some terminals Ctrl+Left and Ctrl+Right jump to previous and next word.</li>
<li>A steadier movement of the highlight in the file browser.</li>
-</UL>
+</ul>
</td></tr></table>
</blockquote>
<blockquote><br>
Improvements made in version 2.4:<br>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
-<UL>
+<ul>
<li>The ability to give different colors to title bar, status bar and help lines.</li>
<li>Linter support, for automatically putting the cursor on syntax errors.</li>
<li>Formatter support, for normalizing the layout of a text instead of the spelling.</li>
<li>Makes the mouse usable again for clicking on shortcuts.</li>
<li>Fixes several syntax coloring issues.</li>
<li>Adds more syntax highlighting examples (Go, guile, javascript, json, PO files, texinfo, ...).</li>
-</UL>
+</ul>
</td></tr></table>
</blockquote>
<blockquote><br>
Improvements made in version 2.2:<br>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
-<UL>
+<ul>
<li>Customizable key bindings.</li>
<li>Abortable searching (^C after ^W).</li>
<li>Partial undo/redo support [EXPERIMENTAL].</li>
<li>Pager support (i.e. reading from stdin).</li>
-</UL>
+</ul>
</td><td>
-<UL>
+<ul>
<li>Warnings for unwritable files and for external modification since opening.</li>
<li>"Soft" line wrapping (i.e. display of complete lines).</li>
<li>More syntax highlighting examples (Fortran, objC, OCaml, Makefiles).</li>
<li>Faster syntax highlighting for complicated regexes.</li>
-</UL>
+</ul>
</td></tr></table>
</blockquote>
<blockquote><br>
Improvements made in version 2.0:<br>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
-<UL>
+<ul>
<li>UTF-8 support.</li>
<li>Improved color syntax highlighting.</li>
<li>Copy text without cutting it.</li>
<li>Verbatim input mode.</li>
<li>Repeat last seach (Meta-W).</li>
-</UL>
+</ul>
</td><td>
-<UL>
+<ul>
<li>Spell check/replace selected text only.</li>
<li>Indent marked text.</li>
<li>Move to beginning/end of paragraph.</li>
<li>Search within the file browser.</li>
<li>Auto-conversion of mixed file format.</li>
-</UL>
+</ul>
</td></tr></table>
</blockquote>
<blockquote><br>
Improvements made in version 1.2:<br>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
-<UL>
+<ul>
<li>More Pico compatible by default.</li>
<li>Smooth scrolling (-S flag).</li>
<li>Bracket matching (Meta-]).</li>
<li>Color syntax highlighting.</li>
<li>Search and replace history editing.</li>
<li>Customizable quoting string (-Q flag).</li>
-</UL>
+</ul>
</td><td>
-<UL>
+<ul>
<li>Append/prepend from write file menu.</li>
<li>Write selected text to file (^O after ^^).</li>
<li>Multiple file buffers (-F flag).</li>
<li>Saved search/replace history (-H flag).</li>
<li>Backup files (-B flag).</li>
<li>Insert output of command (^X after ^R).</li>
-</UL>
+</ul>
</td></tr></table>
</blockquote>
<blockquote><br>
Version 1.0 had the following features:<br>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%"><tr><td>
+<table border=0 width="100%"><tr><td>
-<UL>
+<ul>
<li>Autoconf support.</li>
<li>Truly free license (GNU GPL).</li>
<li>Goto-line command without a flag.</li>
<li>Case-sensitive search function.</li>
<li>Interactive search and replace.</li>
<li>About half the size of the Pico binary.</li>
-</UL>
+</ul>
</td><td>
-<UL>
+<ul>
<li>Slang and ncurses support.</li>
<li>Autoindent abillity.</li>
<li>Displayed tab width option.</li>
<li>Regular-expression search and replace.</li>
<li>Toggles for command-line flags via Meta keys.</li>
<li>Tab completion when reading/writing files.</li>
-</UL>
+</ul>
</td></tr></table>
</blockquote>
<?php $title="Text editor"; $mainpage="true"; include "top.php"; ?>
-<table BORDER=0 CELLSPACING=40 WIDTH="100%">
+<table id="homepage" width="100%">
<tr>
<td>
<center>
-6
\ No newline at end of file
+7
\ No newline at end of file
-2022 August 2
\ No newline at end of file
+2023 January 18
\ No newline at end of file
-6.4
\ No newline at end of file
+7.2
\ No newline at end of file
<?php $title="News"; include "top.php"; ?>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
+<table border=0 width="100%">
<tr>
<td>
<br><br>
<td>
<br><br>
+2023 January 18 - <b>GNU nano 7.2</b> "Boer doe mij 't hekke lös!"
+<br>
+<table><tr><td><ul>
+<li><Shift+Insert> is prevented from pasting in view mode.</li>
+</ul></td></tr></table>
+<br><br>
+
+2022 December 14 - <b>GNU nano 7.1</b> "And the devices shall be made of wood"
+<br>
+<table><tr><td><ul>
+<li>When <tt>--autoindent</tt> and <tt>--breaklonglines</tt> are combined, pressing<br>
+ <Enter> at a specific position no longer eats characters.</li>
+</ul></td></tr></table>
+<br><br>
+
+2022 November 15 - <b>GNU nano 7.0</b> "Una existencia simple bajo el sol"
+<br>
+<table><tr><td><ul>
+<li>String binds may contain bindable function names between braces.<br>
+ For example, to move the current line down to after the next one:<br>
+ <tt>bind ^D "{cut}{down}{paste}{up}" main</tt>. Of course, braced function<br>
+ names may be mixed with literal text. If an existing string bind<br>
+ contains a literal <tt>{</tt>, replace it with <tt>{{}</tt>.</li>
+<li>Unicode codes can be entered (via <tt>M-V</tt>) without leading zeroes,<br>
+ by finishing short codes with <Space> or <Enter>.</li>
+<li>Word completion (<tt>^]</tt>) looks for candidates in all open buffers.</li>
+<li>No regular expression matches the final empty line any more.</li>
+</ul></td></tr></table>
+<br><br>
+
+
2022 August 2 - <b>GNU nano 6.4</b> "Regentag Dunkelbunt Hundertwasser"
<br>
<table><tr><td><ul>
<?php $title="Screenshots"; include "top.php"; ?>
+<span id="screenshots">
+
<br>
<center><b>Screenshots</b></center>
<br>
<blockquote>
-<UL>
+<ul>
-<LI>5.x era<br>
+<li>5.x era<br>
With <tt>--indicator</tt> and <tt>--nohelp</tt> and a highlighted search match:<br>
<img src="nano-5.7.png" alt="screenshot of 5.7"><br><br>
-</LI>
+</li>
-<LI>4.x era<br>
+<li>4.x era<br>
Modern version showing line numbers and selected text:<br>
<img src="nano-4.2.png" alt="screenshot of 4.2"><br><br>
-</LI>
+</li>
-<LI>3.x era<br>
+<li>3.x era<br>
Modern version showing its undo support:<br>
<img src="nano-3.2.png" alt="screenshot of 3.2"><br><br>
-</LI>
+</li>
-<LI>2.x era<br>
+<li>2.x era<br>
Modern version with a colorized interface:<br>
<img src="nano-2.5.0.png" alt="screenshot of 2.5.0"><br><br>
-</LI>
+</li>
-<LI>1.x era<br>
+<li>1.x era<br>
Showing support for syntax highlighting:<br>
<img src="colorsyntax.png" alt="screenshot"><br><br>
Switching between multiple file buffers with Meta-< and Meta->:<br>
<img src="multibuffer.png" alt="screenshot"><br><br>
-</LI>
+</li>
-<LI>before 1.0<br>
+<li>before 1.0<br>
Default (basic) nano setup:<br>
<img src="nanodefault2.png" alt="screenshot"><br><br>
-</LI>
+</li>
-</UL>
+</ul>
</blockquote>
+</span>
+
<?php include "bottom.php"; ?>
+++ /dev/null
-/*
- * 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%;
-}
+++ /dev/null
-/*
- * 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%;
-}
--- /dev/null
+@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;
+}
+}
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>nano – <?= $title ?></title>
<?php if (isset($mainpage)): ?>
<meta name="description" content="GNU nano is a small editor for on the terminal. It supports syntax highlighting, spell checking, justifying, completion, undo/redo...">
<?php endif; ?>
<link rel="icon" href="/favicon.ico">
- <link rel="stylesheet" href="style-dark.css" media="(prefers-color-scheme: dark)">
- <link rel="stylesheet" href="style-light.css" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)">
+ <link rel="stylesheet" href="style.css">
</head>
<body>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
+<table border=0 width="100%">
<tr><td>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" CLASS="inverted">
+<table id="top" border=0 width="100%" class="inverted">
<tr>
-<td>
- Latest version:
-<?php include "last-version"; ?>
-
-</td>
-
-<td align="center">
-<a href="/">The GNU nano homepage</a>
-</td>
-
-<td align="right">
-Modified:
-<?php include "last-modified"; ?>
-
-</td>
+<td>Latest version:
+<?php include "last-version"; ?></td>
+
+<td align="center"><a href="/">The GNU nano homepage</a></td>
+
+<td align="right">Modified:
+<?php include "last-modified"; ?></td>
</tr>
</table>
<br><br>
<center><b>Original Author</b></center>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
+<table border=0 width="100%">
<tr>
<td><center>Chris Allegretta</center></td>
</tr>
<br><br>
<center><b>Current Maintainer</b></center>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
+<table border=0 width="100%">
<tr>
<td><center>Benno Schulenberg</center></td>
</tr>
<br><br>
<center><b>Former Maintainers</b></center>
-<table ALIGN=CENTER BORDER=0 CELLSPACING=0 WIDTH="60%">
-<tr ALIGN=CENTER>
+<table align="center" border=0 width="60%">
+<tr align="center">
<td><center>David Lawrence Ramsey</center></td>
<td><center>Chris Allegretta</center></td>
</tr>
<br><br>
<center><b>Early Co-Developers</b></center>
-<table ALIGN=CENTER BORDER=0 CELLSPACING=0 WIDTH="80%">
-<tr ALIGN=CENTER>
+<table align="center" border=0 width="80%">
+<tr align="center">
<td><center>Jordi Mallach</center></td>
<td><center>David Benbennick</center></td>
<td><center>Rocco Corsi</center></td>
</tr>
-<tr ALIGN=CENTER>
+<tr align="center">
<td><center>Mike Frysinger</center></td>
<td><center>Adam Rogoyski</center></td>
<td><center>Rob Siemborski</center></td>
<br><br>
<center><b>Contributors of Code and Fixes</b></center>
-<table BORDER=0 CELLSPACING=0 WIDTH="100%">
-<tr ALIGN=CENTER>
+<table border=0 width="100%">
+<tr align="center">
<td>Ken Tyler</td>
<td>Sven Guckes</td>
<td>Bill Soudan</td>
<td>Christian Weisgerber</td>
<td>Kamil Dudka</td>
</tr>
-<tr ALIGN=CENTER>
+<tr align="center">
<td>Mark Majeres</td>
<td>Joshua Jensen</td>
<td>Ryan Krebs</td>
<td>Big Gaute</td>
<td>Albert Chin</td>
</tr>
-<tr ALIGN=CENTER>
+<tr align="center">
<td>Faissal Bensefia</td>
<td>Mahyar Abbaspour</td>
<td>Mike Scalora</td>