News for hackers. Stuff that matters.
Re:Of Modes and Men (2005) by taneq on Friday February 21, 2020 @07:22AM (#22382569)
nano, for when you don't care and just want to edit the damn text file. :D
Re:Of Modes and Men (2005) by saagarjha on Friday February 21, 2020 @07:41AM (#22382641)
Oh, no, I care very much: I go through great lengths to customize nano to my liking, to the point that I now inject code into it to construct my nanorc on-the-fly in memory for whichever version of nano it's running on: https://github.com/saagarjha/dotfiles/blob/master/fixnano.c (did you know that newer versions of nano can format your code and check if it compiles, displaying errors inline?). If I need to edit files and don't have it available I rely on vi being standardized by POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/v...
Re:Of Modes and Men (2005) by taneq on Friday February 21, 2020 @08:32AM (#22382913)
Wow, nano has come a long way from when it was yet another pico (or at least that's how we used it in uni, clearly there's more to it).

Also vi being POSIX is awesome, I didn't know that! :)