[? Windows] CR instead of CR/LF (was: RE: update 1164)

Norton, Chris chrisn at Kronos.com
Mon May 3 20:40:11 UTC 1999


	Hi Folks.

	[update problem snipped...]

> >Why was CR chosen for Squeak instead of CR LF?
> 
	[Dan Ingalls replied:]  "For the same kind of reason its syntax is
not the same as C.

> We thought, when we started playing this game in 1972, that the separate
> line-feed character, used to advance the platten of a teletype machine,
> was an anachronism, and that modern software would be designed
> intelligently enough to handle the entire ascii character set (in fact of
> all 256 characters) without getting confused." 
> 
	[Norton, Chris]  OK.  I don't have a problem with the reasons, but I
have had some (minor) difficulties with this representation under Windoze.
When I open some Squeak changes files, they come up nicely formatted and
presentable, but others come up as a big blob of text.  I suppose this is
because my tools of choice weren't "designed intelligently" as Dan
suggested.

	I've tried Notepad, WordPad and MS Word 98 so far.  NotePad and
WordPad fail miserably, but MS Word seems to work.  Do any of you Windoze
Squeakers have a better tool for reading these files from the File Manager
or from the Explorer (besides Squeak itself)?

	Also -  I recently sent a change set to a friend at Squeak central
who indicated that my code had the dreaded LF characters in it (using Squeak
2.3 + fixes).  If it hasn't been done already, shouldn't the file in / file
out routines be "bullet proofed" to keep this from happening?  (wish I had
the time to surf that code right now ;-)

	---==> Chris 





More information about the Squeak-dev mailing list