Jump to content

GNU nano

From Wikipedia, the free encyclopedia
(Redirected from Nano text editor)
GNU nano
Original author(s)Chris Allegretta
Developer(s)Benno Schulenberg
Initial release18 November 1999; 25 years ago (1999-11-18)[1]
Stable release
8.3[2] Edit this on Wikidata / 21 December 2024
Repository
Written inC
Operating systemCross-platform
Included withGNU based operating systems
Available inEnglish
TypeText editor
License2007: GPL-3.0-or-later[a][3]
2001: GPL-2.0-or-later[b][4]
1999: GPL-1.0-or-later[c]
Websitenano-editor.org Edit this at Wikidata

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.[5] 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.[6] The logo resembles the lowercase form of the Greek letter Eta (η).

History

[edit]

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,[7] and the undoing and redoing of edit changes.[8]

On 11 August 2003, Chris Allegretta officially handed the source code maintenance of nano to David Lawrence Ramsey.[9] On 20 December 2007, with the release of 2.0.7, Ramsey stepped down as nano's maintainer.[10] The license was also upgraded to GPL-3.0-or-later.[11] The project is currently maintained by Benno Schulenberg.[12]

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.[13][14][15][16] The step was acknowledged by Debian and Arch Linux,[17][18] while the GNU Project resisted the move and called it a "fork".[19] 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,[20] which happened when version 2.7.0 was released in September 2016.[21]

Control keys

[edit]

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.

See also

[edit]

Notes

[edit]
  1. ^ GPL-3.0-or-later: Since 2.0.7.
  2. ^ GPL-2.0-or-later: From 1.0.6 and 1.1.3 to 2.0.6.
  3. ^ GPL-1.0-or-later: TIP 0.5.0 to Nano 1.0.5 and Nano 1.1.2.

References

[edit]
  1. ^ "first tarball that is still available (tip-0.5.0.tar.gz)".
  2. ^ Benno Schulenberg (21 December 2024). "nano-8.3 is released". Retrieved 21 December 2024.
  3. ^ "COPYING file". 11 August 2007. Retrieved 2 December 2020 – via GNU Savannah.
  4. ^ "NEWS". 2001-10-26.
  5. ^ The nano FAQ: https://www.nano-editor.org/dist/v2.2/faq.html#1.3
  6. ^ Official website FAQ. (accessed 17 February 2016.)
  7. ^ Allegretta, Chris (18 March 2008). "GNU nano 2.1.0". Nano-devel mailing list. gnu.org. Retrieved 18 March 2008.
  8. ^ Allegretta, Chris (23 March 2015). "GNU nano 2.4.0". Nano-devel mailing list. gnu.org. Retrieved 18 April 2015.
  9. ^ Allegretta, Chris (11 August 2003). "GNU nano 1.3 branch opened in CVS". Nano-devel mailing list. gnu.org. Retrieved 25 January 2007.
  10. ^ Ramsey, David Lawrence (20 December 2007). "Stepping down as the nano maintainer..." Nano-devel mailing list. gnu.org. Retrieved 20 December 2007.
  11. ^ 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)
  12. ^ "GNU nano: Who's who". www.nano-editor.org. Retrieved 2020-11-08.
  13. ^ 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)
  14. ^ remove the GNU marker from nano's name on savannah.org by Benno Schulenberg (13 June 2016)
  15. ^ Re: (Nano-devel) Should nano stay a GNU program (Was: time for a 2.5.4-p on lists.gnu.org (7 May 2016)
  16. ^ sr #109076: Request to move nano from gnu to nongnu on savannah.gnu.org by Benno Schulenberg (22 June 2016)
  17. ^ "Accepted nano 2.6.0-1 (source amd64) into unstable".
  18. ^ "svntogit/packages.git - Git clone of the 'packages' repository".
  19. ^ 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)
  20. ^ Chris, Allegretta (19 August 2016). "[Nano-devel] nano to remain in GNU". lists.gnu.org. Retrieved 2 September 2016.
  21. ^ 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)
[edit]