home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20110725.etc.tar.gz / bradford.20110725.etc.tar / etc / gpm / twiddler.conf < prev   
Text File  |  2006-04-22  |  5KB  |  259 lines

  1. #
  2. # This is the configuration file for the twiddler keyboard as used under
  3. # the gpm mouse server
  4. #
  5. # Empty lines and comments are ignored, other lines must follow either
  6. # of the following conventions:
  7. #     chord = value     (e.g.   "L000 = a")
  8. # mod chord = value     (e.g.   "Shift L000 = a")
  9. #
  10. # The "mod" is one of "Shift" "Numeric" "Function" "Control" "Ctrl" "Alt",
  11. # or any abbreviation of those (case independent)
  12. # The special case "Ctrl+Shift" (or "Shift+Ctrl") is supported, but note
  13. # that it can't be abbreviated like C+S or anything like that.
  14. #
  15. # The "chord" value is one of the usual specifications, uppercase only
  16. #
  17. # Value can be a single byte (also as escape sequence), a string with
  18. # double quotes (with escape sequences) or a special name (one of those
  19. # appearing as "string" in dumpkeys, and Up Down Left Right).
  20. # In addition, the strings "Console" and "Exec" are supported. See the
  21. # sample case below.
  22. #
  23. # Escape sequences are \n \r \e \t \a \b, octal ("\243") or hex ("\xff")
  24. # numbers. Any other char is returned unchanged, like \" or \\.
  25.  
  26. ######## Lowercase
  27. R000 = a
  28. 0R00 = b
  29. 00R0 = c
  30. 000R = d
  31. M000 = e
  32. 0M00 = f
  33. 00M0 = g
  34. 000M = h
  35. LR00 = i
  36. L0R0 = j
  37. L00R = k
  38. LM00 = l
  39. L0M0 = m
  40. L00M = n
  41. LL00 = o
  42. L0L0 = p
  43. L00L = q
  44. MR00 = r
  45. M0R0 = s
  46. M00R = t
  47. MM00 = u
  48. M0M0 = v
  49. M00M = w
  50. ML00 = x
  51. M0L0 = y
  52. M00L = z
  53.  
  54. ############## Uppercase
  55. Shift R000 = A
  56. Shift 0R00 = B
  57. Shift 00R0 = C
  58. Shift 000R = D
  59. Shift M000 = E
  60. Shift 0M00 = F
  61. Shift 00M0 = G
  62. Shift 000M = H
  63. Shift LR00 = I
  64. Shift L0R0 = J
  65. Shift L00R = K
  66. Shift LM00 = L
  67. Shift L0M0 = M
  68. Shift L00M = N
  69. Shift LL00 = O
  70. Shift L0L0 = P
  71. Shift L00L = Q
  72. Shift MR00 = R
  73. Shift M0R0 = S
  74. Shift M00R = T
  75. Shift MM00 = U
  76. Shift M0M0 = V
  77. Shift M00M = W
  78. Shift ML00 = X
  79. Shift M0L0 = Y
  80. Shift M00L = Z
  81.  
  82. ######## Control
  83. Ctrl  R000 = \x01
  84. Ctrl  0R00 = \x02
  85. Ctrl  00R0 = \x03
  86. Ctrl  000R = \x04
  87. Ctrl  M000 = \x05
  88. Ctrl  0M00 = \x06
  89. Ctrl  00M0 = \x07
  90. Ctrl  000M = \x08
  91. Ctrl  LR00 = \x09
  92. Ctrl  L0R0 = \x0a
  93. Ctrl  L00R = \x0b
  94. Ctrl  LM00 = \x0c
  95. Ctrl  L0M0 = \x0d
  96. Ctrl  L00M = \x0e
  97. Ctrl  LL00 = \x0f
  98. Ctrl  L0L0 = \x10
  99. Ctrl  L00L = \x11
  100. Ctrl  MR00 = \x12
  101. Ctrl  M0R0 = \x13
  102. Ctrl  M00R = \x14
  103. Ctrl  MM00 = \x15
  104. Ctrl  M0M0 = \x16
  105. Ctrl  M00M = \x17
  106. Ctrl  ML00 = \x18
  107. Ctrl  M0L0 = \x19
  108. Ctrl  M00L = \x1a
  109.  
  110. ######## Meta (Alt)
  111. Meta R000 = "\ea"
  112. Meta 0R00 = "\eb"
  113. Meta 00R0 = "\ec"
  114. Meta 000R = "\ed"
  115. Meta M000 = "\ee"
  116. Meta 0M00 = "\ef"
  117. Meta 00M0 = "\eg"
  118. Meta 000M = "\eh"
  119. Meta LR00 = "\ei"
  120. Meta L0R0 = "\ej"
  121. Meta L00R = "\ek"
  122. Meta LM00 = "\el"
  123. Meta L0M0 = "\em"
  124. Meta L00M = "\en"
  125. Meta LL00 = "\eo"
  126. Meta L0L0 = "\ep"
  127. Meta L00L = "\eq"
  128. Meta MR00 = "\er"
  129. Meta M0R0 = "\es"
  130. Meta M00R = "\et"
  131. Meta MM00 = "\eu"
  132. Meta M0M0 = "\ev"
  133. Meta M00M = "\ew"
  134. Meta ML00 = "\ex"
  135. Meta M0L0 = "\ey"
  136. Meta M00L = "\ez"
  137.  
  138. ##### 1b is escape, etc...
  139.  
  140.       RRR0 = \x1b
  141.  
  142. ############### Numbers and symbols (ascii 0x20 to 0x40)
  143.     L000 = " "
  144.     R0L0 = !
  145.     R0M0 = "
  146.     0M0L = #
  147.     0LR0 = $
  148.     00RM = %
  149.     0L0L = &
  150.     RM00 = '
  151.     0LL0 = (
  152.     0RL0 = )
  153.     00LM = *
  154.     00ML = +
  155.     R0R0 = ,
  156.     R00L = -
  157.     RR00 = .
  158.     MMM0 = /
  159. Num 0L00 = 0
  160. Num R000 = 1
  161. Num 0R00 = 2
  162. Num 00R0 = 3
  163. Num 000R = 4
  164. Num M000 = 5
  165. Num 0M00 = 6
  166. Num 00M0 = 7
  167. Num 000M = 8
  168. Num L000 = 9
  169.     00RL = :
  170.     R00R = ;
  171. Num M00L = <
  172.     00MR = =
  173. Num R0R0 = >
  174.     RL00 = ?
  175.     00LR = @
  176.  
  177. ############## Other symbols (ascii 0x5b to 0x60 and 0x7b to 0x7f)
  178.  
  179. Num RM00 = [
  180.     LLL0 = \
  181. Num R00M = ]
  182. Num LM00 = ^
  183.     0R0L = _
  184. Num R0L0 = `
  185.  
  186. Num R00L = {
  187. Num LLR0 = |
  188. Num LL0R = }
  189. Num LLM0 = ~
  190.     0L00 = \x7f
  191.     00L0 = \x08
  192.  
  193. ############## In addition to ascii, here are the special keys
  194.  
  195. # return, tab
  196. 000L = \x0a
  197. MM0M = \x09
  198.  
  199. # arrows
  200. 0MR0 = Up
  201. 0ML0 = Down
  202. 0MM0 = Left
  203. 0M0M = Right
  204.  
  205. # pageup/down
  206. 00RR = Prior
  207. 00LL = Next
  208.  
  209. ############## Functions
  210. Fun R000 = F1
  211. Fun 0R00 = F2
  212. Fun 00R0 = F3
  213. Fun 000R = F4
  214. Fun M000 = F5
  215. Fun 0M00 = F6
  216. Fun 00M0 = F7
  217. Fun 000M = F8
  218. Fun L000 = F9
  219. Fun 0L00 = F10
  220. Fun 00L0 = F11
  221. Fun 000L = F12
  222.  
  223.  
  224. ############## Console switching
  225. Ctrl+Shift R000 = Console 1
  226. Ctrl+Shift 0R00 = Console 2
  227. Ctrl+Shift 00R0 = Console 3
  228. Ctrl+Shift 000R = Console 4
  229. Ctrl+Shift M000 = Console 5
  230. Ctrl+Shift 0M00 = Console 6
  231. Ctrl+Shift 00M0 = Console 7
  232. Ctrl+Shift 000M = Console 8
  233. Ctrl+Shift L000 = Console 9
  234. Ctrl+Shift 0L00 = Console 10
  235. Ctrl+Shift 00L0 = Console 11
  236. Ctrl+Shift 000L = Console 12
  237.  
  238. ############## Executing commands (be careful: this is root)
  239. # This is just an example: t for "time" and s for "space"
  240. # The empty line is  used to align text on console border
  241.  
  242. F M00R = Exec    echo > /dev/tty0; date > /dev/tty0
  243. F M0R0 = Exec    echo > /dev/tty0; df   > /dev/tty0
  244.  
  245. # you can put shutdown, reboot or anything here.
  246.  
  247. ############## Macros
  248.  
  249. 0RR0 = "the"
  250. 0RM0 = "of"
  251. 0R0R = "to"
  252. 0M0R = "ed"
  253. R00M = "and"
  254. 0R0M = "in"
  255. 0L0M = "ion"
  256. 00MM = "ing"
  257.  
  258. ############## Add accented letters here below....
  259.