Jump to content

GNU nano: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
if you want to mention, then mention the other twenty languages as well -- as that is absurd, leave it out
 
(41 intermediate revisions by 32 users not shown)
Line 1: Line 1:
{{short description|Text editor for Unix-like computing systems}}
{{short description|Text editor for Unix-like computing systems}}
{{Infobox software
{{Infobox software
| name = GNU nano
| name = GNU nano
| screenshot = [[Image:Nano 2.1.2-svn.png|300px|A screenshot of GNU nano 2.1.2]]
| screenshot = [[Image:GNU nano-6.4 screenshot.png|300px|A screenshot of GNU nano 6.4]]
| caption = GNU nano 2.1.2 (SVN version)
| caption = GNU nano 6.4
| logo = File:Gnu-nano.svg
| author = Chris Allegretta
| author = Chris Allegretta
| released = {{Start date and age|1999|11|18|df=yes}}<ref>{{cite web
| developer = Benno Schulenberg
| released = {{Start date and age|1999|11|18|df=yes}}<ref>{{cite web
| url = https://nano-editor.org/dist/old/
| url = https://nano-editor.org/dist/old/
| title = first tarball that is still available (tip-0.5.0.tar.gz)
| title = first tarball that is still available (tip-0.5.0.tar.gz)
| publisher = }}</ref>
}}</ref>
| latest release version = 5.3
| latest release version = {{wikidata|property|preferred|references|edit|Q306101|P348|P548=Q2804309}}
| latest release date = {{Start date and age|2020|10|07|df=yes}}<ref>{{cite web
| latest release date = {{wikidata|qualifier|preferred|single|Q306101|P348|P548=Q2804309|P577}}
| latest preview version = {{wikidata|property|preferred|references|edit|Q306101|P348|P548=Q51930650}}
| url = https://www.nano-editor.org/news.php
| latest preview date = {{wikidata|qualifier|preferred|single|Q306101|P348|P548=Q51930650|P577}}
| title = GNU nano: News
| programming language = [[C (programming language)|C]]
| date = 7 October 2020
| operating system = [[Cross-platform]]
| accessdate = 7 October 2020}}</ref>
| included with = GNU based operating systems
| programming language = [[C (programming language)|C]]
| language = English
| operating system = [[Cross-platform]]
| genre = [[Text editor]]
| language = English
| 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.}}
| genre = [[Text editor]]
| website = {{official URL}}
| license = [[GNU General Public License]]
| website = {{official URL}}
}}
}}


'''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>
'''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 (η)]].


==History==
==History==
GNU nano was first created in 1999 with the name ''TIP'' (''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 10 January 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 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|accessdate=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 |accessdate=18 April 2015}}</ref>
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 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|accessdate=25 January 2007}}</ref> On 20 December 2007, 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 |accessdate=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>
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>


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|publisher=}}</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|publisher=}}</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|publisher=|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>
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==
Line 39: Line 40:
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.
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 pointer devices, such as a mouse, to activate functions that are on the shortcut bar, as well as position the cursor.
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==
Line 45: Line 46:
* [[Comparison of text editors]]
* [[Comparison of text editors]]
* [[List of text editors]]
* [[List of text editors]]
* [[List of Unix commands]]
* [[List of POSIX commands]]
* [[Pico (text editor)]]
* [[Pico (text editor)]]

==Notes==
{{notelist}}


==References==
==References==
Line 54: Line 58:
{{Commons category|GNU nano}}
{{Commons category|GNU nano}}
* {{Official website}}
* {{Official website}}

{{GNU}}


[[Category:Command-line software]]
[[Category:Command-line software]]
[[Category:Computer-related introductions in 1999]]
[[Category:1999 software]]
[[Category:Console applications]]
[[Category:Console applications]]
[[Category:Cross-platform software]]
[[Category:Cross-platform software]]
Line 65: Line 71:
[[Category:Linux text editors]]
[[Category:Linux text editors]]
[[Category:MacOS text editors]]
[[Category:MacOS text editors]]
[[Category:Software that uses ncurses]]
[[Category:Free software that uses ncurses]]
[[Category:Unix text editors]]
[[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]