Thread
:
Warning to anyone using GNU nano from Extras!
View Single Post
GameboyRMH
2010-10-20 , 13:46
Posts: 692 | Thanked: 264 times | Joined on Dec 2009
#
1
If anyone is using GNU nano from Extras as a text editor, beware that it automatically inserts line breaks where your lines wrap by default,
which could seriously mess up any scripts / system files you're working on!
To fix this run:
echo "set nowrap" > ~/.nanorc
This will create a config file (used by both user and root, since they have the same home directory) for nano and tell it not to wrap (usually this is set by default on most distros).
Even experienced Linux users like myself may be used to Nano having nowrap set by default, and might only find that Maemo is different after they mess up a critical config file!
__________________
"Impossible is not in the Maemo vocabulary" - Caballero
Last edited by GameboyRMH; 2010-10-20 at
16:21
. Reason: Recommend using ~/.nanorc instead of /etc/nanorc
Quote & Reply
|
The Following 11 Users Say Thank You to GameboyRMH For This Useful Post:
bingomion
,
ffha
,
Helmuth
,
littlebadger
,
marmistrz
,
Mentalist Traceur
,
mveplus
,
pelago
,
ranbaxy
,
Tigerite
,
Tstone
GameboyRMH
View Public Profile
Send a private message to GameboyRMH
Find all posts by GameboyRMH