Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!bu.edu!bucsf.bu.edu!austin From: austin@bucsf.bu.edu (Austin H. Ziegler, III) Newsgroups: comp.sys.ibm.pc.programmer Subject: Checking for ANSI.SYS... Message-ID: Date: 27 Feb 90 00:40:24 GMT Sender: news@bu.edu.bu.edu Organization: Boston University College of Engineering Lines: 31 A couple of days ago, I posted requests for methods to check for ANSI.SYS. I have received many useful tips on how to send ANSI control sequences to check to see if ANSI.SYS or a variant was installed. The general method sent was: send [2J send [6n wait for the string [01;01;R Now, if I set the foreground and background to the same color (probably black on black, but...) then if ANSI.SYS is not loaded, there will be no clutter on the screen. However, if at all possible, I would prefer checking low memory so that there is no screen color. Due to the type of program that I'm writing (a command-line utility), it would not be good to clutter the screen with ANSI-test sequences, nor should I clear the screen with [2J. Does anyone know a way to quickly check low memory to see if ANSI.SYS or a variant is loaded? (As usual, C or Pascal of any flavor preferred, but BASIC will do...) thanks in advance, austin -- +--------------------------+-----------------------+-----------------------+ | Austin Herbert Ziegler | austin@ bucsf.bu.edu | "The Hammer has | | 700 Commonealth Box 2094 | bucsb.bu.edu | fallen." | | Boston, MA 02215 | buengf.bu.edu | -- Dan Forrester | | (617) 375-8272 | engc8vc@buacca.bu.edu | _Lucifer's Hammer_ | +--------------------------+-----------------------+-----------------------+