logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

us (7959B)


  1. //
  2. //Copyright (c) 1996 Digital Equipment Corporation
  3. //
  4. //Permission is hereby granted, free of charge, to any person obtaining
  5. //a copy of this software and associated documentation files (the
  6. //"Software"), to deal in the Software without restriction, including
  7. //without limitation the rights to use, copy, modify, merge, publish,
  8. //distribute, sublicense, and sell copies of the Software, and to
  9. //permit persons to whom the Software is furnished to do so, subject to
  10. //the following conditions:
  11. //
  12. //The above copyright notice and this permission notice shall be included
  13. //in all copies or substantial portions of the Software.
  14. //
  15. //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  16. //OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  17. //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  18. //IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
  19. //DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  20. //OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
  21. //THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  22. //
  23. //Except as contained in this notice, the name of the Digital Equipment
  24. //Corporation shall not be used in advertising or otherwise to promote
  25. //the sale, use or other dealings in this Software without prior written
  26. //authorization from Digital Equipment Corporation.
  27. //
  28. // HISTORY
  29. // Log
  30. // Revision 1.2 1996/06/18 09:10:16 erik
  31. // use flags correctly, assorted cleanups and consortium fixes
  32. //
  33. // Revision 1.1.6.3 1995/12/19 19:56:37 William_Walker
  34. // Update to XKB 0.65
  35. // [1995/12/17 02:37:44 William_Walker]
  36. //
  37. // Revision 1.1.6.2 1995/10/25 21:01:25 William_Walker
  38. // Add pc104-key support
  39. // [1995/10/23 15:46:27 William_Walker]
  40. //
  41. // Revision 1.1.2.7 1995/06/27 12:18:40 William_Walker
  42. // Add LK201 and LK450 support as well as TW and DP variants.
  43. // [1995/06/26 20:30:33 William_Walker]
  44. //
  45. // Revision 1.1.2.6 1995/06/09 20:55:20 William_Walker
  46. // Add VT105 layout support and ISO group support
  47. // [1995/06/09 20:43:05 William_Walker]
  48. //
  49. // Revision 1.1.2.5 1995/06/08 21:05:49 William_Walker
  50. // Use ISO_Next_Group instead of grouplock
  51. // [1995/06/08 21:03:56 William_Walker]
  52. //
  53. // Revision 1.1.2.4 1995/06/05 19:25:00 William_Walker
  54. // New file. I love keymaps.
  55. // [1995/06/05 18:17:54 William_Walker]
  56. //
  57. // EndLog
  58. //
  59. // @(#)RCSfile: us Revision: /main/4 (DEC) Date: 1996/01/24 12:15:05
  60. //
  61. // **************************************************************
  62. // * *
  63. // * Symbols for en_US.ISO8859-1 - English for U.S. *
  64. // * *
  65. // **************************************************************
  66. xkb_symbols "us" {
  67. key <AE00> { [ grave, asciitilde ] };
  68. key <AE01> { [ 1, exclam ] };
  69. key <AE02> { [ 2, at ] };
  70. key <AE03> { [ 3, numbersign ] };
  71. key <AE04> { [ 4, dollar ] };
  72. key <AE05> { [ 5, percent ] };
  73. key <AE06> { [ 6, asciicircum ] };
  74. key <AE07> { [ 7, ampersand ] };
  75. key <AE08> { [ 8, asterisk ] };
  76. key <AE09> { [ 9, parenleft ] };
  77. key <AE10> { [ 0, parenright ] };
  78. key <AE11> { [ minus, underscore ] };
  79. key <AE12> { [ equal, plus ] };
  80. key <AD01> { [ q, Q ] };
  81. key <AD02> { [ w, W ] };
  82. key <AD03> { [ e, E ] };
  83. key <AD04> { [ r, R ] };
  84. key <AD05> { [ t, T ] };
  85. key <AD06> { [ y, Y ] };
  86. key <AD07> { [ u, U ] };
  87. key <AD08> { [ i, I ] };
  88. key <AD09> { [ o, O ] };
  89. key <AD10> { [ p, P ] };
  90. key <AD11> { [ bracketleft, braceleft ] };
  91. key <AD12> { [ bracketright, braceright ] };
  92. key <AC01> { [ a, A ] };
  93. key <AC02> { [ s, S ] };
  94. key <AC03> { [ d, D ] };
  95. key <AC04> { [ f, F ] };
  96. key <AC05> { [ g, G ] };
  97. key <AC06> { [ h, H ] };
  98. key <AC07> { [ j, J ] };
  99. key <AC08> { [ k, K ] };
  100. key <AC09> { [ l, L ] };
  101. key <AC10> { [ semicolon, colon ] };
  102. key <AC11> { [ apostrophe, quotedbl ] };
  103. key <BKSL> { [ backslash, bar ] };
  104. key <AB01> { [ z, Z ] };
  105. key <AB02> { [ x, X ] };
  106. key <AB03> { [ c, C ] };
  107. key <AB04> { [ v, V ] };
  108. key <AB05> { [ b, B ] };
  109. key <AB06> { [ n, N ] };
  110. key <AB07> { [ m, M ] };
  111. key <AB08> { [ comma, less ] };
  112. key <AB09> { [ period, greater ] };
  113. key <AB10> { [ slash, question ] };
  114. };
  115. // **************************************************************
  116. // * *
  117. // * The VT105 layouts *
  118. // * *
  119. // * NOTES: The typewriter (TW) and dataprocessing (DP) keys *
  120. // * for the VT108 layout are identical for the US. *
  121. // * *
  122. // **************************************************************
  123. xkb_symbols "vt105-tw" {
  124. include "digital_vndr/us(us)"
  125. include "digital_vndr/vt(vt105)"
  126. override key <AE03> {
  127. symbols[Group1]= [ 3, numbersign ],
  128. symbols[Group2]= [ sterling ]
  129. };
  130. key <AB00> { [ less, greater ] };
  131. };
  132. xkb_symbols "vt105-dp" { include "digital_vndr/us(vt105-tw)" };
  133. xkb_symbols "vt105" { include "digital_vndr/us(vt105-tw)" };
  134. // **************************************************************
  135. // * *
  136. // * The VT108 layouts - based upon the LK401-AA *
  137. // * *
  138. // * NOTES: The typewriter (TW) and dataprocessing (DP) keys *
  139. // * for the VT108 layout are identical for the US. *
  140. // * *
  141. // **************************************************************
  142. xkb_symbols "vt108-tw" {
  143. include "digital_vndr/us(us)"
  144. include "digital_vndr/vt(vt108)"
  145. replace key <LCMP> { [ Multi_key ] };
  146. override key <AE03> {
  147. symbols[Group1]= [ 3, numbersign ],
  148. symbols[Group2]= [ sterling ]
  149. };
  150. key <AB00> { [ less, greater ] };
  151. };
  152. xkb_symbols "vt108-dp" { include "digital_vndr/us(vt108-tw)" };
  153. xkb_symbols "vt108" { include "digital_vndr/us(vt108-tw)" };
  154. // **************************************************************
  155. // * *
  156. // * The "unix" layouts - based upon the LK421-AA *
  157. // * *
  158. // * NOTES: The "unix" keyboard emits the same keycodes as the *
  159. // * LK401, but is a shorter keyboard that uses an *
  160. // * "extend" key. To make life easier, we map <AE00> *
  161. // * to Escape so users do not have to press Extend+F11 *
  162. // * to get Escape. *
  163. // * *
  164. // **************************************************************
  165. xkb_symbols "unix" {
  166. include "digital_vndr/us(vt108)"
  167. override key <AE00> { [ Escape ] };
  168. override key <AB00> { [ grave, asciitilde ] };
  169. };
  170. // **************************************************************
  171. // * *
  172. // * The "pcxal" layouts *
  173. // * *
  174. // * NOTES: The pcxal layouts are pretty much standardized for *
  175. // * the US and use a 101-key keyboard. *
  176. // * *
  177. // **************************************************************
  178. xkb_symbols "pcxalga" {
  179. include "digital_vndr/pc(pc)"
  180. include "digital_vndr/us(us)"
  181. replace key <RALT> { [ Alt_R, Meta_R ] };
  182. };
  183. xkb_symbols "pcxal" { include "digital_vndr/us(pcxalga)" };
  184. xkb_symbols "pcxalaa" { include "digital_vndr/us(pcxalga)" };
  185. xkb_symbols "pcxalfa" { include "digital_vndr/us(pcxalga)" };
  186. xkb_symbols "pcxalka" { include "digital_vndr/us(pcxalga)" };
  187. xkb_symbols "lk44x" { include "digital_vndr/us(pcxalga)" };
  188. // **************************************************************
  189. // * *
  190. // * The "pc104" layouts. *
  191. // * *
  192. // **************************************************************
  193. xkb_symbols "pc104" {
  194. include "digital_vndr/pc(pc104)"
  195. include "digital_vndr/us(us)"
  196. replace key <RALT> { [ Alt_R ] };
  197. };