I've found in the past that Kedit has caused me two problems, both fixed by correctly configuring the settings. First is the word wrap, causing the problems mentioned in this thread. The other is the changed owner/group, caused by having the back up option turned on. Since I turned off backup and word wrap, I have not had any more weird problems after editing a config file. Fergus Wilde wrote:
Hi,
I've had this in the past with Kedit too - with firewall.rc.config, in fact. Sorry I didn't think of it as the reason folks had a problem. Kedit is still a nice little editor, though. But I suppose it would be good if you could customise its line lengths by methods more explicit than changing the font size, which does influence it's wrapping. For all I know, perhaps you can customize it, and thus have an 'easier on the head' editor than vi - though I'm starting to appreciate vi for all its oddities.
So it's vi instead, this always works - though I would be grateful if anyone could spot a problem I have had with wanting a long line in firewall.rc.config, whether I use vi to enter it or not:
I want a number of IP addresses in FW_TRUSTED_NETS, longer than fits on a line. So I broke the line with:
FW_TRUSTED_NETS="lots of valid ipadresses going on in a line until i had to \ break the line and move onto another"
because I thought that was the 'proper' way to escape a line break. But the ruleset absolutely will not load with this syntax. Shorten the line, remove the \ and all is peace and tranquility again. Clearly an egregious fluff on my part, but what am I doing wrong?
Thanks all, Fergus
-- Joe & Sesil Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://home.beseen.com/churches/joe_morris