News for hackers. Stuff that matters.
Re:Dear Programming Job Applicants (2010) by npstr on Saturday May 18, 2019 @05:39AM (#19946540)
What's wrong with using nano for that?
Re:Dear Programming Job Applicants (2010) by MayeulC on Saturday May 18, 2019 @05:47AM (#19946562)
> It's everywhere.

It almost litterally is. Even busybox contains a vi clone. While I have encountered more systems without nano nor Emacs than I can remember. Plus, there is no excuse for learning the basic set of commands: i,ESC,x,u, and maybe navigating with the letters (which I'm not proficient at).

Re:Dear Programming Job Applicants (2010) by GordonS on Saturday May 18, 2019 @05:59AM (#19946597)
I only have to edit a file on Linux once every couple of months of so - I tired of forgetting how to exit vi (or enter/exit edit mode, save the file... just about anything really), so started installing nano as the first thing I do on any system. Nano is so much more obvious than vi.
Re:Dear Programming Job Applicants (2010) by nemetroid on Saturday May 18, 2019 @06:19AM (#19946651)
Most people can't install arbitrary software on every system they access.
Re:Dear Programming Job Applicants (2010) by MayeulC on Sunday May 19, 2019 @09:09AM (#19953112)
This exactly. I am pretty sure that if you gain [adb] shell access inside of an android recovery partition (as a random example), you have read-only access to the system, with only busybox at your disposal. Thus vi, but no nano.
Re:Dear Programming Job Applicants (2010) by GordonS on Saturday May 18, 2019 @06:00AM (#19946604)
Also, there's a reason why there are so many "can't quit vi" memes.
Re:Dear Programming Job Applicants (2010) by loopbit on Saturday May 18, 2019 @08:27AM (#19947035)
Reading the comments about vi... Am I the only one that knows/uses ZZ to save and quit?
Re:Dear Programming Job Applicants (2010) by MayeulC on Sunday May 19, 2019 @09:12AM (#19953124)
As I tend not quit vi that often compared to the time I spend inside, I prefer to use the more explicit version. I have made some mistakes in the past typing `^X-O` in nano instead of `^X-N` because of muscle memory, thereby overwriting a file I didn't want, and I am afraid of repeating this if `ZZ` became part of my muscle memory.
Re:Dear Programming Job Applicants (2010) by saagarjha on Saturday May 18, 2019 @06:39AM (#19946694)
vi is enshrined in POSIX; nano isn't.