Squeak 2.1 for UNIX?

Kevin Fisher kfisher at rim.net
Fri Aug 14 12:31:20 UTC 1998


> At 09:05 AM 8/13/98 -0400, "R. A. Harmon" <harmonra at webname.com> wrote:

> [snip]
> 
> Squeak seems to use a number of characters to indicate line termination.
> I've found Cr, CrLf, and Lf.  The predominate convention on DOS/Windows x86
> is CrLf and (I think) UNIX is Lf.
> 
> I briefly considered modifying Squeak to use Cr internally and the native
> platform externally, but am in the middle of a large project.  Trace though
> how code is filed in/out and also how it is retrieved/stored in the source
> and changes files and you'll see what's happening.  A code file you may have
> gotten from a Windows Squeak may use Cr and you need Lf on your UNIX Squeak.
> The #next, #nextPut:, #nextChunk, #getSource, . . . are the methods that
> need to translate from/to the internal and the native platform external
> line termination conventions.
> 
> I guess I'll do it later so its 3,692th on my list.  Or is it 3,693th after
> the application to manage my list of thing to do.
>


Ah, this makes sense then.  I think I'll dive in myself and see what I can 
come up with...digging in with the debugger teaches me a lot, I've found!

I have been sharing files between Windows Squeak and UNIX Squeak and that
is probably why I'm seeing such strange results.

 
> --
> Richard A. Harmon          "The only good zombie is a dead zombie"
> harmonra at webname.com           E. G. McCarthy





More information about the Squeak-dev mailing list