|Original author(s)||Chris Allegretta|
|Initial release||18 November 1999|
7.2 / 18 January 2023
|Included with||GNU based operating systems|
|Available in||English, Turkish|
GNU nano is a text editor for Unix-like computing systems or operating environments using a command line interface. It emulates the Pico text editor, part of the Pine email client, and also provides additional functionality. Unlike Pico, nano is licensed under the GNU General Public License (GPL). Released as free software by Chris Allegretta in 1999, nano became part of the GNU Project in 2001. The logo resembles the lowercase form of the Greek letter Eta (η).
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. 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 prefixes, in which nano is 1000 times larger than pico. In February 2001, nano became a part of the GNU Project.
GNU nano implements several features that Pico lacks, including syntax highlighting, line numbers, regular expression 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's copyright assignment policy, and their belief that decentralized copyright ownership does not impede the ability to enforce the GNU General Public License. The step was acknowledged by Debian 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.
GNU nano, like Pico, is keyboard-oriented, controlled with control keys. For example, Ctrl+O saves the current file; Ctrl+W 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, Ctrl+G gets the help screen.
Unlike Pico, nano uses meta keys to toggle its behavior. For example, Meta+S 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, Esc, such that in order to simulate, say, Meta+S one has to press the Esc key, then release it, and then press the S key.
GNU nano can also use pointing devices, such as a mouse, to activate functions that are on the shortcut bar, as well as position the cursor.
- GPL-3.0-or-later: Since 2.0.7.
- GPL-2.0-or-later: From 1.0.6 and 1.1.3 to 2.0.6.
- GPL-1.0-or-later: TIP 0.5.0 to Nano 1.0.5 and Nano 1.1.2.
- "first tarball that is still available (tip-0.5.0.tar.gz)".
- "[Info-nano] [ANNOUNCE] nano-7.2 is released". 18 January 2023. Retrieved 18 January 2023.
- "COPYING file". 11 August 2007. Retrieved 2 December 2020 – via GNU Savannah.
- "NEWS". 2001-10-26.
- The nano FAQ: https://www.nano-editor.org/dist/v2.2/faq.html#1.3
- Official website FAQ. (accessed 17 February 2016.)
- Allegretta, Chris (18 March 2008). "GNU nano 2.1.0". Nano-devel mailing list. gnu.org. Retrieved 18 March 2008.
- Allegretta, Chris (23 March 2015). "GNU nano 2.4.0". Nano-devel mailing list. gnu.org. Retrieved 18 April 2015.
- Allegretta, Chris (11 August 2003). "GNU nano 1.3 branch opened in CVS". Nano-devel mailing list. gnu.org. Retrieved 25 January 2007.
- Ramsey, David Lawrence (20 December 2007). "Stepping down as the nano maintainer..." Nano-devel mailing list. gnu.org. Retrieved 20 December 2007.
- NEWS in nano.git "Finally, nano is now licensed under the GNU GPL version 3 or later, and its documentation is now dual-licensed under the GNU GPL version 3 or later and the GNU FDL version 1.2 or later." (20 December 2007)
- "GNU nano: Who's who". www.nano-editor.org. Retrieved 2020-11-08.
- nano news 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 on savannah.org by Benno Schulenberg (13 June 2016)
- Re: (Nano-devel) Should nano stay a GNU program (Was: time for a 2.5.4-p on lists.gnu.org (7 May 2016)
- sr #109076: Request to move nano from gnu to nongnu on savannah.gnu.org by Benno Schulenberg (22 June 2016)
- "Accepted nano 2.6.0-1 (source amd64) into unstable".
- "svntogit/packages.git - Git clone of the 'packages' repository".
- I'm on the GNU maintainers team; I want to clarify a couple things about this: First, Nano has _not_ left the GNU Project on news.ycombinator.com by Mike Gerwitz (June 2016)
- Chris, Allegretta (19 August 2016). "[Nano-devel] nano to remain in GNU". lists.gnu.org. Retrieved 2 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)