sdjf wrote:that eLinux page is telling people to use Wordpad to edit a text file (config.txt), isn't that backwards?
"open this with Wordpad (not notepad)"
I thought it was Wordpad that added html to text files. Cannot edit eLinux, if that is wrong, someone else please fix?
Linux (and others - noteably RISC OS) use line-feed (ASCII 0A) only for end-of-line-start-another.
DOS historically used carriage-return (ASCII 0D) then line-feed
Notepad adheres to the DOS standard, and doesn't understand a line-feed on its own.
On XP and previous versions, notepad put an 'unknown character' symbol where it found line-feed on its own. On 7, it just ignores it
In either case, you see everything on one line
Wordpad is cleverer, and will recognise line-feed on its own, and will save in that format if necessary.
Config.txt, being linux-based, doesn't come with carriage returns, so notepad gets confused. Wordpad is okay with it.
When the Pi parses config.txt, it expects and is quite happy with just line-feeds.
However it seems to be happy with carriage-returns as well.
What appears to happen is that any
control character is taken as an end-of-line marker, and empty lines are ignored, so extra carriage-returns aren't a problem.
But editing in notepad is difficult on an un-modified config.txt