home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / KBDSET.ZIP / KEYBOARD.DOC < prev    next >
Text File  |  1991-12-04  |  3KB  |  68 lines

  1.  
  2.                                      KEYBOARD.C
  3.                                      ----------
  4.  
  5.                                    by D. Pagliughi
  6.  
  7.  
  8.          The program KEYBOARD.C (KEYBOARD.EXE is the executable file) can
  9.          be used to control the status of the keyboard.  For example, some
  10.          systems do not boot up with NumLock enabled.  To cause the NumLock
  11.          to be enabled at boot time, simply insert the statement:
  12.  
  13.                     KEYBOARD N+
  14.  
  15.          in your AUTOEXEC.BAT file.  Note that KEYBOARD.EXE must be in a
  16.          directory defined in the PATH statement or in the root directory
  17.          of the boot disk.
  18.  
  19.          Command Syntax:
  20.          --------------
  21.  
  22.          The following command line switches are allowed:
  23.  
  24.                     N or n    -         NumLock
  25.                     C or c    -         Caps Lock
  26.                     S or s    -         Scroll Lock
  27.                     I or i    -         Insert Mode
  28.  
  29.          Each command switch can be followed by an identifier.  Multiple
  30.          switches/modifiers can be specified but they must be separated by
  31.          a space.
  32.  
  33.          Each command switch can be followed by a modifier:
  34.  
  35.                     +         -         Turn option ON regardless of
  36.                                         its current status.
  37.                     -         -         Turn the switch OFF regardless of
  38.                                         its current status.
  39.                     blank     -         Toggle the switch.
  40.  
  41.  
  42.          Examples:
  43.  
  44.          Assuming the following starting keyboard conditions:
  45.  
  46.                NumLock ON, Caps Lock OFF, Insert OFF, Scroll Lock OFF
  47.  
  48.          the following command switches and modifiers would result in the
  49.          indicated effects:
  50.  
  51.           Command           NumLock    Caps Lock   Insert   Scroll Lock
  52.           KEYBOARD N C+ S     OFF         ON         OFF        ON
  53.           KEYBOARD N+ I+ C-   ON          OFF        ON         OFF
  54.           KEYBOARD N C S I    OFF         ON         ON         ON
  55.  
  56.  
  57.          Notes:
  58.  
  59.          Many software packages set the status of certain of the switches
  60.          above when they start up, therefore the values you set may be
  61.          changed.
  62.  
  63.          This program, along with the source code is placed in the public
  64.          domain and may be freely modified and distributed as long as no
  65.          fee is charged.  The author takes no responsibility for damages
  66.          claimed as a result of using this program.
  67.  
  68.