Force nano to word wrap?
Running Debian etch 4.0r1 here.
I'm currently logged in as root to do some maintenance and need to edit some text files. I use nano as my editor. For some reason nano is ignoring the -r option to hard wrap the text. From what I can gather online, nano will ignore wrapping when logged in as root. If this is the case can I force it to do the wrapping? I've only used two editors when at the console - vi and nano... Perhaps I should be considering a different editor? (This machine does not use X, so I need a decent editor when logged into the console.) Thanks! |
Try emacs. That's also another good editor
You are right about the root not wrapping text in nano. I just tried it on my Ubuntu machine and it doesn't wrap! |
Interesting; I always use "-w" to ensure no wrap. I prefer to see it as it is in case there is something wrong - stray newlines can get lost in wrapped text.
|
All times are GMT -5. The time now is 06:07 PM. |