home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vtserf!csugrad!ceharris
- From: ceharris@csugrad.cs.vt.edu (Carl Harris)
- Newsgroups: alt.msdos.programmer
- Subject: Re: Detecting ANSI.SYS (was: Re: DOS text attributes)
- Message-ID: <Bz5Hx0.7FJ@csugrad.cs.vt.edu>
- Date: 12 Dec 92 14:36:35 GMT
- References: <1992Dec11.204520.143@archtwr.tower.nullnet.fi>
- Organization: Virginia Tech Computer Science Dept, Blacksburg, VA
- Lines: 15
-
- wizard@archtwr.tower.nullnet.fi (Mikko H{nninen) writes:
- > I know I can detect ANSI driver by comparing an interrupt's and the CON
- > device's segment addresses (I think). But is this reliable? Are there any
- > other programs aside from ANSI that act as the CON device?
-
- The standard method for detecting the presence of the ANSI driver is to
- send a DSR (Device Status Report) sequence to the console. If the
- driver is present, it will respond with a CPR (Cursor Position Report) via
- standard input.
-
- --
- Carl Harris | program (tv). To engage in an activity
- Virginia Tech | similar to banging one's head against a wall
- ceharris@csugrad.cs.vt.edu | but with fewer opportunities for reward.
- ...
-