Article View: net.micro.pc
Article #5459Re: Detecting the presence of ANSI.SYS
From: davidsen
Date: Mon, 27 Jan 1986 20:14
Date: Mon, 27 Jan 1986 20:14
31 lines
1658 bytes
1658 bytes
In article <2135@phri.UUCP> greenber@phri.UUCP (Ross Greenberg) writes:
>> Does anyone know of a quick and reliable way of detecting
>> whether ANSI.SYS has been installed?
>> --
>
>A quick hack:
> Send the ANSI sequence to position your cursor to some location
> {x,y}.
>
> Send the ANSI sequence to read current cursor poition. If
> they match, you're running ANSI, else you're not.
>
>ross m. greenberg
>ihnp4!allegra!phri!greenber
If you just read cursor position you will get:
a) the current position if ANSI.SYS
b) nothing is not ANSI.SYS
Please explain why the cursor needs to be positioned (I may be missing
something here).
--
-bill davidsen
seismo!rochester!steinmetz!--\
/ \
ihnp4! unirot ------------->---> crdos1!davidsen
\ /
chinet! ---------------------/ (davidsen@ge-crd.ARPA)
"It seemed like a good idea at the time..."
Technical Details
Message-ID:
<640@steinmetz.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!mcnc!ncsu!uvacs!edison!steinmetz!davidsenReferences:
<131@suneast.uucp> <2135@phri.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site steinmetz.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!mcnc!ncsu!uvacs!edison!steinmetz!davidsen From: davidsen@steinmetz.UUCP Newsgroups: net.micro.pc,net.micro.att Subject: Re: Detecting the presence of ANSI.SYS Message-ID: <640@steinmetz.UUCP> Date: Mon, 27-Jan-86 15:14:32 EST Article-I.D.: steinmet.640 Posted: Mon Jan 27 15:14:32 1986 Date-Received: Thu, 30-Jan-86 05:11:35 EST References: <131@suneast.uucp> <2135@phri.UUCP> Reply-To: davidsen@kbsvax.UUCP (Davidsen) Organization: GE CRD, Schenectady, NY Lines: 31