Nano tells you how to use it right on the screen. Control-C still doesn't work, but it tells you how to exit. Saving files, paging, cut and paste commands are all shown. There's easily accessible help!
If you're learning UNIX then editing files is handy. Without nano, you'd have to spend a bunch of time learning how to use a text editor before you could do anything that needs text editing.
Not as arcane as vim, great for small edits without the oh-crap-what-have-I-pressed-force-quit-start-over phenomenon that I get in vi. 'Serious' editing is done in gedit...
nano makes me happy.
I can see how this would be frustrating, given that the vi movement keys are in fact HJKL
They should have a new tag line:
Nano the plain text editor for non-Vim maybe EMACS users?
Don't get me wrong, I've watched Vim power users do amazing things in that editor but those people are not me and I can't find a good reason to climb that particular mountain.
press i for interactive and make changes then press :wq
:) I have that embedded in my brain after all these years.
nano file_foo
make changes
ctrl-O-Enter - save ctrl-X-Enter - exit
Simpler, I think?
I personally love vi and am a bit taken aback sometimes when visudo pulls up nano instead of vi because I haven't installed it or made it my default editor yet.
So I'm not sure this means much to me personally but I'm always sad to see members of the community part ways. Still, I wish them all the luck and thank them for their efforts.
[1] https://en.wikibooks.org/wiki/Learning_the_vi_Editor/BusyBox...
(I also used to use emacs a lot, I first used it on OS/2 under EMX, but there were systems on which pico was installed but emacs wasn't. Nowadays, I'm so used to vim, I start emacs and can't remember most of the keystrokes. Oh, and the first ever email client I used was Pine.)
(I'm sure it has other purposes too, but it's the most motivating one I know.)
Ubuntu X11 stopped working? Or perhaps you need to tweak the nginx config on that tiny VPS you're renting? If you don't know vim, nano is something that's very easy to use and often pre-installed.
Don't get me wrong, I understand the need for a feature-complex editor like vim, but I have never, ever gotten on with it.
Yes, because vim is a pain in the ... and emacs is too big sometimes.
"Zile Is Lossy Emacs"
Also Hackles
https://web.archive.org/web/20160307122907/http://hackles.or...
$ cat /var/log/logfile | grep -n section_start which gives me required line numbers. and then:
$ nano +lineno /var/log/logfile
and for configs, of course.
It is absolutely a learning curve, but the power of vim is insane. "dd" deletes lines, "A" appends to the end, "I" inserts at the beginning, "<lineno>G" jumps to a line number, all little tweaks that I use nearly every day in editing files quickly. It's especially nice when editing known_hosts where it tells you the line of the offending key, just "<line#>Gdd:wq" and it's done.
Nano seems to be far slower than vim for opening large files.
Just quickly testing on a 200M 500k row text file on a SSD:
Vim opens practically instantly.
nano takes over 10 seconds to display text, but works well after that.
It's also Pageant aware and will use that as your ssh key agent if you prefer. And vim works properly. We like it so much we pay for the Pro editions.
Not open source and heavily limited. Unless you pay for Pro, it's pretty useless...