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

O2 (15323B)


  1. //
  2. // Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc.
  3. //
  4. // Permission to use, copy, modify, and distribute this
  5. // software and its documentation for any purpose and without
  6. // fee is hereby granted, provided that the above copyright
  7. // notice appear in all copies and that both that copyright
  8. // notice and this permission notice appear in supporting
  9. // documentation, and that the name of Silicon Graphics not be
  10. // used in advertising or publicity pertaining to distribution
  11. // of the software without specific prior written permission.
  12. // Silicon Graphics makes no representation about the suitability
  13. // of this software for any purpose. It is provided "as is"
  14. // without any express or implied warranty.
  15. //
  16. // SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
  17. // SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  18. // AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
  19. // GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
  20. // DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  21. // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  22. // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
  23. // THE USE OR PERFORMANCE OF THIS SOFTWARE.
  24. //
  25. default xkb_geometry "pc101" {
  26. // This is an approximate layout for a 101-key (US/ASCII) SGI
  27. // keyboard. I just took a similar layout (101 key PC keyboard)
  28. // and adjusted the sizes of a few keys by eye. I didn't actually
  29. // *measure* a real keyboard.
  30. description= "101-key keyboard for Silicon Graphics O2";
  31. width= 448;
  32. height= 162;
  33. shape "EDGE" {
  34. cornerRadius= 2,
  35. { [ 15, 0 ], [ 433, 0 ], [ 433, 10 ], [ 448, 10 ],
  36. [ 448, 162 ], [ 0, 162 ], [ 0, 10 ], [ 15, 10 ] }
  37. };
  38. shape.cornerRadius= 1;
  39. shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
  40. shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
  41. shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
  42. shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
  43. shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
  44. shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
  45. shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
  46. shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
  47. shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
  48. shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
  49. shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
  50. shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
  51. shape "LOGO" { { [ 12,12] } };
  52. outline "Edges" {
  53. top= 0;
  54. left= 0;
  55. shape= "EDGE";
  56. };
  57. section.left= 6;
  58. row.left= 1;
  59. key.shape= "NORM";
  60. key.gap= 1;
  61. section "Function" {
  62. top= 25;
  63. row {
  64. top= 1;
  65. keys { { <ESC>, color="grey20" },
  66. { <FK01>, 19}, <FK02>, <FK03>, <FK04>,
  67. { <FK05>, 11}, <FK06>, <FK07>, <FK08>,
  68. { <FK09>, 11}, <FK10>, <FK11>, <FK12>
  69. };
  70. };
  71. }; // End of "Function" section
  72. section "Alpha" {
  73. top= 58;
  74. row {
  75. top= 1;
  76. keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  77. <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  78. <AE10>, <AE11>, <AE12>,
  79. { <BKSP>, "BKSP", color="grey20" }
  80. };
  81. };
  82. row {
  83. top= 20;
  84. keys { { <TAB>, "TABK", color= "grey20" },
  85. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  86. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  87. <AD11>, <AD12>,
  88. { <BKSL>, "BKSL" }
  89. };
  90. };
  91. row {
  92. top= 39;
  93. keys { { <CAPS>, "CAPS", color="grey20" },
  94. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  95. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
  96. <AC11>, { <RTRN>, "RTRN", color="grey20" }
  97. };
  98. };
  99. row {
  100. top= 58;
  101. keys { { <LFSH>, "LFSH", color="grey20" },
  102. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  103. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  104. { <RTSH>, "RTSH", color="grey20" }
  105. };
  106. };
  107. row {
  108. top= 77;
  109. key.shape= "MODK";
  110. key.color= "grey20";
  111. keys { <LCTL>, { <LALT>, 20 },
  112. { <SPCE>, "SPCE",color="white" },
  113. <RALT>, { <RCTL>, 20 }
  114. };
  115. };
  116. }; // End of "Alpha" section
  117. section "Editing" {
  118. top= 25;
  119. left= 299;
  120. key.color= "grey20";
  121. row {
  122. top= 1;
  123. keys { <PRSC>, <SCLK>, <PAUS> };
  124. };
  125. row {
  126. top= 33;
  127. keys { <INS>, <HOME>, <PGUP> };
  128. };
  129. row {
  130. top= 53;
  131. keys { <DELE>, <END>, <PGDN> };
  132. };
  133. row {
  134. top= 91;
  135. left= 20;
  136. keys { <UP> };
  137. };
  138. row {
  139. top= 110;
  140. keys { <LEFT>, <DOWN>, <RGHT> };
  141. };
  142. }; // End of "Editing" section
  143. shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
  144. shape "LED" { cornerRadius= 0, { [ 3, 1.5] } };
  145. solid "LedPanel" {
  146. shape= "LEDS";
  147. top= 25;
  148. left= 364;
  149. color= "grey10";
  150. };
  151. indicator.onColor= "green";
  152. indicator.offColor= "green30";
  153. indicator.top= 40.5;
  154. indicator.shape= "LED";
  155. indicator "Num Lock" { left= 372; };
  156. indicator "Caps Lock" { left= 397; };
  157. indicator "Scro llLock" { left= 422; };
  158. text.font= "helvetica";
  159. text.weight= "bold";
  160. text.slant= "r";
  161. text.fontWidth= "normal";
  162. text.fontSize= 12;
  163. text.top= 39.5;
  164. text.color= "black";
  165. text "NumLockLabel" { left= 376.5; text="1"; };
  166. text "CapsLockLabel" { left= 401.5; text="A"; };
  167. text "ScrollLockLabel" { left= 426.5; text="S"; };
  168. logo "SGILogoImage" {
  169. top= 26.5;
  170. left= 396;
  171. name= "SGI";
  172. shape= "LOGO";
  173. };
  174. text.font= "helvetica";
  175. text.weight= "bold";
  176. text.slant= "o";
  177. text.fontWidth= "narrow";
  178. text.fontSize= 18;
  179. text "SiliconLogoText" {
  180. top= 27;
  181. left= 375;
  182. width= 20;
  183. text= "Silicon";
  184. };
  185. text "GraphicsLogoText" {
  186. top= 27;
  187. left= 409;
  188. width= 20;
  189. text= "Graphics";
  190. };
  191. section "Keypad" {
  192. top= 58;
  193. left= 363;
  194. row {
  195. top= 1;
  196. key.color= "grey20";
  197. keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  198. };
  199. row {
  200. top= 20;
  201. keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
  202. };
  203. row {
  204. top= 39;
  205. keys { <KP4>, <KP5>, <KP6> };
  206. };
  207. row {
  208. top= 58;
  209. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
  210. };
  211. row {
  212. top= 77;
  213. keys { { <KP0>, "KP0" }, <KPDL> };
  214. };
  215. }; // End of "Keypad" section
  216. alias <AC00> = <CAPS>;
  217. alias <AA00> = <LCTL>;
  218. };
  219. xkb_geometry "pc102" {
  220. // This is an approximate layout for 102-key SGI international
  221. // keyboards. I just took a similar layout (101 key PC keyboard)
  222. // and adjusted the sizes of a few keys by eye. I didn't actually
  223. // *measure* a real keyboard.
  224. description= "Silicon Graphics 102-key Keyboard";
  225. width= 470;
  226. height= 193;
  227. shape.cornerRadius= 1;
  228. shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
  229. shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
  230. shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
  231. shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
  232. shape "RTRN" {
  233. approx = { [ 0, 0], [26,37] },
  234. { [ 0, 0], [26, 0], [26,37],
  235. [ 5,37], [ 5,18], [ 0,18] },
  236. { [ 1, 1], [24, 1], [24,36],
  237. [ 7,36], [ 7,17], [ 1,17] }
  238. };
  239. shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
  240. shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
  241. shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
  242. shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
  243. shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
  244. shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
  245. shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
  246. shape "LOGO" { { [ 16,16] } };
  247. outline "Edges" {
  248. top= 0;
  249. left= 0;
  250. shape= "EDGE";
  251. };
  252. section.left= 19;
  253. row.left= 1;
  254. key.shape= "NORM";
  255. key.gap= 1;
  256. section "Function" {
  257. top= 50;
  258. row {
  259. top= 1;
  260. keys { { <ESC>, color="grey20" },
  261. { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
  262. { <FK05>, 10}, <FK06>, <FK07>, <FK08>,
  263. { <FK09>, 10}, <FK10>, <FK11>, <FK12>
  264. };
  265. };
  266. }; // End of "Function" section
  267. section "Alpha" {
  268. top= 83;
  269. row {
  270. top= 1;
  271. keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  272. <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  273. <AE10>, <AE11>, <AE12>,
  274. { <BKSP>, "BKSP", color= "grey20" }
  275. };
  276. };
  277. row {
  278. top= 20;
  279. keys { { <TAB>, "TABK", color= "grey20" },
  280. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  281. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  282. <AD11>, <AD12>,
  283. { <RTRN>, "RTRN", color= "grey20" }
  284. };
  285. };
  286. row {
  287. top= 39;
  288. keys { { <CAPS>, "CAPS", color= "grey20" },
  289. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  290. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
  291. <AC11>, <BKSL>
  292. };
  293. };
  294. row {
  295. top= 58;
  296. keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
  297. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  298. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  299. { <RTSH>, "RTSH", color= "grey20" }
  300. };
  301. };
  302. row {
  303. top= 77;
  304. key.shape= "MODK";
  305. key.color= "grey20";
  306. keys { <LCTL>,
  307. { <LALT>, 19 },
  308. { <SPCE>, "SPCE", color="white" },
  309. <RALT>,
  310. { <RCTL>, 19 }
  311. };
  312. };
  313. }; // End of "Alpha" section
  314. section "Editing" {
  315. top= 50;
  316. left= 308;
  317. key.color= "grey20";
  318. row {
  319. top= 1;
  320. keys { <PRSC>, <SCLK>, <PAUS> };
  321. };
  322. row {
  323. top= 33;
  324. keys { <INS>, <HOME>, <PGUP> };
  325. };
  326. row {
  327. top= 53;
  328. keys { <DELE>, <END>, <PGDN> };
  329. };
  330. row {
  331. top= 91;
  332. left= 20;
  333. keys { <UP> };
  334. };
  335. row {
  336. top= 110;
  337. keys { <LEFT>, <DOWN>, <RGHT> };
  338. };
  339. }; // End of "Editing" section
  340. shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
  341. shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
  342. solid "LedPanel" {
  343. shape= "LEDS";
  344. top= 50;
  345. left= 375;
  346. color= "grey10";
  347. };
  348. indicator.onColor= "green";
  349. indicator.offColor= "green30";
  350. indicator.top= 64.5;
  351. indicator.shape= "LED";
  352. indicator "Num Lock" { left= 384; };
  353. indicator "Caps Lock" { left= 409; };
  354. indicator "Scroll Lock" { left= 434; };
  355. text.top= 52;
  356. text.color= "black";
  357. text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
  358. text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
  359. text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
  360. logo "SGILogoImage" {
  361. top= 17;
  362. left= 22;
  363. name= "SGI";
  364. shape= "LOGO";
  365. };
  366. text "SGILogoText" {
  367. top= 21;
  368. left= 40;
  369. width= 50;
  370. text= "SiliconGraphics";
  371. font= "helvetica";
  372. slant= "o";
  373. weight= "bold";
  374. setWidth= "narrow";
  375. fontSize= 24;
  376. };
  377. section "Keypad" {
  378. top= 83;
  379. left= 374;
  380. row {
  381. top= 1;
  382. key.color= "grey20";
  383. keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  384. };
  385. row {
  386. top= 20;
  387. keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
  388. };
  389. row {
  390. top= 39;
  391. keys { <KP4>, <KP5>, <KP6> };
  392. };
  393. row {
  394. top= 58;
  395. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
  396. };
  397. row {
  398. top= 77;
  399. keys { { <KP0>, "KP0" }, <KPDL> };
  400. };
  401. }; // End of "Keypad" section
  402. alias <AC00> = <CAPS>;
  403. alias <AA00> = <LCTL>;
  404. };
  405. xkb_geometry "jp106" {
  406. description= "Silicon Graphics 106-key Japanese keyboard";
  407. width= 442;
  408. height= 167;
  409. shape "EDGE" { cornerRadius= 2, { [ 442, 167 ] } };
  410. shape.cornerRadius= 1;
  411. shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
  412. shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
  413. shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
  414. shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
  415. shape "RTRN" {
  416. { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
  417. { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
  418. shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
  419. shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
  420. shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
  421. shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
  422. shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
  423. shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
  424. shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
  425. shape "LOGO" { { [ 16,16] } };
  426. outline "Edges" {
  427. top= 0;
  428. left= 0;
  429. shape= "EDGE";
  430. };
  431. logo "SGILogoImage" {
  432. top= 5;
  433. left= 6;
  434. name= "SGI";
  435. shape= "LOGO";
  436. };
  437. text "SGILogoText" {
  438. top= 9;
  439. left= 25;
  440. width= 50;
  441. text= "SiliconGraphics";
  442. font= "helvetica";
  443. slant= "o";
  444. weight= "bold";
  445. fontWidth= "narrow";
  446. fontSize= 24;
  447. };
  448. shape "LEDS" { cornerRadius= 0.1, { [ 76 ,20 ] } };
  449. shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
  450. solid "LedPanel" {
  451. shape= "LEDS";
  452. top= 25;
  453. left= 362;
  454. color= "grey10";
  455. };
  456. indicator.onColor= "green";
  457. indicator.offColor= "green30";
  458. indicator.top= 40;
  459. indicator.shape= "LED";
  460. indicator "Num Lock" { left= 366; };
  461. indicator "Caps Lock" { left= 391; };
  462. indicator "Scroll Lock" { left= 416; };
  463. text.top= 28;
  464. text.color= "black";
  465. text "NumLockLabel" { left= 366; text="Num\nLock"; };
  466. text "CapsLockLabel" { left= 391; text="Caps\nLock"; };
  467. text "ScrollLockLabel" { left= 416; text="Scroll\nLock"; };
  468. section.left= 5;
  469. row.left= 1;
  470. key.shape= "NORM";
  471. key.gap= 1;
  472. section "Function" {
  473. top= 25;
  474. row {
  475. top= 1;
  476. keys { { <ESC>, color="grey20" },
  477. { <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
  478. { <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
  479. { <FK07>, color="grey20"}, {<FK08>,color="grey20"},
  480. { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
  481. { <PRSC>, 8 }, <SCLK>, <PAUS>
  482. };
  483. };
  484. }; // End of "Function" section
  485. section "Alpha" {
  486. top= 61;
  487. row {
  488. top= 1;
  489. keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
  490. <AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
  491. <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
  492. <AE13>, { <BKSP>, "BKSP", color="grey20" }
  493. };
  494. };
  495. row {
  496. top= 20;
  497. keys { { <TAB>, "TABK", color="grey20" },
  498. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  499. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  500. <AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
  501. };
  502. };
  503. row {
  504. top= 39;
  505. keys { { <CAPS>, "CAPS", color="grey20" },
  506. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  507. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
  508. <AC11>, <AC12>
  509. };
  510. };
  511. row {
  512. top= 58;
  513. keys { { <LFSH>, "LFSH", color="grey20" },
  514. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  515. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  516. <AB11>, { <RTSH>, "RTSH", color="grey20" }
  517. };
  518. };
  519. row {
  520. top= 77;
  521. key.shape= "MODK";
  522. key.color= "grey20";
  523. keys { <LCTL>, { <LALT>, 20 },<NFER>,
  524. { <SPCE>, "SPCE", color="white" },
  525. <XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
  526. };
  527. };
  528. }; // End of "Alpha" section
  529. section "Editing" {
  530. top= 61;
  531. left= 296;
  532. key.color= "grey20";
  533. row {
  534. top= 1;
  535. keys { <INS>, <HOME>, <PGUP> };
  536. };
  537. row {
  538. top= 20;
  539. keys { <DELE>, <END>, <PGDN> };
  540. };
  541. row {
  542. top= 58;
  543. left= 20;
  544. keys { <UP> };
  545. };
  546. row {
  547. top= 77;
  548. keys { <LEFT>, <DOWN>, <RGHT> };
  549. };
  550. }; // End of "Editing" section
  551. section "Keypad" {
  552. top= 61;
  553. left= 361;
  554. row {
  555. top= 1;
  556. key.color= "grey20";
  557. keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  558. };
  559. row {
  560. top= 20;
  561. keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
  562. };
  563. row {
  564. top= 39;
  565. keys { <KP4>, <KP5>, <KP6> };
  566. };
  567. row {
  568. top= 58;
  569. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
  570. };
  571. row {
  572. top= 77;
  573. keys { { <KP0>, "KP0" }, <KPDL> };
  574. };
  575. }; // End of "Keypad" section
  576. alias <AC00> = <CAPS>;
  577. alias <AA00> = <LCTL>;
  578. }; // End of "jp106" geometry