Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!adm!news From: SKULIKOW%UWF.BITNET@cunyvm.cuny.edu ( stan kulikowski ii) Newsgroups: comp.lang.pascal Subject: detect ANSI.SYS replacement Message-ID: <24040@adm.BRL.MIL> Date: 2 Aug 90 00:31:48 GMT Sender: news@adm.BRL.MIL Lines: 21 i write programs with user interfaces that employ the ANSI.SYS device driver. inevitably i give a program to a colleague whose system has some other device driver installed, so my programs look like garbage on his monitor. i have tried to explain to him how to look in his config.sys but this task is beyond his computer useage. my programs need to determine which device driver is in the environment to control the monitor... if it isn't ANSI.SYS, then remove it, install ANSI.SYS so my code can do its thing, then reinstall the previous driver before program termination. i have been poking around simtel20 without success, looking for some demo source code which can help. can anyone send me some? TP 5.5 preferred, C (turbo or zortech) acceptable. stan . skulikow@UWF.bitnet === close your eyes, my darling, or three of them at least --- -- old venusian lullaby