jasonbuechler
Dabbler
- Joined
- Mar 28, 2018
- Messages
- 20
So, I hate vi.
[waits for jeers to subside]
If I'm not using notepad++, then I'm using nano. But nano's default line wrapping is silly, and can be changed in several ways...
Many minutes of googling showed that lots of people (claim to) have success doing the obvious and throwing the -w flag right into the EDITOR and/or VISUAL environment variable... but I have not been able to repeat that with any variation of shell/env variable/absolute-or-local path to nano. Am I doing something obvious wrong, or is there some freebsd/freenas reason this isn't working?
The inevitable result seems to be: "crontab: /usr/local/bin/nano -w: No such file or directory"
[waits for jeers to subside]
If I'm not using notepad++, then I'm using nano. But nano's default line wrapping is silly, and can be changed in several ways...
- Using meta-L within a nano session (alt-L or esc-L)
- Setting the option in .nanorc
- Launching nano with the -w flag
Many minutes of googling showed that lots of people (claim to) have success doing the obvious and throwing the -w flag right into the EDITOR and/or VISUAL environment variable... but I have not been able to repeat that with any variation of shell/env variable/absolute-or-local path to nano. Am I doing something obvious wrong, or is there some freebsd/freenas reason this isn't working?
The inevitable result seems to be: "crontab: /usr/local/bin/nano -w: No such file or directory"