🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #706

Re: ANSI.SYS Install Detection

#706
From: Jon Guthrie
Date: Wed, 23 May 1990 00:50
16 lines
1208 bytes
 > 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
Technical Details
Message-ID: <6294.265D4E00@puddle.fidonet.org>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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