No description
  • C 96.5%
  • M4 2.7%
  • Shell 0.4%
  • Makefile 0.3%
Find a file
Thomas Turner b83fc23d56 the nano 8.6 release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmimt5EACgkQUUu+Lrjh
 lh/YhhAA6J+AJq8uD1MEqPPhrDgq6sSbClE2ZFTD6ylo1l/NuGW+FicKVzdq6WVg
 ZOgJuvoXLT4uyPn7dm/FTiiFd0JEsRhO+IJfGNrklcEGUGyELRxy8fQS+/+48dGC
 tT5UcjjrssmU/t1Gp18T7OyA8ONNUBooGvGbLdx/QmLr8ox8eNpHQoFJ4VNT1Xdr
 Yi8wwtL7+tPt8vnBtzjQ7lk1jkT+DTs0toDgRt+l31tdHkF8zFxuxmteou1Ot1qJ
 ZOtvrEIWlXWlPTt6yoCAvG1tccMrdbXGtk4r9wZBsQODcB5oEw10BVtaMVdPPNhW
 bjR9oi53aZvZM/M8aqLl8APfO6MuoTU4dvZ4tYuLhqzvvOx7PZkMSEJP5mKmcp5n
 AkOSEVvwA8lDuNlBlvid7brbV9rt9xx2/bFaxa3YlF/DuVbNpfNPEn8GP+pKXDID
 ls3/nnd0SrQfWjESyz1qUpvTecYWznZbQg/0yfquZ7ReVEQqWzVC8+eDNs8w5Qja
 6ytvNo8uHkCia2Fun5C1KKorSibCDQm9JJ2tFIEi0RwM5LLlTjIRqMiuZuXjBggE
 dp21R94TTyBqOemldelgTc5LLqjZrjQ2xnxVO2n0e8EN4fx/ZGKppBVQIR3jDNKi
 tDEtR92ngvfkneL0i4EsQ8XvAfKFlx+WHS7vn1hjwl9AaWpyzqI=
 =ZS9E
 -----END PGP SIGNATURE-----

Merge tag 'v8.6' of git://git.git.savannah.gnu.org/nano into lineage-23.0

