Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!ogicse!cvedc!nosun!qiclab!m2xenix!puddle!p2.f70.n226.z1.fidonet.org!Jon.Guthrie From: Jon.Guthrie@p2.f70.n226.z1.fidonet.org (Jon Guthrie) Newsgroups: comp.lang.modula2 Subject: Re: ANSI.SYS Install Detection Message-ID: <6294.265D4E00@puddle.fidonet.org> Date: 23 May 90 00:50:10 GMT Sender: ufgate@puddle.fidonet.org (newsout1.26) Organization: FidoNet node 1:226/70.2 - Billy's BBS, Columbus OH Lines: 16 > The only reliable way is to print an ansi command to the screen and > observe its affect, eg. send a cursor-move command and see where the > cursor ends up. If you don't want the text to be visible, fiddle > with the screen colors first. Well, there IS a better way than fiddling with the colors. Trap the int 11h interrupts and do send ANSI a cursor position report. If your ISR is not executed, ANSI.SYS (or one of the mutants) is loaded. After you're done with the test, remove your int 11 ISR. ...You trust them with your fortunes, you let them guard your lives -- uucp: uunet!m2xenix!puddle!226!70.2!Jon.Guthrie Internet: Jon.Guthrie@p2.f70.n226.z1.fidonet.org