Applications for Coherent 4.2.14 Updates and New
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

576 lines
14 KiB

  1. #############################################################################
  2. #
  3. # $Revision: 1.15 $
  4. #
  5. # $Id: .twmrc,v 1.15 1993/05/14 14:33:00 mehul Exp $
  6. #
  7. # The Tab Window Manager (twm) resource file.
  8. #
  9. # Copyright (c) 1992 by Raja Lakhan Software
  10. # All Rights Reserved.
  11. #
  12. # The way this file is divided as follows:
  13. # 1. Variables
  14. # 2. Bindings
  15. # 3. Menus
  16. #
  17. #
  18. # $Log: .twmrc,v $
  19. #
  20. # 12-2022 KenUnix
  21. # Added Quit to applications menu /usr/X11/lib/system.twmrc
  22. # Truncates to system.twm
  23. #
  24. # 06/18/93 (fwb at Mark Williams)
  25. # Changed order of sections, moving variables to the top of the file,
  26. # as described in the twm manual page. Fixed some misspellings and
  27. # eliminated some British-isms (e.g., "colour" -> "color").
  28. # Modified the invocation of some clients in the Applications menu to
  29. # conform to the COHERENT implementation of X, and to suit my tastes.
  30. #
  31. # Revision 1.15 1993/05/14 14:33:00 mehul
  32. # Changed the name ( Ultx --> Ultrix ).
  33. #
  34. # Revision 1.14 1993/05/13 22:25:36 mehul
  35. # renamed doors and increased their size to allow for the renaming.
  36. #
  37. # Revision 1.13 1993/05/10 18:05:27 mehul
  38. # added a new door for Solaris and SCO. also moved iconManager by 47 pixels
  39. # to the right ( 47 pixels away from the virtualDesktop ). I will probably
  40. # have more changes to make as i plan on making the VD a 100x100 display.
  41. #
  42. # Revision 1.12 1993/05/10 16:03:54 mehul
  43. # fixed a spelling error.
  44. #
  45. # Revision 1.11 1993/05/08 19:24:27 mehul
  46. # made changes in virtual desktop arrangement so that i can get more
  47. # "rooms" in there.
  48. #
  49. # Revision 1.10 1993/05/07 23:01:15 mehul
  50. # added xload to the applications menu
  51. #
  52. # Revision 1.9 1993/05/07 22:52:49 mehul
  53. # modified colours for fudge, kiss, snickers. added another xrdb function
  54. # thereby allowing me to have a colour version and a non-colour version
  55. # of the xrdb-function.
  56. #
  57. # Revision 1.5 1993/04/23 13:59:29 mehul
  58. # made sure the PostItNote was not showing in the virtual desktop.
  59. #
  60. # Revision 1.4 1993/04/23 13:18:00 mehul
  61. # gave colours for fudge, gave virtualk desktop colours for eclair and
  62. # fudge as well.
  63. #
  64. # Revision 1.3 1993/04/22 20:45:16 mehul
  65. # mod darkened ecalir's colour to gray40.
  66. #
  67. # Revision 1.2 1993/04/22 20:37:06 mehul
  68. # gave xterms for ECLAIR a bg of grey.
  69. #
  70. # Revision 1.1 1993/04/21 22:58:51 mehul
  71. # Initial revision
  72. #
  73. #######################################
  74. #
  75. # Begining of Variables section
  76. #
  77. # NOTE: if u want to use iconManager instead of icons comment out IconRegion,
  78. # Icons, IconFont, and NoIconManagers. Then uncomment IconManagerFont,
  79. # IconManagerGeometry, IconifyByUnmapping, ShowIconManager, and
  80. # SortIconManager. Also always have DeiconifyToScreen turned on.
  81. AutoRaise
  82. {
  83. "AnswerGarden"
  84. "Virtual"
  85. }
  86. AutoRelativeResize
  87. BorderWidth 3
  88. ButtonIndent 1
  89. # ClientBorderWidth
  90. Color
  91. {
  92. DefaultBackground "#5f9ea0" # cadet blue
  93. DefaultForeground "#ffffff" # white
  94. BorderColor "#00ff00" #green
  95. {
  96. "xload" "khaki"
  97. "xclock" "khaki"
  98. "xbiff" "khaki"
  99. "xpostit" "red"
  100. "PostItNote" "peachpuff"
  101. "VTWM Icon Manager" "blue"
  102. "Virtual Desktop" "midnightblue"
  103. "Twm Door" "midnightblue"
  104. }
  105. BorderTileBackground "black" #{win-list}
  106. {
  107. "TRUFFLE" "yellow"
  108. "SNICKERS" "coral"
  109. "emacs" "pink"
  110. "PUDDING" "beige"
  111. "BONBON" "cyan"
  112. "MOUSSE" "hotpink"
  113. }
  114. BorderTileForeground "white" #{win-list}
  115. {
  116. "TRUFFLE" "yellow"
  117. "SNICKERS" "coral"
  118. "emacs" "pink"
  119. "PUDDING" "beige"
  120. "BONBON" "cyan"
  121. "MOUSSE" "hotpink"
  122. }
  123. MenuBackground "firebrick"
  124. MenuForeground "white"
  125. MenuTitleBackground "green"
  126. MenuTitleForeground "black"
  127. IconBackground "gray85" #{winList}
  128. IconForeground "brown" #{winList}
  129. IconBorderColor "yellow" #{winList}
  130. IconManagerBackground "blue" #{winList}
  131. IconManagerForeground "white" #{winList}
  132. IconManagerHighlight "#ffff00" #{winList}
  133. MenuShadowColor "grey40"
  134. TitleBackground "firebrick3" #{winList}
  135. TitleForeground "white" #{winList}
  136. }
  137. ConstrainedMoveTime 400
  138. Cursors
  139. {
  140. Frame "top_left_arrow"
  141. Title "top_left_arrow"
  142. Icon "top_left_arrow"
  143. IconMgr "top_left_arrow"
  144. Move "fleur"
  145. Resize "fleur"
  146. Menu "sb_left_arrow"
  147. Button "hand2"
  148. Wait "watch"
  149. Select "dot"
  150. Destroy "pirate"
  151. }
  152. DecorateTransients
  153. #DontIconifyByUnmapping # { }
  154. DontMoveOff
  155. #DontSqueezeTitle
  156. ForceIcons
  157. #FramePadding 2
  158. IconBorderWidth 2
  159. #IconDirectory "/usr/ug/1993/msanghvi/X11/bitmaps/icons/"
  160. #IconFont "-adobe-times-bold-*-normal-*-*-140-*-*-*-*-*-*"
  161. IconifyByUnmapping # { } # just use icon manager
  162. IconManagerDontShow
  163. {
  164. "Virtual Desktop"
  165. "Twm Door"
  166. "xbiff"
  167. "xclock"
  168. "mailbox"
  169. "xload"
  170. "oclock"
  171. }
  172. IconManagerFont "-adobe-times-bold-*-normal-*-*-140-*-*-*-*-*-*"
  173. IconManagerGeometry "410x5+150+0" 5 # North West, 3 deep
  174. #IconManagers {}
  175. #IconManagerShow { }
  176. #IconRegion "384x200+103+0" West North 5 5
  177. #IconRegion "384x200+103+180" West North 5 5
  178. #Icons
  179. # {
  180. # "emacs" "emacs.icon"
  181. # "idraw" "idraw.icon"
  182. # "mxgdb" "dbx.icon"
  183. # "HEN" "sun3.icon"
  184. # "SOL" "sun4.icon"
  185. # "VEGA" "sun3.icon"
  186. # "Twm Door" "door.icon"
  187. # "Virtual Desktop" "vgui.icon"
  188. # "xconsole" "xconsole.icon"
  189. # "xedit" "xedit.icon"
  190. # "xload" "xload.icon"
  191. # "xman" "xman.icon"
  192. # "xrn" "xrn.icon"
  193. # "XTerm" "xterm.icon"
  194. # }
  195. InterpolateMenuColors # interpolate between entry specific colors
  196. #MakeTitle { }
  197. #MaxWindowSize "1024x864"
  198. MenuFont "-adobe-times-bold-r-normal-*-*-140-*-*-*-*-*-*"
  199. Monochrome
  200. {
  201. BorderColor "black" { "Twm Door" "white"}
  202. BorderTileBackground "white"
  203. BorderTileForeground "black"
  204. IconBackground "white"
  205. iconBorderColor "white"
  206. IconForeground "black"
  207. IconManagerBackground "white"
  208. IconManagerForeground "black"
  209. IconManagerHighlight "white"
  210. MenuBackground "white"
  211. MenuForeground "black"
  212. MenuShadowColor "black"
  213. MenuTitleBackground "white"
  214. MenuTitleForeground "black"
  215. TitleBackground "white"
  216. TitleForeground "black"
  217. }
  218. MoveDelta 3
  219. #ResizeFont "-sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1"
  220. ResizeFont "-adobe-times-bold-*-normal-*-*-140-*-*-*-*-*-*"
  221. NoBackingStore
  222. # NoCaseSensitive
  223. # NoDefaults
  224. NoGrabServer
  225. NoHighlight
  226. {
  227. "dclock"
  228. "mailbox"
  229. "Virtual Desktop"
  230. "VTWM Icon Manager"
  231. "Twm Door"
  232. "xload"
  233. "xbiff"
  234. "xclock"
  235. "xpostit"
  236. "PostItNote"
  237. }
  238. # NoIconManagers
  239. # NoMenuShadows
  240. # NoRaiseOnDeiconify
  241. # NoRaiseOnMove
  242. # NoRaiseOnResize
  243. # NoRaiseOnWarp
  244. # NoSaveUnders
  245. # NoStackMode # {}
  246. NoTitle
  247. {
  248. "dclock"
  249. "help"
  250. "mailbox"
  251. "player"
  252. "review"
  253. "review_kill"
  254. "review_team"
  255. "review_your"
  256. "Twm Door"
  257. "TWM Icon Manager"
  258. "XPostit"
  259. "xbiff"
  260. "xclock"
  261. "xload"
  262. "xmter"
  263. "Virtual Desktop"
  264. "VTWM Icon Manager"
  265. }
  266. # NoTitleFocus
  267. # NoTitleHighlight # {}
  268. OpaqueMove
  269. # Pixmaps {}
  270. # RandomPlacement
  271. RestartPreviousState
  272. # SaveColors { }
  273. ShowIconManager # start with iconmgr up
  274. SortIconManager # keep them in alphabetic order
  275. SqueezeTitle # {}
  276. # StartIconified {}
  277. TitleButtonBorderWidth 1
  278. TitleFont "-adobe-times-bold-*-normal-*-*-140-*-*-*-*-*-*"
  279. TitlePadding 8
  280. #UnknownIcon "gui.icon"
  281. UsePPosition "non-zero"
  282. # WarpCursor # {}
  283. # WarpRing { "XTerm"}
  284. # WarpUnmapped
  285. # XorValue 1
  286. Zoom 8
  287. # the following need to be declared after all the fonts have been declared
  288. # that is why they appear here and not where they should be above.
  289. DefaultFunction f.beep
  290. WindowFunction f.menu " LeftTitleButton "
  291. #
  292. # End of Variables section
  293. #
  294. ##################################
  295. ##################################
  296. #
  297. # Beginning of Bindings section
  298. #
  299. #
  300. # Key || Button = KEYS : CONTEXT : FUNCTION
  301. #-----------------------------------------------
  302. #(for CONTEXT: r=root, t=title, f=frame, a=all
  303. # w=window, i=icon, m=iconmanager)
  304. #(for KEYS: s=shift,c=control,m=meta)
  305. #
  306. # KEYS : CONTEXT : FUNCTION
  307. #------------------------------------------------
  308. #
  309. # Title Button Bindings
  310. #
  311. LeftTitleButton ":menu" = f.menu "LeftTitleButton"
  312. Function "move-or-lower" { f.move f.deltastop f.lower }
  313. Function "move-or-raise" { f.move f.deltastop f.raise }
  314. Function "move-or-iconify" { f.move f.deltastop f.iconify }
  315. #
  316. # Mouse (Pointer) Bindings
  317. #
  318. Button1 = c|m : i|f|t|w : f.raise
  319. Button1 = : root : f.menu "Applications"
  320. Button1 = : t|i : f.move
  321. Button1 = : frame : f.resize
  322. Button1 = : m|i : f.iconify
  323. #Button1 = c|s : window | icon | title : f.function "move-or-raise"
  324. Button2 = : root : f.menu "Properties"
  325. Button2 = : i|f : f.move
  326. #Button2 = c : i|f|t|w : f.lower
  327. #Button2 = c|s : window | icon | title : f.function "move-or-lower"
  328. Button3 = : root : f.menu "Twm Operations"
  329. Button3 = : i|f : f.menu "LeftTitleButton"
  330. Button3 = c|s : window | icon | title : f.fullzoom
  331. #
  332. # Keyboard Bindings
  333. #
  334. "Space" = m : i|w : f.menu "LeftTitleButton"
  335. "F1" = m : all : f.function "xrdb"
  336. "F2" = m : all : f.menu "Applications"
  337. "F3" = m : all : f.menu "Properties"
  338. "F4" = m : all : f.menu "Twm Operations"
  339. "F4" = c : window : f.destroy
  340. #"F2" = s : window : f.function "fullzoom-n-raise"
  341. #"F2" = s : title : f.function "fullzoom-n-raise"
  342. #"F2" = s : frame : f.function "fullzoom-n-raise"
  343. #"F3" = : window : f.raiselower
  344. #"F4" = : window : f.iconify
  345. ## Functions
  346. Function "deiconify-n-zoom"
  347. {
  348. f.fullzoom
  349. f.deiconify
  350. }
  351. Function "fullzoom-n-raise"
  352. {
  353. f.fullzoom
  354. f.raise
  355. }
  356. Function "xrdb-color"
  357. {
  358. f.exec "xrdb -remove"
  359. f.exec "xrdb -DCOLOUR -load $HOME/.Xdefaults"
  360. }
  361. Function "xrdb-bw"
  362. {
  363. f.exec "xrdb -remove"
  364. f.exec "xrdb -load $HOME/.Xdefaults"
  365. }
  366. #
  367. # End of bindings section
  368. #
  369. ##################################
  370. ###############################
  371. #
  372. # Begining of Menus section
  373. #
  374. #
  375. # The Properties main menu
  376. #
  377. # color version
  378. Menu "Properties"
  379. {
  380. " Properties " f.title
  381. "Autoraise"("white":"orange3") f.autoraise
  382. "Focus" ("white":"gray40") f.focus
  383. "Unfocus"("white":"indianred") f.unfocus
  384. }
  385. ##########################################################################
  386. ##
  387. ## The Applications main menu and sub menus
  388. ##
  389. #########################################################################
  390. # The Applications main menu
  391. Menu "Applications" ("black":"lightseagreen")
  392. {
  393. "APPLICATIONS" ("black":"lightseagreen") f.title
  394. "XTerm" !"xterm -geometry 80x24 -ls -cr red &"
  395. "VT-100" !"xvt -geometry 80x24 &"
  396. "Xman" !"xman &"
  397. "Mosaic" !"mosaic &"
  398. "System" f.menu " System "
  399. "Demos" f.menu " Demos "
  400. "Games" f.menu " Games "
  401. # Added quit 12-2022 KenUnix
  402. "Quit Window Manager" f.quit
  403. }
  404. # the Systeme submenu
  405. Menu " System "
  406. {
  407. "SYSTEM" ("black":"lightseagreen") f.title
  408. "Font Select" ("lightseagreen":"black") !"xfontsel &"
  409. "Bitmap" !"bitmap &"
  410. "XMag" !"xmag &"
  411. "Xclipboard" !"xclipboard &"
  412. "XBiff" !"xbiff &"
  413. "XClock" !"xclock -chime -fg blue -update 1 &"
  414. "OClock" !"oclock &"
  415. "XLoad" !"xload &"
  416. "XCalc" f.menu " Calculator "
  417. }
  418. # the Demos submenu
  419. Menu " Demos "
  420. {
  421. "DEMOS" ("black":"lightseagreen") f.title
  422. "Xeyes" !"xeyes -fg red &"
  423. "XLogo" !"xlogo &"
  424. "Maze" !"maze &"
  425. "Ico" !"ico -bg blue -sleep 1 -size 75x75 -geometry 300x200 &"
  426. "Xgas" !"xgas &"
  427. "Xwave" !"xwave &"
  428. "Xengine" !"xengine &"
  429. "Xswarm" !"xswarm &"
  430. }
  431. # the Games submenu
  432. Menu " Games "
  433. {
  434. "GAMES" ("black":"lightseagreen") f.title
  435. "Puzzle" !"puzzle &"
  436. "XTetris" ("lightseagreen":"black") !"xtetris &"
  437. "Xlander" !"xlander &"
  438. "Invaders" !"xinvaders &"
  439. }
  440. # the Calculator submenu
  441. Menu " Calculator "
  442. {
  443. "CALCULATORS" ("black":"lightseagreen") f.title
  444. "HP 10-C" !"xcalc -rpn &"
  445. "TI-30" !"xcalc &"
  446. }
  447. ##############################
  448. #
  449. # the Twm Operations
  450. #
  451. Menu "Twm Operations"
  452. {
  453. "TWM Operations" ("black":"yellow") f.title
  454. "Beep" ("yellow":"black") f.beep
  455. "Close Window" f.delete
  456. "Destroy Application" f.destroy
  457. "Focus" f.focus
  458. "Force Move" f.forcemove
  459. "Full Zoom" f.fullzoom
  460. "Hide Icon Manager" f.hideiconmgr
  461. "Iconify" f.iconify
  462. "Info...." f.identify
  463. "Lower" f.lower
  464. "Lower Current Window" f.circledown
  465. "Move" f.move
  466. "Raise" f.raise
  467. "Raise Current Window" f.circleup
  468. "Raise or Lower" f.raiselower
  469. "Resize" f.resize
  470. "Refresh Window" f.winrefresh
  471. "Refresh Screen" f.refresh
  472. "Show Icon Manager" f.showiconmgr
  473. "Unfocus" f.unfocus
  474. "Window List" f.menu "TwmWindows"
  475. "Zoom" f.zoom
  476. # 12-2022 KenUnix turned off
  477. # "Quit Window Mgr." ("yellow":"black") f.quit
  478. }
  479. Menu "LeftTitleButton" ("black":"cornflowerblue")
  480. {
  481. "WINDOW OPS" ("lightsteelblue":"gray25") f.title
  482. "Iconify" ("gray25":"lightsteelblue") f.iconify
  483. "Lower" f.lower
  484. "Move" f.move
  485. "Raise" f.raise
  486. "Refresh" f.winrefresh
  487. "Resize" f.resize
  488. "Applications" f.menu "Applications"
  489. "Properties" f.menu "Properties"
  490. "Twm Operations" f.menu "Twm Operations"
  491. "Info...." f.identify
  492. "Kill Program" f.destroy
  493. "Close Window" ("gray25":"steelblue") f.delete
  494. }
  495. #
  496. # End of menu section
  497. #
  498. ##########################
  499. ################################
  500. #
  501. # Begining of Vtwm resources
  502. #
  503. #
  504. # Bindings for Vtwm
  505. #
  506. #Button = KEYS
  507. Button3 = c : root : f.menu "VTWM"
  508. "F5" = m : all : f.menu "VTWM"
  509. #
  510. # Menus for Vtwm
  511. #
  512. WindowRing
  513. {
  514. "XTerm"
  515. }
  516. #
  517. # End Of Window Manager Resource File
  518. #
  519. ########################################