home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / alt / msdos / programm / 2966 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.7 KB  |  38 lines

  1. Newsgroups: alt.msdos.programmer
  2. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!aun.uninett.no!nuug!dhhalden.no!pc254.dhhalden.no!gunnarh
  3. From: gunnarh@dhhalden.no (GUNNAR HORRIGMO)
  4. Subject: Re: Detecting ANSI.SYS (was: Re: DOS text attributes)
  5. Message-ID: <gunnarh.279.724613329@dhhalden.no>
  6. Lines: 25
  7. Sender: news@dhhalden.no (Network News User)
  8. Nntp-Posting-Host: pc254
  9. Organization: Ostfold College
  10. References: <1992Dec11.204520.143@archtwr.tower.nullnet.fi> <Bz5Hx0.7FJ@csugrad.cs.vt.edu>
  11. Date: Thu, 17 Dec 1992 17:28:49 GMT
  12.  
  13. In article <Bz5Hx0.7FJ@csugrad.cs.vt.edu> ceharris@csugrad.cs.vt.edu (Carl Harris) writes:
  14. >From: ceharris@csugrad.cs.vt.edu (Carl Harris)
  15. >Subject: Re: Detecting ANSI.SYS (was: Re: DOS text attributes)
  16. >Date: 12 Dec 92 14:36:35 GMT
  17. >wizard@archtwr.tower.nullnet.fi (Mikko H{nninen) writes:
  18. >> I know I can detect ANSI driver by comparing an interrupt's and the CON
  19. >> device's segment addresses (I think). But is this reliable? Are there any
  20. >> other programs aside from ANSI that act as the CON device?
  21. >
  22. >The standard method for detecting the presence of the ANSI driver is to
  23. >send a DSR (Device Status Report) sequence to the console.  If the
  24. >driver is present, it will respond with a CPR (Cursor Position Report) via
  25. >standard input.
  26.  
  27. I don't know what it really does, but there is an int 21 (?) ANSI.SYS 
  28. installation check.
  29.  
  30.  
  31.           /\           | I didn't say this.      | "When there's no 
  32.         /    \         | My supervisor would     |  more room in hell,
  33.       /        \       | kill me if i did.       |  the dead will     
  34.     /    (<>)    \     |_________________________|  walk the earth."
  35.   /                \   |Gunnar Horrigmo          |
  36. /____________________\ |gunnarh@sofus.dhhalden.no| 
  37.  
  38.