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

indy (14976B)


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