GNU nano is a
text editor
A text editor is a type of computer program that edits plain text. An example of such program is "notepad" software (e.g. Windows Notepad). Text editors are provided with operating systems and software development packages, and can be used to c ...
for
Unix-like
A Unix-like (sometimes referred to as UN*X, *nix or *NIX) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Uni ...
computing systems or operating environments using a
command line interface. It emulates the
Pico text editor, part of the
Pine
A pine is any conifer tree or shrub in the genus ''Pinus'' () of the family Pinaceae. ''Pinus'' is the sole genus in the subfamily Pinoideae.
''World Flora Online'' accepts 134 species-rank taxa (119 species and 15 nothospecies) of pines as cu ...
email client, and also provides additional functionality. Unlike Pico, nano is licensed under the
GNU General Public License
The GNU General Public Licenses (GNU GPL or simply GPL) are a series of widely used free software licenses, or ''copyleft'' licenses, that guarantee end users the freedom to run, study, share, or modify the software. The GPL was the first ...
(GPL). Released as
free software
Free software, libre software, libreware sometimes known as freedom-respecting software is computer software distributed open-source license, under terms that allow users to run the software for any purpose as well as to study, change, distribut ...
by Chris Allegretta in 1999, nano became part of the
GNU Project
The GNU Project ( ) is a free software, mass collaboration project announced by Richard Stallman on September 27, 1983. Its goal is to give computer users freedom and control in their use of their computers and Computer hardware, computing dev ...
in 2001. The logo resembles the lowercase form of the
Greek letter Eta (η).
History
GNU nano was first created in 1999 with the name ''TIP'' (a
recursive acronym for ''TIP Isn't Pico''), by Chris Allegretta. His motivation was to create a free software replacement for Pico, which was not distributed under a
free-software license
A free-software license is a notice that grants the recipient of a piece of software extensive rights to modify and software distribution, redistribute that software. These actions are usually prohibited by copyright law, but the rights-holde ...
. The name was changed to nano on January 10, 2000, to avoid a naming conflict with the existing Unix utility ''
tip''. The name comes from the system of
SI prefix
The International System of Units, internationally known by the abbreviation SI (from French ), is the modern form of the metric system and the world's most widely used system of measurement. It is the only system of measurement with official st ...
es, in which
nano is 1000 times larger than
pico. In February 2001, nano became a part of the
GNU Project
The GNU Project ( ) is a free software, mass collaboration project announced by Richard Stallman on September 27, 1983. Its goal is to give computer users freedom and control in their use of their computers and Computer hardware, computing dev ...
.
GNU nano implements several features that Pico lacks, including
syntax highlighting, line numbers,
regular expression
A regular expression (shortened as regex or regexp), sometimes referred to as rational expression, is a sequence of characters that specifies a match pattern in text. Usually such patterns are used by string-searching algorithms for "find" ...
search and replace, line-by-line scrolling, multiple buffers, indenting groups of lines, rebindable key support, and the undoing and redoing of edit changes.
On 11 August 2003, Chris Allegretta officially handed the source code maintenance of nano to David Lawrence Ramsey. On 20 December 2007, with the release of 2.0.7, Ramsey stepped down as nano's maintainer. The license was also upgraded to
GPL-3.0-or-later. The project is currently maintained by Benno Schulenberg.
On version 2.6.0 in June 2016, the current principal developer and the other active members of the nano project decided in consensus to leave the GNU Project, because of their objections over the
Free Software Foundation
The Free Software Foundation (FSF) is a 501(c)(3) non-profit organization founded by Richard Stallman on October 4, 1985. The organisation supports the free software movement, with the organization's preference for software being distributed ...
's
copyright assignment policy, and their belief that decentralized copyright ownership does not impede the ability to enforce the GNU General Public License.
[nano news](_blank)
on nano-editor.org ''"And, with this release, we take leave of the herd... Bye! And thanks for all the grass!"'' (22 June 2016)[remove the GNU marker from nano's name](_blank)
on savannah.org by Benno Schulenberg (13 June 2016) The step was acknowledged by
Debian
Debian () is a free and open-source software, free and open source Linux distribution, developed by the Debian Project, which was established by Ian Murdock in August 1993. Debian is one of the oldest operating systems based on the Linux kerne ...
and
Arch Linux, while the GNU Project resisted the move and called it a "
fork". On 19 August 2016, Chris Allegretta announced the return of the project to the GNU family, following concessions from GNU on copyright assignment for Nano specifically, which happened when version 2.7.0 was released in September 2016.
nano news
on nano-editor.org ''"With this release we return to GNU. For just a little while we dreamt we were tigers. But we are back in the herd, back to a healthy diet of fresh green free grass."'' (1 September 2016)
Control keys
GNU nano, like Pico, is keyboard-oriented, controlled with control key
In computing, a Control key is a modifier key which, when pressed in conjunction with another key, performs a special operation (for example, ). Similarly to the Shift key, the Control key rarely performs any function when pressed by itself. ...
s. For example, saves the current file; goes to the search menu. GNU nano puts a two-line "shortcut bar" at the bottom of the screen, listing many of the commands available in the current context. For a complete list, gets the help screen.
Unlike Pico, nano uses meta key
The Meta key is a modifier key on certain Computer keyboard, keyboards. It first appeared on the Stanford Artificial Intelligence Lab (SAIL) keyboard in 1970.
History
The Meta key first appeared on the Stanford Artificial Intelligence Lab (SA ...
s to toggle its behavior. For example, toggles smooth scrolling mode on and off. Almost all features that can be selected from the command line can be dynamically toggled. On keyboards without the meta key it is often mapped to the escape key, , such that in order to simulate, say, one has to press the key, then release it, and then press the key.
GNU nano can also use pointing devices, such as a mouse
A mouse (: mice) is a small rodent. Characteristically, mice are known to have a pointed snout, small rounded ears, a body-length scaly tail, and a high breeding rate. The best known mouse species is the common house mouse (''Mus musculus'' ...
, to activate functions that are on the shortcut bar, as well as position the cursor.
See also
* Comparison of text editors
* List of text editors
* List of POSIX commands
* Pico (text editor)
Notes
References
External links
*
{{GNU
Command-line software
1999 software
Console applications
Cross-platform software
Free and open-source software
Free software programmed in C
Free text editors
Nano
Linux text editors
MacOS text editors
Free software that uses ncurses
Unix text editors
Software using the GNU General Public License