home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / showcp.zip / printkb.sft < prev    next >
Text File  |  1998-10-07  |  5KB  |  212 lines

  1. *
  2. * printkb.sft: Shift names for printkb
  3. *
  4. * Function:
  5. *     Allow function key names to be set on a per-keyboard basis.  The
  6. *     names for non-letter keys are not kept in the keyboard layout files.
  7. *
  8. * Syntax:
  9. *     Each line consists of three items:
  10. *     1. A hex value for scancode.  printkb may move a scancode based on
  11. *        the VKey assigned to the key.
  12. *     2. A type field:
  13. *        0 = normal text
  14. *        1 = smaller text
  15. *        3 = single unicode character (used for key symbols)
  16. *     3. The string (codepage 819) or unicode hex value
  17. *
  18. *     A scancode of 0 indicates an options line.  The following types
  19. *     can be specified:
  20. *     0 = Hex value for options (or'd together)
  21. *         0001 = group 1 only (-3 option)
  22. *         0002 = national layer favored (-n option)
  23. *         0004 = no case folding (-4 option)
  24. *         0008 = prefer lower position for national chars
  25. *     1 = Short name (codepage 819)
  26. *     2 = Description (codepage 819)
  27. *
  28.  
  29. *
  30. * These entries are used for all keyboards unless overridden by one of
  31. * the entries below
  32. *
  33.     01  0  Esc
  34.     0e  0  Backspace
  35.     0f  0  Tab
  36.     1c  0  Enter
  37. *   1c  0  Field~Exit
  38.     1d  0  Ctrl
  39. *   1d  0  Reset
  40.     2a  0  Shift
  41.     36  0  Shift
  42.     38  0  Alt
  43.     3a  0  Caps
  44.     3b  0  F1
  45.     3c  0  F2
  46.     3d  0  F3
  47.     3e  0  F4
  48.     3f  0  F5
  49.     40  0  F6
  50.     41  0  F7
  51.     42  0  F8
  52.     43  0  F9
  53.     44  0  F10
  54.     57  0  F11
  55.     58  0  F12
  56.     45  0  Num
  57.     46  0  ScLk
  58.     5a  1  Enter
  59.     5b  0  Ctrl
  60. *   5b  0  Enter
  61.     5d  0  PrSc
  62.     5e  0  AltGr
  63.     5f  1  Pause
  64.     60  1  Home
  65.     61  3  27e0          ; up
  66.     62  1  PgUp
  67.     63  3  27e2          ; left
  68.     64  3  27e3          ; right
  69.     65  0  End
  70.     66  3  27e1          ; down
  71.     67  1  PgDn
  72.     68  0  Ins
  73.     69  0  Del
  74.     77  0  Group
  75.     78  0  GrLk
  76.     79  0  Convert       ; nls2
  77.     7b  0  NoConv        ; nls1
  78.     71  1  Attn
  79.     76  1  Clear
  80.     72  1  CrSel
  81.     74  1  ExSel
  82.     6d  1  EOF
  83.     6f  1  Copy
  84.  
  85. *
  86. * These names override the ones specified above if ISO is selected
  87. *
  88. iso
  89.     01  3  27de          ; Escape
  90.     0e  3  27d1          ; Backspace
  91.     0f  3  27ec          ; Tab
  92.     1c  3  27d7          ; Enter
  93.     1d  3  27da          ; Ctrl
  94.     29  3  27f9          ; Size
  95.     2a  3  27c1          ; Shift
  96.     36  3  27c1          ; Shift
  97.     38  3  27d9          ; Alt
  98.     3a  3  27c2          ; Caps
  99.     45  3  27c4          ; Num
  100.     46  3  27d4          ; ScLk
  101.     5a  3  27d8          ; Enter
  102.     5b  3  27da          ; Ctrl
  103.     5d  3  27d6          ; PrSc
  104.     5e  3  27c5          ; Altgr
  105.     5f  3  27db          ; Pause
  106.     60  3  27e8          ; Home
  107.     62  3  27ea          ; PgUp
  108.     65  3  27e9          ; End
  109.     67  3  27eb          ; PgDn
  110.     68  3  27cb          ; Ins
  111.     69  3  27f2          ; Del
  112.     70  3  27c8          ; nls3
  113.     77  3  27c7          ; Group
  114.     78  3  27c8          ; Grouplock
  115.     79  3  27cf          ; nls2
  116.     7b  3  27fd          ; nls1
  117.     71  3  27d5          ; Attn
  118.     76  3  27d3          ; Clear
  119.     6d  3  27d2          ; ErEOF
  120. *
  121. * Other key characters:
  122. *
  123. * level3lock        27C6
  124. * space             27C9
  125. * reqspace          27CA
  126. * underline         27CC
  127. * underlinebroken   27CD
  128. * bold              27CE
  129. * compose           27CF
  130. * center            27D0
  131. * erase             27D1
  132. * delete            27D2
  133. * clearscreen       27D3
  134. * scroll            27D4
  135. * help              27D5
  136. * break             27DC
  137. * undo              27DF
  138. * right2            27E3
  139. * upfast            27E4
  140. * downfast          27E5
  141. * leftfast          27E6
  142. * rightfast         27E7
  143. * backtab           27ED
  144. * lineup            27EE
  145. * linedown          27EF
  146. * backspace         27F0
  147. * halfup            27F1
  148. * halfdown          27F2
  149. * halfleft          27F3
  150. * halfright         27F4
  151. * setleftmargin     27F5
  152. * setrightmargin    27F6
  153. * relleftmargin     27F7
  154. * relrightmargin    27F8
  155. * relmargins        27F9
  156. * backgroup         27FA
  157. * backgrouplock     27FB
  158. * scrolllock        27FC
  159. * diamond           27FD
  160. * delete1           27FE
  161. * code              27FF
  162.  
  163. *
  164. * US Macintosh - use the Option symbol for Altgr
  165. *
  166. usmac
  167.     00  1  UsMac
  168.     00  2  American English - Macintosh
  169.     5e  3  27ff          ; option
  170.  
  171. *
  172. * Japan - define japanese specific names
  173. *
  174. jp
  175.     00  0  0008
  176.     0e  0  Bksp
  177.     29  0  Size
  178.     70  1  Hiragana      ; nls3
  179. iso jp
  180.     00  0  0008
  181.     0e  3  27d1          ; Backspace
  182.     29  3  27f9
  183.     70  3  27c8          ; nls3
  184.  
  185. *
  186. * Taiwan - define specific names
  187. *
  188. tw
  189.     0e  0  Bksp
  190.     29  0  Size
  191.     70  1  Bopomofo      ; nls3
  192. iso tw
  193.     0e  3  27d1          ; Backspace
  194.     29  3  27f9
  195.     70  3  27c8          ; nls3
  196.  
  197. *
  198. * Options for other keyboards
  199. *
  200. de453
  201.     00  0  0001          ; Do not show group 2
  202.  
  203. de500
  204.     00  0  0004          ; Do not fold
  205.  
  206. ca
  207.     00  0  0001          ; Do not show group 2
  208.  
  209. ca501
  210.     00  0  0004          ; Do not fold
  211.  
  212.