Jump to content

GNU nano: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
mNo edit summary
add a tag
Line 6: Line 6:
| author = Chris Allegretta
| author = Chris Allegretta
| latest_release_version = 2.2.2
| latest_release_version = 2.2.2
| latest_release_date = November 30, 2009
| latest_release_date = {{release date and age|2009|11|30}}
| latest_preview_version = 2.1.99pre2
| latest_preview_version = 2.1.99pre2
| latest_preview_date =
| latest_preview_date =

Revision as of 04:30, 3 February 2010

GNU nano
Original author(s)Chris Allegretta
Stable release
2.2.2 / November 30, 2009; 14 years ago (2009-11-30)
Preview release
2.1.99pre2
Repository
Operating systemCross-platform
TypeText editor
LicenseGNU General Public License
Websitehttp://nano-editor.org/

In computing, nano is a curses-based text editor for Unix and Unix-like systems. It is a clone of Pico, the editor of the Pine email client. Nano aims to emulate Pico as closely as possible and perhaps include extra functionality.[1]

Released under the terms of the GNU General Public License, nano is free software. With the release of version 2.0.7 the license was changed from GPLv2 to GPLv3.

History

nano was first created in 1999 under the name TIP (TIP isn't Pico), by Chris Allegretta. His motivation was to create a free software replacement for Pico, since neither it nor Pine were distributed under a free software license. The name was officially changed to nano on January 10, 2000 to disambiguate it from the tip command. The name comes from the system of SI prefixes, where nano is 1000 times bigger than pico, though the recursive backronym "nano's another editor" is sometimes used. In February 2001, nano became an official part of the GNU Project.

More recently, nano has added some features that Pico lacks, including colored text, regular expression search and replace, smooth scrolling, and multiple buffers.

On August 11, 2003, Chris Allegretta officially handed maintenance of nano's unstable branch to David Lawrence Ramsey.[2] On December 20, 2007, David Lawrence Ramsey officially stepped down as nano's maintainer.[3]

Currently under development in the 2.1 development series are rebindable key support[4] and undo functionality[5]

Control keys

nano, like Pico, is keyboard-oriented, controlled with control keys. For example, Control-O saves the current file; Control-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, Control-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.

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

See also

References

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