[Cuis] OSProcess status

Juan Vuletich juan at jvuletich.org
Sat Dec 21 13:26:02 CST 2013


Hi Dave,

(below)
On 12/18/2013 8:55 PM, David T. Lewis wrote:
> Hi Juan,
>
> On Wed, Dec 18, 2013 at 12:45:03AM -0300, Juan Vuletich wrote:
>> With the appropriate compatibility package and / or some tweaks to Cuis
>> (I described them elsewhere in this thread), it looks like you could
>> support Cuis with exactly the same code as Squeak.
> Yes I agree.
>
>> Given that extracting the code from a MCZ file is not hard, I could
>> write a simple tool to allow converting an MCZ file to .pck.st format.
>> This tool would also convert newline characters (cr, crlf, lf) to Cuis
>> default: lf.
> I think this tool would be useful, and it would make it easier to bring
> existing packages into Cuis.
>
>> This means that if your code specifically requires a cr or crlf string
>> or character, instead of including them in a string literal, you would
>> need to use #cr, #lf or #crLf. The good part is that your code would be
>> line ending agnostic. BTW, to require a default line terminator, I'd
>> suggest adding #newLineString to Squeak, answering the same as #cr (in
>> Cuis it answers #lf).
> Yes I agree, and it would be a good thing for me to make those changes.
>
>> Would all this be ok for you? If so, all we need to do is to run this
>> tool when you publish a new version of OSProcess.MCZ, and publish the
>> result to the Cuis GitHub repo.
> Yes this is ok, I like this approach.
>
> I should mention also that running OSProcess in Cuis helps to find bugs
> in OSProcess. For example, OSProcess class>>isUnix was broken, and I did
> not notice the problem until I loaded it in Cuis. So this is is a good
> thing.
>
> Dave
>

This is nice to know, thanks!

I've just pushed to github 18 updates, and 3 updated and 1 new package. 
Some of the updates and the new package are to support OSProcess code in 
Cuis. Please check it, and let me know if I forgot about something.

Cheers,
Juan Vuletich




More information about the Cuis mailing list