* tag 'v8.6' of git://git.git.savannah.gnu.org/nano:
  po: update translations and regenerate POT file and PO files
  bump version numbers and add a news item for the 8.6 release
  gnulib: update to its current upstream state
  completion: don't stop looking for candidates one byte too early
  rcfile: accept also {}} in a string bind, for symmetry with {{}
  tweaks: swap two symbolic menu names, for giggles
  browser: let a refresh also reread the file list, like it used to
  browser: redo the layout only when an actual resize occurred
  browser: redo the layout when the window _might_ have resized
  display: when resizing, redraw the bottom bars also when in file browser
  syntax: po: colorize also the %b and %B format specifiers
  tweaks: put two related checks together, like they are elsewhere
  tweaks: reshuffle some lines, to group things better
  tweaks: use a direct parameter instead of an intermediary boolean
  tweaks: rename a parameter, and invert its logic
  tweaks: normalize the indentation after the previous change
  tweaks: split the goto function into an interactive and command-line one
  tweaks: reshuffle a condition to a better place, like it is elsewhere
  tweaks: reshuffle a few lines, for density and to elide an 'else'
  history: do not forget anchors when line number is given on command line
  docs: document the ++/-- prefix feature for the `gotoline` function
  new feature: interpret a line number prefixed with ++ or -- as relative
  tweaks: remove a check for a symbol that never gets defined

Change-Id: I61b21eafc537c9fd6ad2e140abdb909305e9b343
2025-10-27 20:27:57 +00:00
doc bump version numbers and add a news item for the 8.6 release 2025-08-20 12:44:42 +02:00
etc nano: Move to /system_ext 2022-02-08 13:37:36 +00:00
m4 gnulib: update to its current upstream state 2024-07-01 11:07:03 +02:00
po po: update translations and regenerate POT file and PO files 2025-08-21 08:06:48 +02:00
src the nano 8.6 release 2025-10-27 20:27:57 +00:00
syntax rcfile: accept also {}} in a string bind, for symmetry with {{} 2025-08-02 09:48:05 +02:00
.gitignore the nano 8.5 release 2025-06-26 09:00:35 +02:00
Android.bp nano: Add recovery variant 2024-10-16 17:43:32 +00:00
AUTHORS docs: mention former maintainership last among an author's contributions 2024-08-10 17:36:31 +02:00
autogen.sh gnulib: update to its current upstream state 2025-08-20 08:37:08 +02:00
ChangeLog bump version numbers and add a news item for the 8.6 release 2025-08-20 12:44:42 +02:00
ChangeLog.1999-2006 tweaks: random unimportant edits here and there 2025-05-18 12:34:07 +02:00
ChangeLog.2007-2015 tweaks: fix twenty typos, in old Changelogs and in some comments 2020-03-25 16:57:43 +01:00
config.h the nano 8.6 release 2025-10-27 20:27:57 +00:00
configure.ac bump version numbers and add a news item for the 8.6 release 2025-08-20 12:44:42 +02:00
COPYING convert to GPLv3 or later 2007-08-11 05:17:36 +00:00
COPYING.DOC convert documentation to GPLv3/GFDLv1.2 2007-08-23 04:34:35 +00:00
IMPROVEMENTS bump version numbers and add a news item for the 8.5 release 2025-06-12 09:09:45 +02:00
Makefile.am build: stop distributing the README.GIT file 2020-08-24 09:29:05 +02:00
nano-regress 2014-05-29 Chris Allegretta <chrisa@asty.org> 2014-05-29 18:30:23 +00:00
NEWS bump version numbers and add a news item for the 8.6 release 2025-08-20 12:44:42 +02:00
README bump version numbers and add a news item for the 8.6 release 2025-08-20 12:44:42 +02:00
README.hacking build: require version 0.20 of gettext for building nano from git 2024-06-17 09:50:08 +02:00
roll-a-release.sh bump version numbers and add a news item for the 8.6 release 2025-08-20 12:44:42 +02:00
THANKS docs: say thanks to the Albanian translator 2022-12-09 11:58:07 +01:00
TODO docs: reduce the TODO file to a reference to the bug tracker on Savannah 2020-03-26 19:27:46 +01:00

          GNU nano -- a simple editor, inspired by Pico

Purpose

    Nano is a small and simple text editor for use on the terminal.
    It copied the interface and key bindings of the Pico editor but
    added several missing features: undo/redo, syntax highlighting,
    line numbers, softwrapping, multiple buffers, selecting text by
    holding Shift, search-and-replace with regular expressions, and
    several other conveniences.

Appearance

    In rough ASCII graphics, this is what nano's screen looks like:

   ____________________________________________________________________
  |  GNU nano 8.6                  filename                  Modified  |
   --------------------------------------------------------------------
  | This is the text window, displaying the contents of a 'buffer',    |
  | the contents of the file you are editing.                          |
  |                                                                    |
  | The top row of the screen is the 'title bar'; it shows nano's      |
  | version, the name of the file, and whether you modified it.        |
  | The two bottom rows display the most important shortcuts; in       |
  | those lines ^ means Ctrl.  The third row from the bottom shows     |
  | some feedback message, or gets replaced with a prompt bar when     |
  | you tell nano to do something that requires extra input.           |
  |                                                                    |
   --------------------------------------------------------------------
  |                       [ Some status message ]                      |
  |^G Help       ^O Write Out  ^F Where Is   ^K Cut        ^T Execute  |
  |^X Exit       ^R Read File  ^\ Replace    ^U Paste      ^J Justify  |
   --------------------------------------------------------------------

Origin

    The nano project was started in 1999 because of a few "problems"
    with the wonderfully easy-to-use and friendly Pico text editor.

    First and foremost was its license: the Pine suite does not use
    the GPL, and (before using the Apache License) it had unclear
    restrictions on redistribution.  Because of this, Pine and Pico
    were not included in many GNU/Linux distributions.  Furthermore,
    some features (like go-to-line-number or search-and-replace) were
    unavailable for a long time or require a command-line flag.  Yuck.

    Nano aimed to solve these problems by: 1) being truly free software
    by using the GPL, 2) emulating the functionality of Pico as closely
    as is reasonable, and 3) including extra functionality by default.

    Nowadays, nano wants to be a generally useful editor with sensible
    defaults (linewise scrolling, no automatic line breaking).

    The nano editor is an official GNU package.  For more information on
    GNU and the Free Software Foundation, please see https://www.gnu.org/.

License

    Nano's code and documentation are covered by the GPL version 3 or
    (at your option) any later version, except for two functions that
    were copied from busybox which are under a BSD license.  Nano's
    documentation is additionally covered by the GNU Free Documentation
    License version 1.2 or (at your option) any later version.  See the
    files COPYING and COPYING.DOC for the full text of these licenses.

    When in any file of this package a copyright notice mentions a
    year range (such as 1999-2011), it is a shorthand for a list of
    all the years in that interval.

How to compile and install nano

    Download the latest nano source tarball, and then:

        tar -xvf nano-x.y.tar.gz
        cd nano-x.y
        ./configure
        make
        make install

    You will need the header files of ncurses installed for ./configure
    to succeed -- get them from libncurses-dev (Debian) or ncurses-devel
    (Fedora) or a similarly named package.  Use --prefix with ./configure
    to override the default installation directory of /usr/local.

    After installation you may want to copy the doc/sample.nanorc file
    to your home directory, rename it to ".nanorc", and then edit it
    according to your taste.

Web Page

    https://nano-editor.org/

Mailing Lists

    There are three nano-related mailing-lists.

    * <info-nano@gnu.org> is a very low traffic list used to announce
      new nano versions or other important info about the project.

    * <help-nano@gnu.org> is for those seeking to get help without
      wanting to hear about the technical details of its development.

    * <nano-devel@gnu.org> is the list used by the people that make nano
      and a general development discussion list, with moderate traffic.

    To subscribe, send email to <name>-request@gnu.org with a subject
    of "subscribe", where <name> is the list you want to subscribe to.

    The archives of the development and help mailing lists are here:

        https://lists.gnu.org/archive/html/nano-devel/
        https://lists.gnu.org/archive/html/help-nano/

Bug Reports

    If you find a bug, please file a detailed description of the problem
    on nano's issue tracker: https://savannah.gnu.org/bugs/?group=nano
    (you will need an account to be able to do so), or send an email
    to the nano-devel list (no need to subscribe, but mention it if
    you want to be CC'ed on an answer).