2000-06-06 05:53:49 +00:00
|
|
|
|
2019-01-22 20:20:46 +00:00
|
|
|
GNU nano -- a simple editor, inspired by Pico
|
2001-04-07 17:50:03 +00:00
|
|
|
|
2021-07-18 15:02:10 +00:00
|
|
|
Purpose
|
2000-12-27 15:46:22 +00:00
|
|
|
|
2021-07-18 15:02:10 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
Origin
|
|
|
|
|
|
|
|
The nano project was started in 1999 because of a few "problems"
|
|
|
|
with the wonderfully easy-to-use and friendly Pico text editor.
|
2000-12-27 15:46:22 +00:00
|
|
|
|
2018-01-09 15:47:51 +00:00
|
|
|
First and foremost was its license: the Pine suite does not use
|
2019-01-23 18:13:23 +00:00
|
|
|
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.
|
2000-06-06 05:53:49 +00:00
|
|
|
|
2019-01-22 20:20:46 +00:00
|
|
|
Nano aimed to solve these problems by: 1) being truly free software
|
|
|
|
by using the GPL, 2) emulating the functionality of Pico as closely
|
2019-04-28 08:34:32 +00:00
|
|
|
as is reasonable, and 3) including extra functionality by default.
|
2019-01-22 20:20:46 +00:00
|
|
|
|
2019-04-28 08:34:32 +00:00
|
|
|
Nowadays, nano wants to be a generally useful editor with sensible
|
|
|
|
defaults (linewise scrolling, no automatic line breaking).
|
2001-02-14 14:28:27 +00:00
|
|
|
|
2018-01-09 15:47:51 +00:00
|
|
|
The nano editor is an official GNU package. For more information on
|
2018-11-11 11:28:40 +00:00
|
|
|
GNU and the Free Software Foundation, please see https://www.gnu.org/.
|
2004-01-10 06:12:04 +00:00
|
|
|
|
2000-06-06 05:53:49 +00:00
|
|
|
How to compile and install nano
|
|
|
|
|
2020-10-11 14:29:40 +00:00
|
|
|
Download the latest nano source tarball, and then:
|
2015-02-21 09:45:53 +00:00
|
|
|
|
2019-10-27 18:15:04 +00:00
|
|
|
tar -xvf nano-x.y.tar.gz
|
|
|
|
cd nano-x.y
|
2018-01-09 15:47:51 +00:00
|
|
|
./configure
|
|
|
|
make
|
|
|
|
make install
|
2004-01-10 06:12:04 +00:00
|
|
|
|
2020-10-11 14:29:40 +00:00
|
|
|
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.
|
2015-02-21 09:45:53 +00:00
|
|
|
|
2020-10-11 14:29:40 +00:00
|
|
|
After installation you may want to copy the doc/sample.nanorc file
|
|
|
|
to your home directory, rename it to ".nanorc", and then edit it
|
2018-01-09 15:47:51 +00:00
|
|
|
according to your taste.
|
2004-01-10 06:12:04 +00:00
|
|
|
|
2000-06-06 05:53:49 +00:00
|
|
|
Web Page
|
|
|
|
|
2018-01-09 15:47:51 +00:00
|
|
|
https://nano-editor.org/
|
2004-01-10 06:12:04 +00:00
|
|
|
|
2016-11-13 19:35:19 +00:00
|
|
|
Mailing Lists
|
2000-06-06 05:53:49 +00:00
|
|
|
|
2018-01-09 15:47:51 +00:00
|
|
|
There are three nano-related mailing-lists.
|
2004-01-10 06:02:05 +00:00
|
|
|
|
2018-01-09 15:47:51 +00:00
|
|
|
+ info-nano@gnu.org is a very low traffic list used to announce
|
|
|
|
new nano versions or other important info about the project.
|
2020-10-11 14:29:40 +00:00
|
|
|
|
2018-01-09 15:47:51 +00:00
|
|
|
+ help-nano@gnu.org is for those seeking to get help without
|
|
|
|
wanting to hear about the technical details of its development.
|
2020-10-11 14:29:40 +00:00
|
|
|
|
2018-01-09 15:47:51 +00:00
|
|
|
+ nano-devel@gnu.org is the list used by the people that make nano
|
|
|
|
and a general development discussion list, with moderate traffic.
|
2016-11-13 19:35:19 +00:00
|
|
|
|
2018-01-09 15:47:51 +00:00
|
|
|
To subscribe, send email to <name>-request@gnu.org with a subject
|
|
|
|
of "subscribe", where <name> is the list you want to subscribe to.
|
2016-11-13 19:35:19 +00:00
|
|
|
|
2020-12-21 10:17:24 +00:00
|
|
|
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/
|
|
|
|
|
2016-11-13 19:35:19 +00:00
|
|
|
Bug Reports
|
|
|
|
|
2020-12-25 15:40:51 +00:00
|
|
|
If you find a bug, please file a detailed description of the problem
|
|
|
|
on nano's bug tracker: https://savannah.gnu.org/bugs/?group=nano.
|
2000-06-06 05:53:49 +00:00
|
|
|
|
2017-04-09 10:09:23 +00:00
|
|
|
Copyright Years
|
|
|
|
|
2018-01-09 15:47:51 +00:00
|
|
|
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.
|