Jump to content

GNU nano: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
if you want to mention, then mention the other twenty languages as well -- as that is absurd, leave it out
 
(327 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{short description|Text editor for Unix-like computing systems}}
{{Infobox Software |
{{Infobox software
name = Nano |
| name = GNU nano
screenshot = [[Image:Nano 1.2.5.png|250px]] |
| screenshot = [[Image:GNU nano-6.4 screenshot.png|300px|A screenshot of GNU nano 6.4]]
caption = Nano 1.2.5 |
| caption = GNU nano 6.4
developer = Chris Allegretta and others |
| logo = File:Gnu-nano.svg
latest_release_version = 1.2.5 <!-- If you update this, don't forget to update [[Comparison of text editors]]--> |
| author = Chris Allegretta
latest_release_date = [[May 15]], [[2005]] |
| developer = Benno Schulenberg
operating_system = [[Unix]] |
| released = {{Start date and age|1999|11|18|df=yes}}<ref>{{cite web
genre = [[Text editor]] |
| url = https://nano-editor.org/dist/old/
license = [[GNU General Public License|GPL]] |
| title = first tarball that is still available (tip-0.5.0.tar.gz)
website = [http://www.nano-editor.org/ nano-editor.org]
}}</ref>
| latest release version = {{wikidata|property|preferred|references|edit|Q306101|P348|P548=Q2804309}}
| latest release date = {{wikidata|qualifier|preferred|single|Q306101|P348|P548=Q2804309|P577}}
| latest preview version = {{wikidata|property|preferred|references|edit|Q306101|P348|P548=Q51930650}}
| latest preview date = {{wikidata|qualifier|preferred|single|Q306101|P348|P548=Q51930650|P577}}
| programming language = [[C (programming language)|C]]
| operating system = [[Cross-platform]]
| included with = GNU based operating systems
| language = English
| genre = [[Text editor]]
| license = 2007: [[GNU General Public License|GPL-3.0-or-later]]{{efn|GPL-3.0-or-later: Since 2.0.7.}}<ref>{{cite web|url=https://git.savannah.gnu.org/cgit/nano.git/tree/COPYING|title=COPYING file|via=[[GNU Savannah]]|date=11 August 2007|access-date=2 December 2020}}</ref><br />2001: [[GNU General Public License|GPL-2.0-or-later]]{{efn|GPL-2.0-or-later: From 1.0.6 and 1.1.3 to 2.0.6.}}<ref>{{cite web|url=https://git.savannah.gnu.org/cgit/nano.git/plain/NEWS|title=NEWS|date=2001-10-26}}</ref><br />1999: [[GNU General Public License|GPL-1.0-or-later]]{{efn|GPL-1.0-or-later: TIP 0.5.0 to Nano 1.0.5 and Nano 1.1.2.}}
| website = {{official URL}}
}}
}}
'''Nano''' is a [[text editor]] for [[Unix]] and [[Unix-like]] systems, licensed under the [[GNU General Public License]]. It is a [[free software]] clone of [[Pico (text editor)|Pico]], the editor of the [[Pine (email client)|Pine]] email client. Nano aims to emulate the functionality and easy-to-use interface of Pico, but does not have the tight mailer integration of the Pine/Pico package.


'''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)|Pico]] text editor, part of the [[Pine (email client)|Pine]] email client, and also provides additional functionality.<ref>The nano FAQ: https://www.nano-editor.org/dist/v2.2/faq.html#1.3</ref> 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.<ref>Official website [https://www.nano-editor.org/dist/v2.2/faq.html#1.4 FAQ]. (accessed 17 February 2016.)</ref> The logo resembles the lowercase form of the [[Eta|Greek letter Eta (η)]].
It 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]] because of a name conflict with another Unix program. In [[February]], [[2001]], Nano became an official part of the [[GNU]] project.


==History==
More recently, Nano has added some features that Pico lacks, including colored text, [[regular expression]] search and replace, smooth scrolling, and multiple buffers.
[[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 (unix utility)|tip]]''. The name comes from the system of [[SI prefix]]es, in which [[nano-|nano]] is 1000 times larger than [[pico-|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,<ref>{{cite web|title=GNU nano 2.1.0|first=Chris|last=Allegretta|date=18 March 2008|work=Nano-devel mailing list|publisher=gnu.org|url=https://lists.gnu.org/archive/html/nano-devel/2008-03/msg00023.html|access-date=18 March 2008}}</ref> and the undoing and redoing of edit changes.<ref>{{cite web|title=GNU nano 2.4.0|first=Chris |last=Allegretta |date=23 March 2015|work=Nano-devel mailing list|publisher=gnu.org|url=https://lists.gnu.org/archive/html/nano-devel/2015-03/msg00068.html |access-date=18 April 2015}}</ref>
On [[August 11]], [[2003]], Chris Allegretta officially handed maintenance of Nano's unstable branch to David Lawrence Ramsey.[http://lists.gnu.org/archive/html/nano-devel/2003-08/msg00016.html]


On 11 August 2003, Chris Allegretta officially handed the source code maintenance of nano to David Lawrence Ramsey.<ref>{{cite web|title=GNU nano 1.3 branch opened in CVS|first=Chris|last=Allegretta|date=11 August 2003|work=Nano-devel mailing list|publisher=gnu.org|url=https://lists.gnu.org/archive/html/nano-devel/2003-08/msg00016.html|access-date=25 January 2007}}</ref> On 20 December 2007, with the release of 2.0.7, Ramsey stepped down as nano's maintainer.<ref>{{cite web|title=Stepping down as the nano maintainer... |first=David Lawrence |last=Ramsey |date=20 December 2007 |work=Nano-devel mailing list|publisher=gnu.org|url=https://lists.gnu.org/archive/html/nano-devel/2007-12/msg00020.html |access-date=20 December 2007}}</ref> The license was also upgraded to [[GNU General Public License|GPL-3.0-or-later]].<ref>[https://git.savannah.gnu.org/cgit/nano.git/plain/NEWS 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)</ref> The project is currently maintained by Benno Schulenberg.<ref>{{Cite web|title=GNU nano: Who's who|url=https://www.nano-editor.org/who.php|access-date=2020-11-08|website=www.nano-editor.org}}</ref>
Future versions of Nano intend to add [[UTF-8]] support, undo, and rebindable keys.

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.<ref name="leave">[https://nano-editor.org/news.php 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)</ref><ref name="non-gnu">[https://git.savannah.gnu.org/cgit/nano.git/commit/?id=3e5fcec76c12b45a5dd12cb731e160c8e8fb1e0c remove the GNU marker from nano's name] on savannah.org by Benno Schulenberg (13 June 2016)</ref><ref>[https://lists.gnu.org/archive/html/nano-devel/2016-05/msg00021.html Re: (Nano-devel) Should nano stay a GNU program (Was: time for a 2.5.4-p] on lists.gnu.org (7 May 2016)</ref><ref>[https://savannah.gnu.org/support/?109076 sr #109076: Request to move nano from gnu to nongnu] on savannah.gnu.org by Benno Schulenberg (22 June 2016)</ref> The step was acknowledged by [[Debian]] and [[Arch Linux]],<ref>{{cite web|url=https://packages.qa.debian.org/n/nano/news/20160620T181841Z.html|title=Accepted nano 2.6.0-1 (source amd64) into unstable}}</ref><ref>{{cite web|url=https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/nano&id=2759a46b729560ea0c5352304a5965dbd3e7ef15|title=svntogit/packages.git - Git clone of the 'packages' repository}}</ref> while the GNU Project resisted the move and called it a "[[Fork (software)|fork]]".<ref>[https://news.ycombinator.com/item?id=11953044 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)</ref> 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,<ref>{{Cite web|url=https://lists.gnu.org/archive/html/nano-devel/2016-08/msg00045.html|title=[Nano-devel] nano to remain in GNU|last=Chris|first=Allegretta|date=19 August 2016|website=lists.gnu.org|access-date=2 September 2016}}</ref> which happened when version 2.7.0 was released in September 2016.<ref>[https://nano-editor.org/news.php 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)</ref>


==Control keys==
==Control keys==
Instead of being [[computer mouse|mouse]]-oriented, Nano, like Pico, is controlled with [[control key]]s. For example, Control-O saves the current file; key combination "CTRL + W" and then "CTRL + T" stands for the "goto line" function, et cetera. 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.
GNU nano, like Pico, is [[computer keyboard|keyboard]]-oriented, controlled with [[control key]]s. For example, {{key press|Ctrl|O}} saves the current file; {{key press|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, {{key press|Ctrl|G}} gets the help screen.


Unlike Pico, Nano uses [[meta key]]s 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.
Unlike Pico, nano uses [[meta key]]s to toggle its behavior. For example, {{key press|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, {{key press|Esc}}, such that in order to simulate, say, {{key press|Meta|S}} one has to press the {{key press|Esc}} key, then release it, and then press the {{key press|S}} key.

GNU nano can also use pointing devices, such as a [[Computer mouse|mouse]], to activate functions that are on the shortcut bar, as well as position the cursor.


==See also==
==See also==
{{Portal|Free and open-source software}}
*[[List of text editors]]
*[[Comparison of text editors]]
* [[Comparison of text editors]]
* [[List of text editors]]
* [[List of POSIX commands]]
* [[Pico (text editor)]]

==Notes==
{{notelist}}

==References==
{{Reflist|30em}}


==External links==
==External links==
{{Commons category|GNU nano}}
*[http://www.nano-editor.org/ The GNU Nano Homepage]
* {{Official website}}
*Stable [http://lists.gnu.org/archive/html/info-nano/2005-05/msg00000.html GNU nano 1.2.5] released [[May 15]], [[2005]]
*Unstable [http://lists.gnu.org/archive/html/info-nano/2005-06/msg00000.html GNU nano 1.3.8] released [[June 30]], [[2005]]


{{GNU}}


[[Category:GNU project software]]
[[Category:Command-line software]]
[[Category:1999 software]]
[[Category:Console applications]]
[[Category:Cross-platform software]]
[[Category:Free and open-source software]]
[[Category:Free software programmed in C]]
[[Category:Free text editors]]
[[Category:GNU Project software|Nano]]
[[Category:Linux text editors]]
[[Category:Linux text editors]]
[[Category:Mac OS text editors]]
[[Category:MacOS text editors]]
[[Category:Free software that uses ncurses]]
[[Category:Unix text editors]]
[[Category:Software using the GPL license]]

Latest revision as of 11:16, 19 July 2024

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.2[2] Edit this on Wikidata / 5 September 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. ^ "[Info-nano] [ANNOUNCE] nano-8.2 is released". 5 September 2024. Retrieved 5 September 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]