[net.micro.amiga] On Lattice 3.03, [n+1], VT100, et al

banks@viking.dec.com (Life is just entropy poop) (10/28/86)

On the subject of the [n+1] occurances in DBW's VT-100 emulator, and how well
they sit with Lattice:

Back in the days of version 1.00 of VT-100, before it was officially supported
by the author under Lattice, the various members of our household ported a copy
to run under Lattice.  Just getting the thing to compile ok produced something
that simply compiled ok (under Lattice 3.03).  If we tried to run it, we'd
get an immediate Guru number.

Much head scratching and code searching turned up the subject matter in 
question.  We came to the following conclusion:

With Lattice 3.03, and VT-100 version 1, the occurances of [n+1] weren't being
compiled properly.  Didn't come as any surprise, because this "feature" was
mentioned on the network soon after Lattice 3.03 hit the streets.  Changing
the references to "m=n+1; foo[m]= ..." did, of course, prevent the Guru
visitations.

Since then, starting with VT-100 version 2.0, we haven't seen this problem
reoccur, so I can only assume that it was some context sensitive bug in 
Lattice.

I can say with all certainty that it was happening with Lattice 3.03 (and not
3.02), and with the original posting of the VT-100 emulator.

Sorry about any confusion I may have caused.


(DEC E-NET)	Viking::Banks
(UUCP)		{decvax, ucbvax, allegra}!decwrl!dec-rhea!dec-Viking!Banks
(ARPA)		Banks%Viking.DEC@decwrl.ARPA