[Coco] suggestion for Ultimuse

Bob Devries bdevries at gil.com.au
Tue Nov 18 21:26:10 EST 2003


Mike said:
> Well, that's a good idea.  Don't make up a temp file name based on the
file
> being edited, but just use one fixed name, like "autosave.ume".  Or maybe
> "autoNNN.ume", where NNN is the ProcID number, so you can have more than
one copy
> of UME running in different windows on the same directory.

If you do that, maybe take notice of the ENV variable TMPDIR, and save to
there *if* it exists (it does on my MM1)

> BTW, is it OS9 or Linux where you aren't suppsoed to do I/O (at least not
the
> FILE* buffered I/O) while inside the trap interrupt handler?

That does ring a bell.

> Say, I wonder if UME on the MM/1 has ever crashed on anyone.  Some years
ago
> I found and fixed a couple of uninitialized pointers that sometimes
crashed
> from the KeyPad editor mode.  Thanks for your interest -- Mike K.

Not to my knowledge. I'll keep working on that aspect, though :-)

Regards, Bob Devries; Ipswich, Queensland, Australia




More information about the Coco mailing list