home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / TECLADO / STUFFKB2.ZIP / STUFFKB.TXT < prev    next >
Encoding:
Text File  |  1990-11-18  |  3.5 KB  |  81 lines

  1.                              STUFFKB.COM v2.0
  2.                              NOVEMBER 17, 1990
  3.  
  4.     STUFFKB is a PUBLIC DOMAIN PROGRAM which places parameters on the
  5.     command line into the BIOS Keyboard buffer.  It was created to enable
  6.     batch files to pass parameters to applications but may have other uses
  7.     (see example below).  As placed on BBSs, the following files should be
  8.     in a single archived file:
  9.  
  10.         STUFFKB.TXT     This File
  11.         STUFFKB.COM     Program File
  12.         STUFFKB.Vxx     Version xx of Assembler Source File
  13.         BUFFERKB.COM    See Below
  14.         BUFFERKB.Vxx    Version xx of Assembler Source File
  15.  
  16.     To use the program, type STUFFKB parameters.  "Parameters" is a
  17.     sequence of keystrokes to be placed in the keyboard buffer.  Control
  18.     characters can be passed by enclosing them in ~ characters.  (i.e.
  19.     ~CR~ passes an ASCII carriage return- decimal 13, ^M).  Version 2.0
  20.     supports the following "control" codes:
  21.  
  22.         Function        Code  ASCII Value
  23.         -------------   ----  ----------
  24.         Carriage Return CR        013
  25.         Back Space      BS        008
  26.         Escape          ESC       027
  27.  
  28.     While this is sufficient for most uses, it can easily be expanded by
  29.     editing the accompanying Assembler source code and recompiling.
  30.  
  31.     LIMITATIONS:
  32.         STUFFKB is not Memory Resident.  This Maximizes its compatibility
  33.         with any DOS software.   As a result, it can not stuff more
  34.         characters than will fit in the BIOS Keyboard Buffer. (Normally 15
  35.         characters.
  36.  
  37.         To get around the 15 character limit, I've included another
  38.         Non-TSR program called BUFFERKB.  This program enlarges the
  39.         Keyboard Buffer to 31 characters.  It should be compatible with
  40.         most software.  However, since it uses "currently undefined but
  41.         IBM reserved BIOS data areas" for the new buffer, I can make no
  42.         promises.  I've encluded the asssembler source code for this
  43.         program as well should you need to make modifications.
  44.  
  45.         STUFFKB was designed to work directly with the BIOS keyboard of
  46.         IBM PCs and compatibles.  It will not work with some early "cheap"
  47.         klones (i.e. SANYO), or with some Memory resident keyboard
  48.         extenders which move the BIOS Buffer.
  49.  
  50.         If you enclose an unrecognized control code within "~" characters,
  51.         STUFFKB will stuff a ^G (Bell) character instead.  This should
  52.         BEEP the PC's speaker when this character is encountered.
  53.  
  54.     EXAMPLE:
  55.         I wrote this program to pass parameters to applications by
  56.         stuffing the keyboard buffer.  For instance suppose you wanted a
  57.         batch file to load Lotus 123 (TM) and a spreadsheet passed as a
  58.         parameter to the batch file.  I.E. "L Homework" to bring you from
  59.         the DOS prompt into Lotus with the Homework spreadsheet
  60.         displayed.  The following batch file would accomplish this
  61.         assuming 1) the spreadsheet is in Lotus' default data directory
  62.         (\Lotus\wks for me) and 2) STUFFKB.COM is in the current
  63.         subdirectory or active DOS path.
  64.  
  65.         L.BAT
  66.              CD \Lotus
  67.              IF EXIST C:\Lotus\wks\%1.WK? GOTO Stuff
  68.              123
  69.              GOTO Exit
  70.              :Stuff
  71.         -->  STUFFKB 123~CR~/FR%1~CR~
  72.              :Exit
  73.  
  74.  
  75.     I hope you find STUFFKB and BUFFERKB useful.  If you modify and return
  76.     the program to the public, please rename the assembler source to a new
  77.     revision level.
  78.  
  79. Ed Derzawiec
  80.  
  81.