home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast.iso / pcmag / ansi132.zip / ANSI.DOC < prev   
Text File  |  1990-03-23  |  3KB  |  61 lines

  1. ANSI.COM
  2. Command
  3.  
  4. Michael J. Mefford
  5. 1989 No. 2 (Utilities)
  6.  
  7.  
  8. Purpose:    A memory-resident utility that enables selectable use of the
  9. extended screen and keyboard control sequences that normally require loading the
  10. ANSI.SYS device driver.  Unlike ANSI.SYS, ANSI.COM supports all video modes,
  11. permits sizing and clearing the key-assignment buffer, and provides high-speed
  12. screen updating.
  13.     
  14. Format: ANSI [FAST | SLOW][ON | OFF][KON | KOFF][PON | POFF][/B nnn][/C][/U][/Q]
  15.     
  16. Remarks:    ANSI.COM may be installed either at the DOS prompt or through an
  17. AUTOEXEC.BAT file.  It will not load itself if ANSI.SYS has already been loaded
  18. as part of a CONFIG.SYS file.  ANSI.COM will not load multiple copies of itself,
  19. so its command name may be invoked repeatedly in the same session to change
  20. user-selectable parameters.
  21.  
  22.     Upon loading, ANSI defaults to the FAST and ON status parameters.  For
  23. use with IBM CGA video cards (where direct screen writes produce "snow") or with
  24. some screen capture software, the SLOW (screen writing via the BIOS, as with
  25. ANSI.SYS) status option may be selected.  Entering ANSI OFF disables recognition
  26. of the ANSI control codes (but reassigned keys are still functional).
  27.  
  28.         Also upon loading ANSI defaults to KON and PON status parameters.
  29. Entering POFF disables the ANSI reassignment function so no new reassignments
  30. can be entered until reactivated by PON. Current assignments are still active.
  31. This prevents unauthorized changes to you keyboard being made by silly people
  32. who embed ANSI sequences into text documents to do harm to your system.
  33. Entering KOFF disables the ANSI reassignments but still allows new assignments
  34. to be made to the buffer or old ones removed. This allows simple ON / OFF
  35. control of assigments without clearing the buffer and reloading each time
  36. when a particular program is affected by the assignments.  All keyboard
  37. reassignments in the buffer become active again upon the issuing PON. The /Q
  38. switch can be used to suppress output when executed.
  39.  
  40.     The ANSI.COM key assignment buffer defaults to a size of 200 bytes.  The
  41. buffer may be increased to as much as 60K or decreased to 0 bytes by entering
  42. ANSI with the /B switch and the desired number of bytes as nnn.  Resizing the
  43. buffer after initial installation requires deinstallation, which may be
  44. accomplished using the /U switch.  Current key assignments are lost if the
  45. buffer is resized.  The buffer can be cleared without resizing by invoking ANSI
  46. with the /C switch.
  47.  
  48.     The full command set of IBM-ANSI control sequences is printed in the
  49. original article and in the DOS Technical Reference manual.  This information
  50. can also be downloaded from PC Magnet.
  51.  
  52.     Available for downloading from PC MagNet (see the ANSI by Modem
  53. sidebar), ANSI.COM is already compiled and ready to run.  ANSI.BAS will
  54. automatically create ANSI.COM when run once in BASIC.  To create ANSI.COM from
  55. the ANSI.ASM source code requires use of a macro assembler (IBM or Microsoft,
  56. Version 2 or later) and the following commands:
  57.  
  58. MASM ANSI;
  59. LINK ANSI;
  60. EXE2BIN ANSI ANSI.COM;
  61.