3 ms·
My one use for vi is to edit /etc/joe/joerc to enable -nobackups.
by danellis 9y ago
My one use for vi is to edit /etc/joe/joerc to enable -nobackups.
- fpoling 9y agoThat was one of the reasons I gave up on using Joe for system administration. It showed rather big mismatch between my mental model of how a system editor should work and what Joe did.
- jhallenworld 9y agoWe will continue to debate making nobackups the default, but what other behavior is wrong for system administration?
- fpoling 9y agoScrolling, not wrapping, of lines that do not fit screen.
- Spivak 9y agoI would argue that scrolling is the sanest default for systems administration since text files are usually formatted to a fixed width and are sensitive to line breaks.
- fpoling 9y agoYet try to edit with horizontal scrolling XML or JSON file written without line-breaks. Or perhaps some other config files written on assumption that a terminal window will always be maximized and get at least 200 character width. In my opinion an editor for system administration should try to show as much information as possible by default and horizontal scrolling is an opposite of that.
- mschuster91 9y agoMh. On the one hand, the backup feature has saved my ass more times than I can count, but on the other hand for some software (hello nginx!) and their conf.d directories it can get nasty as well - not cool when you reboot the server and nginx doesn't start because there's a backup file with duplicate directives...