🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5375

Re: Detecting the presence of ANSI.SYS

#5375
From: hamilton
Date: Fri, 17 Jan 1986 01:20
16 lines
1282 bytes
>Does anyone know of a quick and reliable way of detecting
>whether ANSI.SYS has been installed? 

try sending ESC[6n (Device Status Report request) and see if you get
ESC[#;#R (Cursor Position Report) back (#=ascii digits)?  it won't prove
that you're running ansi.sys, per se, but it should tell you if something
is interpretting ANSI escapes like ansi.sys is supposed to.

	wayne hamilton
	U of Il and US Army Corps of Engineers CERL
UUCP:	{ihnp4,pur-ee,convex}!uiucdcs!uiucuxc!hamilton
ARPA:	hamilton@uiucuxc.cso.uiuc.edu
CSNET:	hamilton%uiucuxc@uiuc.csnet
USMail:	Box 476, Urbana, IL 61801
Phone:	(217)333-8703
Technical Details
Message-ID: <21900100@uiucuxc>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!uiucuxc!hamilton
References: <131@suneast.uucp>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site uiucuxc
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!uiucuxc!hamilton
From: hamilton@uiucuxc.CSO.UIUC.EDU
Newsgroups: net.micro.pc
Subject: Re: Detecting the presence of ANSI.SYS
Message-ID: <21900100@uiucuxc>
Date: Thu, 16-Jan-86 20:20:00 EST
Article-I.D.: uiucuxc.21900100
Posted: Thu Jan 16 20:20:00 1986
Date-Received: Tue, 21-Jan-86 07:04:08 EST
References: <131@suneast.uucp>
Lines: 16
Nf-ID: #R:suneast.uucp:131:uiucuxc:21900100:000:616
Nf-From: uiucuxc.CSO.UIUC.EDU!hamilton    Jan 16 19:20:00 1986