News for hackers. Stuff that matters.
Re:Nano 5.0 by magicalhippo on Thursday July 30, 2020 @08:16AM (#23997198)
> As a result, it's really frustrating when setting up a new box and VIM isn't the default.

However having Nano as default is the better choice. You as an expert know how to change the default. Newbies who don't likely will prefer a discoverable editor like Nano.

Re:Nano 5.0 by greyman on Thursday July 30, 2020 @09:01AM (#23997591)
I agree. And if you only occasionally need text editor on a linux server, like when you change some config file or update cronjob and nothing more, nano is perfectly adequate, without needing to learn all the vim shortcuts.
Re:Nano 5.0 by cesarb on Thursday July 30, 2020 @09:09AM (#23997649)
> And if you only occasionally need text editor on a linux server, like when you change some config file or update cronjob and nothing more, nano is perfectly adequate

That's precisely when nano is the least adequate: "sudo -e" or "crontab -e" won't pass the "-w" flag to nano, and without that flag, the automatic hard line wrapping can easily corrupt config files which depend on line breaks for their semantics (a crontab being a great example, where each line is a separate entry).

Re:Nano 5.0 by greyman on Thursday July 30, 2020 @09:14AM (#23997693)
Thanks, I check that flag. Anyway, I never encountered the problem you are mentioning...
Re:Nano 5.0 by rascul on Thursday July 30, 2020 @10:05AM (#23998277)
That can go in nanorc
Re:Nano 5.0 by AlchemistCamp on Thursday July 30, 2020 @11:24AM (#23999230)
> However having Nano as default is the better choice. You as an expert know how to change the default.

Speak for yourself. It's not better for me and I had to do some googling to figure out how to change the default when it was changed to Nano. I'm not an "expert" in any sense, but I'm sure a lot more comfortable with VIM than Nano.

Also, I'm not sure most people setting up VMs newbies, at least in the way you're using the word. I have no problems with Nano being installed as the default on some distros. I just wish it weren't on the one I use!

Re:Nano 5.0 by digital_voodoo on Thursday July 30, 2020 @08:56AM (#23997548)
Thank you for speaking for the rest of us.
Re:Nano 5.0 by OnlyOneCannolo on Thursday July 30, 2020 @09:27AM (#23997842)
What's nuts to me is how often I hear people complain that that can't figure out how to quit out of nano when those exact instructions are always visible at the bottom of the screen.
Re:Nano 5.0 by bondarchuk on Thursday July 30, 2020 @09:40AM (#23997972)
But you have to know that the "^" sign means "hold ctrl".
Re:Nano 5.0 by basscomm on Thursday July 30, 2020 @10:47AM (#23998794)
When you first open nano, it tells you at the bottom of the screen that you can press "Ctrl+G" for help. The second paragraph of the help text explains the '^' notation, and the help further explains that you could have accessed the help page by pressing F1, which has been a common key for accessing the help feature of whatever program you're using for decades.
Re:Nano 5.0 by OnlyOneCannolo on Thursday July 30, 2020 @05:26PM (#24003028)
These are people who prefer vim, and are perfectly fine with the :q magic.
Re:Nano 5.0 by mmmnnn6789698 on Friday July 31, 2020 @07:34AM (#24007672)
Shift + zz