News for hackers. Stuff that matters.
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