GNU nano

From Wikipedia, the free encyclopedia
Jump to: navigation, search
GNU nano
A screenshot of nano 2.1.2
nano 2.1.2 (SVN version)
Original author(s) Chris Allegretta
Stable release 2.2.6 / November 22, 2010; 3 years ago (2010-11-22)
Preview release 2.3.2 / March 22, 2013; 12 months ago (2013-03-22)
Written in C
Operating system Cross-platform
Available in English
Type Text editor
License GNU General Public License
Website www.nano-editor.org

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.[1] In contrast to Pico, nano is licensed under the GNU General Public License (GPL). Released as free software by Chris Allegretta in 1999, today nano is part of the GNU Project.[2]

History[edit]

nano was first created in 1999 with the name TIP (This 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.

nano implements some features that Pico lacks, including colored text, regular expression search and replace, smooth scrolling, multiple buffers, rebindable key support,[3] and (experimental) undoing and redoing of edit changes.[4]

On August 11, 2003, Chris Allegretta officially handed the source code maintenance for nano to David Lawrence Ramsey.[5] On December 20, 2007, Ramsey stepped down as nano's maintainer.[6]

Control keys[edit]

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. 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.

Nano can also use pointer devices, such as a mouse, to activate functions that are on the shortcut bar, as well as position the cursor.

See also[edit]

References[edit]

  1. ^ The nano FAQ: http://www.nano-editor.org/dist/v2.2/faq.html#1.3
  2. ^ http://directory.fsf.org/wiki/Nano
  3. ^ Allegretta, Chris (2008-03-18). "GNU nano 2.1.0". Nano-devel mailing list. gnu.org. Retrieved 2008-03-18. 
  4. ^ Allegretta, Chris (2008-08-04). "GNU nano 2.1.3". Nano-devel mailing list. gnu.org. Retrieved 2008-08-04. 
  5. ^ Allegretta, Chris (2003-08-11). "GNU nano 1.3 branch opened in CVS". Nano-devel mailing list. gnu.org. Retrieved 2007-01-25. 
  6. ^ Ramsey, David Lawrence (2007-12-20). "Stepping down as the nano maintainer...". Nano-devel mailing list. gnu.org. Retrieved 2007-12-20. 

External links[edit]