[Coco] Weird errors

Willard Goosey goosey at virgo.sdc.org
Tue Sep 12 04:10:26 EDT 2006


>From: Leon Howell <puritan_2076 at yahoo.com>
>Date: Mon, 11 Sep 2006 18:54:05 +0000 (UTC)
>
>Why do I get a "Syntax error -echo" almost(?) every time I start a program 
>that was written in Basic-09? This (or something) caused the Icon Editor to 
>crash, but most other programs can handle it.

The BASIC-09 program is calling tmode with the old OS-9 syntax (tmode
-echo) and you're running NitrOS-9, where tmode expects the newer OSK
style syntax (tmode eko=0).

Use DED to search through the executable and patch the tmode calls.
"tmode -echo" and "tmode eko=0" have the same number of characters so
that works well.  

The handle the tmode calls that turn echo back on "tmode echo" I made
a copy of tmode called tmod so I could change the calls to "tmod
eko=1".

Or, as Rob Gault advised me (crankily) when I complained about this,
download the source for tmode and add the old style options back in.

Or use the stock tmode.
>
>I tried to extract the archive reminder.ar with "ar -x reminder.ar" and all I 
>got was "unknown compression method". How do I extract it? Ar can read a 
>directory, and DeArc, UnArj, and LHA don't recognize it, so I'm pretty shure 
>it is an Ar file. 

AR has compatiblity problems with different versions of itself.  The
three main versions are 1.2, 1.3, and 2.0.  I used to know the
differences... I think 1.3 is the evil non-compatible version.
I'll play with reminder.ar and see what I can do.

In the meantime, rtsi also has reminder.lzh, probably a newer version
of the same thing, in an lha file.

Willard
-- 
Willard Goosey  goosey at sdc.org
Socorro, New Mexico, USA
"I've never been to Contempt!  Isn't that somewhere in New Mexico?"
   --- Yacko



More information about the Coco mailing list