Advertisement
mod

Example.ctwmrc

mod
Jul 2nd, 2012
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.29 KB | None | 0 0
  1. #
  2. # The CTWM initialization file. Derived directly from the man page
  3. # for TWM, augmented with additions I found in the CTWM man page.
  4. #
  5. # -----------------------------------------------------------------------------
  6. #
  7. #WorkSpaces { workspace-list }
  8. # This variable specifies a list of workspaces that are created at startup.
  9. #
  10. # Where workspace-list is:
  11. # name [{bg-button [fg-button] [bg-root] [fg-root] [bitmap-root] }]
  12. #
  13. # With:
  14. # bg-button:
  15. # background color of the corresponding button in the workspace manager.
  16. #
  17. # fg-button:
  18. # foreground color of the corresponding button in the workspace manager.
  19. #
  20. # bg-root:
  21. # background color of the corresponding root screen.
  22. #
  23. # fg-root:
  24. # foreground color of the corresponding root screen.
  25. #
  26. # bitmap-root:
  27. # bitmap to display on the corresponding root screen.
  28. #
  29. # Example:
  30. #
  31. # WorkSpaces
  32. # {
  33. # "One" {"#686B9F" "white" "DeepSkyBlue3" "white" "xlogo16"}
  34. # "Two" {"#619AAE" "white" "firebrick"}
  35. # "Three" {"#727786" "white" "brown"}
  36. # "Four" {"#8C5b7A" "white" "MidnightBlue"}
  37. #
  38. # "Five" {"#727786" "white" "DeepSkyBlue3" "white" "plaid"}
  39. # "Six" {"#619AAE" "white" "DeepSkyBlue3" "white" "letters"}
  40. # "Seven" {"#8C5b7A" "white" "chartreuse4"}
  41. # "Eight" {"#686B9F" "white" "MidnightBlue"}
  42. # }
  43. #
  44. # The WorkSpaces declaration should come before the Occupy or
  45. # OccupyAll declarations. The maximum number of workspaces is 32.
  46. #
  47. # -----------------------------------------------------------------------------
  48. #NOTE: See /usr/X11R5/include/X11/bitmaps
  49. WorkSpaces
  50. {
  51. "One" { "grey" "white" "grey" "white" "escherknot" }
  52. "Two" { "firebrick" "white" "firebrick" "white" "escherknot" }
  53. "Three" { "orange" "white" "orange" "white" "escherknot" }
  54. "Four" { "MidnightBlue" "white" "MidnightBlue" "white" "escherknot" }
  55. "Five" { "black" "white" "black" "white" "escherknot" }
  56. "Six" { "grey" "white" "grey" "white" "escherknot" }
  57. "Seven" { "firebrick" "white" "firebrick" "white" "escherknot" }
  58. "Eight" { "orange" "white" "orange" "white" "escherknot" }
  59. }
  60.  
  61. #AutoOccupy
  62. # This variable specifies that clients will automatically change their
  63. # occupation when their name or icon name changes. The new occupation
  64. # will be recalculated from the Occupy and OccupyAll fields in the
  65. # .ctwmrc file.
  66. #
  67. AutoOccupy
  68. # -----------------------------------------------------------------------------
  69. #AutoRaise [{ win-list }]
  70. # This variable specifies a list of windows (all windows if the list is
  71. # defaulted) to be automatically raised whenever the pointer has come to
  72. # rest in a window for the amount of time specified by the RaiseDelay
  73. # variable. This action can be interactively enabled or disabled on
  74. # individual windows using the function f.autoraise.
  75. #
  76. AutoRaise
  77. #{
  78. # "WorkSpaceManager"
  79. # "TWM Icon Manager"
  80. # "xclock"
  81. #}
  82. # -----------------------------------------------------------------------------
  83. #AutoRelativeResize
  84. # This variable indicates that dragging out a window size (either when
  85. # initially sizing the window with pointer Button2 or when resizing it)
  86. # should not wait until the pointer has crossed the window edges.
  87. # Instead, moving the pointer automatically causes the nearest edge or
  88. # edges to move by the same amount. This allows the resizing of windows
  89. # that extend off the edge of the screen. If the pointer is in the
  90. # center of the window, or if the resize is begun by pressing a
  91. # titlebutton, twm will still wait for the pointer to cross a window edge
  92. # (to prevent accidents). This option is particularly useful for people
  93. # who like the press-drag-release method of sweeping out window sizes.
  94. #
  95. AutoRelativeResize
  96. # -----------------------------------------------------------------------------
  97. #BeNiceToColormap
  98. # By defaults new colors are allocated for shadows when a 3D look is
  99. # used, but when you specify BeNiceToColormap ctwm uses stipling
  100. # instead of new colors, the effect is less beautiful, but
  101. # acceptable. In this case ClearShadowContrast and DarkShadowContrast
  102. # have no effects.
  103. #
  104. # -----------------------------------------------------------------------------
  105. #BorderColor string [{ wincolorlist }]
  106. # This variable specifies the default color of the border to be placed
  107. # around all non-iconified windows, and may only be given within a Color
  108. # or Monochrome list. The optional wincolorlist specifies a list of
  109. # window and color name pairs for specifying particular border colors for
  110. # different types of windows. For example:
  111. #
  112. # BorderColor "gray50"
  113. # {
  114. # "XTerm" "red"
  115. # "xmh" "green"
  116. # }
  117. #
  118. # The default is "black".
  119. #
  120. # -----------------------------------------------------------------------------
  121. #BorderTileBackground string [{ wincolorlist }]
  122. # This variable specifies the default background color in the gray
  123. # pattern used in unhighlighted borders (only if NoHighlight hasn't
  124. # been set), and may only be given within a Color or Monochrome list.
  125. # The optional wincolorlist allows per-window colors to be specified.
  126. # The default is "white".
  127. #
  128. # -----------------------------------------------------------------------------
  129. #BorderTileForeground string [{ wincolorlist }]
  130. # This variable specifies the default foreground color in the gray
  131. # pattern used in unhighlighted borders (only if NoHighlight hasn't been
  132. # set), and may only be given within a Color or Monochrome list. The
  133. # optional wincolorlist allows per-window colors to be specified. The
  134. # default is "black".
  135. #
  136. # -----------------------------------------------------------------------------
  137. #BorderWidth pixels
  138. # This variable specifies the width in pixels of the border surrounding
  139. # all client window frames if ClientBorderWidth has not been specified.
  140. # This value is also used to set the border size of windows created by
  141. # twm (such as the icon manager). The default is 2.
  142. #
  143. BorderWidth 4
  144. # -----------------------------------------------------------------------------
  145. #ButtonIndent pixels
  146. # This variable specifies the amount by which title-buttons should be
  147. # indented on all sides. Positive values cause the buttons to be smaller
  148. # than the window text and highlight area so that they stand out.
  149. # Setting this and the TitleButtonBorderWidth variables to 0 makes
  150. # titlebuttons be as tall and wide as possible. The default is 1.
  151. #
  152. ButtonIndent 0
  153. # -----------------------------------------------------------------------------
  154. #ClearShadowContrast contrast
  155. # Indicates to ctwm how to calculate the clear shadow color for 3D items.
  156. # The value is a comprised between 0 and 100. The formula used is:
  157. #
  158. # clear.{RGB} = (65535 - color.{RGB}) * (contrast / 100).
  159. #
  160. # Has no effect if BeNiceToColormap is active.
  161. #
  162. # -----------------------------------------------------------------------------
  163. #ClientBorderWidth
  164. # This variable indicates that border width of a window's frame should be
  165. # set to the initial border width of the window, rather than to the value
  166. # of BorderWidth.
  167. #
  168. # -----------------------------------------------------------------------------
  169. #Color { colors-list }
  170. # This variable specifies a list of color assignments to be made if the
  171. # default display is capable of displaying more than simple black and
  172. # white. The colors-list is made up of the following color variables and
  173. # their values: DefaultBackground, DefaultForeground, MenuBackground,
  174. # MenuForeground, MenuTitleBackground, MenuTitleForeground, and
  175. # MenuShadowColor. The following color variables may also be given a
  176. # list of window and color name pairs to allow per-window colors to be
  177. # specified (see BorderColor for details): BorderColor,
  178. # IconManagerHighlight, BorderTitleBackground, BorderTitleForeground,
  179. # TitleBackground, TitleForeground, IconBackground, IconForeground,
  180. # IconBorderColor, IconManagerBackground, and IconManagerForeground.
  181. # For example:
  182. #
  183. Color
  184. {
  185. BorderColor "red3"
  186. BorderTileBackground "black"
  187. BorderTileForeground "white"
  188. DefaultBackground "black"
  189. DefaultForeground "white"
  190. IconBackground "black"
  191. IconBorderColor "red3"
  192. IconForeground "white"
  193. IconManagerBackground "black"
  194. IconManagerForeground "white"
  195. IconManagerHighlight "red3"
  196. MenuBackground "black"
  197. MenuForeground "white"
  198. MenuShadowColor "yellow"
  199. MenuTitleBackground "gray85"
  200. MenuTitleForeground "dodgerblue4"
  201. TitleBackground "gray85"
  202. TitleForeground "dodgerblue4"
  203. # SomeOtherThing "SomeColor" { "SpecificIconTitle" "SpecificColor" }
  204. }
  205. #
  206. # All of these color variables may also be specified for the Monochrome
  207. # variable, allowing the same initialization file to be used on both
  208. # color and monochrome displays.
  209. #
  210. # -----------------------------------------------------------------------------
  211. #ConstrainedMoveTime milliseconds
  212. # This variable specifies the length of time between button clicks needed
  213. # to begin a constrained move operation. Double clicking within this
  214. # amount of time when invoking f.move will cause the window only be moved
  215. # in a horizontal or vertical direction. Setting this value to 0 will
  216. # disable constrained moves. The default is 400 milliseconds.
  217. #
  218. ConstrainedMoveTime 400
  219. # -----------------------------------------------------------------------------
  220. #Cursors { cursor-list }
  221. # This variable specifies the glyphs that twm should use for various
  222. # pointer cursors. Each cursor may be defined either from the cursor
  223. # font or from two bitmap files. Shapes from the cursor font may be
  224. # specified directly as:
  225. # cursorname "string"
  226. # where cursorname is one of the cursor names listed below, and string is
  227. # the name of a glyph as found in the file /usr/include/X11/cursorfont.h
  228. # (without the ``XC_'' prefix). If the cursor is to be defined from
  229. # bitmap files, the following syntax is used instead:
  230. # cursorname "image" "mask"
  231. # The image and mask strings specify the names of files containing the
  232. # glyph image and mask in bitmap(1) form. The bitmap files are located
  233. # in the same manner as icon bitmap files. The following example shows
  234. # the default cursor definitions:
  235. #
  236. # Cursors
  237. # {
  238. # Button "hand2"
  239. # Destroy "pirate"
  240. # Frame "top_left_arrow"
  241. # Icon "top_left_arrow"
  242. # IconMgr "top_left_arrow"
  243. # Menu "sb_left_arrow"
  244. # Move "fleur"
  245. # Resize "fleur"
  246. # Select "dot"
  247. # Title "top_left_arrow"
  248. # Wait "watch"
  249. # }
  250. #
  251. Cursors
  252. {
  253. Button "hand2"
  254. Destroy "pirate"
  255. Frame "top_left_arrow"
  256. Icon "top_left_arrow"
  257. IconMgr "top_left_arrow"
  258. Menu "sb_left_arrow"
  259. Move "fleur"
  260. Resize "fleur"
  261. Select "dot"
  262. Title "top_left_arrow"
  263. Wait "watch"
  264. }
  265. # -----------------------------------------------------------------------------
  266. #DarkShadowContrast contrast
  267. # Indicates to ctwm how to calculate the dark shadow color for 3D items.
  268. # The value is a comprised between 0 and 100. The formula used is:
  269. #
  270. # dark.{RGB} = color.{RGB} * ((100 - contrast) / 100),
  271. #
  272. # Has no effect if BeNiceToColormap is active.
  273. #
  274. # -----------------------------------------------------------------------------
  275. #DecorateTransients
  276. # This variable indicates that transient windows (those containing a
  277. # WM_TRANSIENT_FOR property) should have titlebars. By default,
  278. # transients are not reparented.
  279. #
  280. # -----------------------------------------------------------------------------
  281. #DefaultBackground string
  282. # This variable specifies the background color to be used for sizing and
  283. # information windows. The default is "white".
  284. #
  285. # -----------------------------------------------------------------------------
  286. #DefaultForeground string
  287. # This variable specifies the foreground color to be used for sizing and
  288. # information windows. The default is "black".
  289. #
  290. # -----------------------------------------------------------------------------
  291. #DontIconifyByUnmapping { win-list }
  292. # This variable specifies a list of windows that should not be iconified
  293. # by simply unmapping the window (as would be the case if IconifyByUnmapping
  294. # had been set). This is frequently used to force some windows to be
  295. # treated as icons while other windows are handled by the icon manager.
  296. #
  297. DontIconifyByUnmapping
  298. {
  299. }
  300. # -----------------------------------------------------------------------------
  301. #DontMoveOff
  302. # This variable indicates that windows should not be allowed to be moved
  303. # off the screen. It can be overridden by the f.forcemove function.
  304. #
  305. # -----------------------------------------------------------------------------
  306. #DontPaintRootWindow
  307. # This variable tells ctwm not to paint the root window, whatever you
  308. # told in the Workspaces specification. This is useful to have
  309. # pixmaps in the Workspace Map but not on the root window.
  310. #
  311. # -----------------------------------------------------------------------------
  312. #DontSqueezeTitle [{ win-list }]
  313. # This variable indicates that titlebars should not be squeezed to their
  314. # minimum size as described under SqueezeTitle below. If the optional
  315. # window list is supplied, only those windows will be prevented from
  316. # being squeezed.
  317. #
  318. DontSqueezeTitle
  319. {
  320. }
  321. # -----------------------------------------------------------------------------
  322. #ForceIcons
  323. # This variable indicates that icon pixmaps specified in the Icons
  324. # variable should override any client-supplied pixmaps.
  325. #
  326. # -----------------------------------------------------------------------------
  327. #FramePadding pixels
  328. # This variable specifies the distance between the titlebar decorations
  329. # (the button and text) and the window frame. The default is 2 pixels.
  330. #
  331. FramePadding 0
  332. # -----------------------------------------------------------------------------
  333. #IconBackground string [{ win-list }]
  334. # This variable specifies the background color of icons, and may only be
  335. # specified inside of a Color or Monochrome list. The optional win-list
  336. # is a list of window names and colors so that per-window colors may be
  337. # specified. See the BorderColor variable for a complete description of
  338. # the winlist. The default is "white".
  339. #
  340. # -----------------------------------------------------------------------------
  341. #IconBorderColor string [{ win-list }]
  342. # This variable specifies the color of the border used for icon windows,
  343. # and may only be specified inside of a Color or Monochrome list. The
  344. # optional win-list is a list of window names and colors so that
  345. # per-window colors may be specified. See the BorderColor variable for a
  346. # complete description of the win-list. The default is "black".
  347. #
  348. # -----------------------------------------------------------------------------
  349. #IconBorderWidth pixels
  350. # This variable specifies the width in pixels of the border surrounding
  351. # icon windows. The default is 2.
  352. #
  353. IconBorderWidth 4
  354. # -----------------------------------------------------------------------------
  355. #IconDirectory string
  356. # This variable specifies the directory that should be searched if a
  357. # bitmap file cannot be found in any of the directories in the
  358. # bitmapFilePath resource.
  359. #
  360. # -----------------------------------------------------------------------------
  361. #IconFont string
  362. # This variable specifies the font to be used to display icon names
  363. # within icons. The default is "variable".
  364. #
  365. IconFont "variable"
  366. # -----------------------------------------------------------------------------
  367. #IconForeground string [{ win-list }]
  368. # This variable specifies the foreground color to be used when displaying
  369. # icons, and may only be specified inside of a Color or Monochrome list.
  370. # The optional win-list is a list of window names and colors so that
  371. # per-window colors may be specified. See the BorderColor variable for a
  372. # complete description of the win-list. The default is "black".
  373. #
  374. # -----------------------------------------------------------------------------
  375. #IconifyByUnmapping [{ win-list }]
  376. # This variable indicates that windows should be iconified by being
  377. # unmapped without trying to map any icons. This assumes that the user
  378. # will remap the window through the icon manager, the f.warpto function,
  379. # or the TwmWindows menu. If the optional win-list is provided, only
  380. # those windows will be iconified by simply unmapping. Windows that have
  381. # both this and the IconManagerDontShow options set may not be accessible
  382. # if no binding to the TwmWindows menu is set in the user's startup file.
  383. #
  384. IconifyByUnmapping
  385. {
  386. }
  387. # -----------------------------------------------------------------------------
  388. #IconManagerBackground string [{ win-list }]
  389. # This variable specifies the background color to use for icon manager
  390. # entries, and may only be specified inside of a Color or Monochrome
  391. # list. The optional win-list is a list of window names and colors so
  392. # that per-window colors may be specified. See the BorderColor variable
  393. # for a complete description of the win-list. The default is "white".
  394. #
  395. # -----------------------------------------------------------------------------
  396. #IconManagerDontShow [{ win-list }]
  397. # This variable indicates that the icon manager should not display any
  398. # windows. If the optional win-list is given, only those windows will
  399. # not be displayed. This variable is used to prevent windows that are
  400. # rarely iconified (such as xclock or xload) from taking up space in the
  401. # icon manager.
  402. #
  403. # -----------------------------------------------------------------------------
  404. #IconManagerFont string
  405. # This variable specifies the font to be used when displaying icon
  406. # manager entries. The default is "variable".
  407. #
  408. IconManagerFont "variable"
  409. # -----------------------------------------------------------------------------
  410. #IconManagerForeground string [{ win-list }]
  411. # This variable specifies the foreground color to be used when displaying
  412. # icon manager entries, and may only be specified inside of a Color or
  413. # Monochrome list. The optional win-list is a list of window names and
  414. # colors so that per-window colors may be specified. See the BorderColor
  415. # variable for a complete description of the win-list. The default is
  416. # "black".
  417. #
  418. # -----------------------------------------------------------------------------
  419. #IconManagerGeometry string [ columns ]
  420. # This variable specifies the geometry of the icon manager window. The
  421. # string argument is standard geometry specification that indicates the
  422. # initial full size of the icon manager. The icon manager window is then
  423. # broken into columns pieces and scaled according to the number of entries
  424. # in the icon manager. Extra entries are wrapped to form additional rows.
  425. # The default number of columns is 1.
  426. #
  427. IconManagerGeometry "512x32+-4+-4" 4
  428. # -----------------------------------------------------------------------------
  429. #IconManagerHighlight string [{ win-list }]
  430. # This variable specifies the border color to be used when highlighting
  431. # the icon manager entry that currently has the focus, and can only be
  432. # specified inside of a Color or Monochrome list. The optional win-list
  433. # is a list of window names and colors so that per-window colors may be
  434. # specified. See the BorderColor variable for a complete description of
  435. # the win-list. The default is "black".
  436. #
  437. # -----------------------------------------------------------------------------
  438. #IconManagers { iconmgr-list }
  439. # This variable specifies a list of icon managers to create. Each item
  440. # in the iconmgr-list has the following format:
  441. # "winname" ["iconname"] "geometry" columns
  442. # where winname is the name of the windows that should be put into this
  443. # icon manager, iconname is the name of that icon manager window's icon,
  444. # geometry is a standard geometry specification, and columns is the
  445. # number of columns in this icon manager as described in
  446. # IconManagerGeometry. For example:
  447. #
  448. # IconManagers
  449. # {
  450. # "XTerm" "=300x5+800+5" 5
  451. # "myhost" "=400x5+100+5" 2
  452. # }
  453. #
  454. # Clients whose name or class is ``XTerm'' will have an entry created in
  455. # the ``XTerm'' icon manager. Clients whose name was ``myhost'' would be
  456. # put into the ``myhost'' icon manager.
  457. #
  458. # -----------------------------------------------------------------------------
  459. #IconManagerShow { win-list }
  460. # This variable specifies a list of windows that should appear in the icon
  461. # manager. When used in conjunction with the IconManagerDontShow variable,
  462. # only the windows in this list will be shown in the icon manager.
  463. #
  464. IconManagerShow
  465. {
  466. }
  467. # -----------------------------------------------------------------------------
  468. #IconRegion geomstring vgrav hgrav gridwidth gridheight
  469. # This variable specifies an area on the root window in which icons are
  470. # placed if no specific icon location is provided by the client. The
  471. # geomstring is a quoted string containing a standard geometry
  472. # specification. If more than one IconRegion lines are given, icons will
  473. # be put into the succeeding icon regions when the first is full. The
  474. # vgrav argument should be either North or South and control and is used
  475. # to control whether icons are first filled in from the top or bottom of
  476. # the icon region. Similarly, the hgrav argument should be either East
  477. # or West and is used to control whether icons should be filled in from
  478. # left from the right. Icons are laid out within the region in a grid
  479. # with cells gridwidth pixels wide and gridheight pixels high.
  480. #
  481. IconRegion "-0-0" South East 50 50
  482. # -----------------------------------------------------------------------------
  483. #Icons { win-list }
  484. # This variable specifies a list of window names and the bitmap filenames
  485. # that should be used as their icons. For example:
  486. #
  487. # Icons
  488. # {
  489. # "XTerm" "xterm.icon"
  490. # "xfd" "xfd_icon"
  491. # }
  492. #
  493. # Windows that match ``XTerm'' and would not be iconified by unmapping,
  494. # and would try to use the icon bitmap in the file ``xterm.icon''. If
  495. # ForceIcons is specified, this bitmap will be used even if the client
  496. # has requested its own icon pixmap.
  497. #
  498. Icons {
  499. "No Messages" "xpm:xmail.xpm"
  500. "0 Messages" "xpm:xmail.xpm"
  501. "[1-9]* Message*" "xpm:xnomail.xpm"
  502. }
  503. # -----------------------------------------------------------------------------
  504. #InterpolateMenuColors
  505. # This variable indicates that menu entry colors should be interpolated
  506. # between entry specified colors. In the example below:
  507. #
  508. # Menu "mymenu"
  509. # {
  510. # "Title" ("black":"red") f.title
  511. # "entry1" f.nop
  512. # "entry2" f.nop
  513. # "entry3" ("white":"green") f.nop
  514. # "entry4" f.nop
  515. # "entry5" ("red":"white") f.nop
  516. # }
  517. #
  518. # the foreground colors for ``entry1'' and ``entry2'' will be
  519. # interpolated between black and white, and the background colors
  520. # between red and green. Similarly, the foreground for ``entry4''
  521. # will be half-way between white and red, and the background will
  522. # be half-way between green and white.
  523. #
  524. InterpolateMenuColors
  525. # -----------------------------------------------------------------------------
  526. #MakeTitle { win-list }
  527. # This variable specifies a list of windows on which a titlebar should be
  528. # placed and is used to request titles on specific windows when NoTitle
  529. # has been set.
  530. #
  531. MakeTitle
  532. {
  533. }
  534. # -----------------------------------------------------------------------------
  535. #MapWindowBackground color [{ win-list }]
  536. # This variable specifies the background colors to use for small
  537. # windows in the workspace map window and may only be specified inside
  538. # of a Color or Monochrome list. The optional win-list is a list of
  539. # window names and colors so that per-window colors may be specified.
  540. #
  541. # -----------------------------------------------------------------------------
  542. #MapWindowCurrentWorkSpace { border_color background foreground bitmap }
  543. # Specify the appearence of the map window corresponding to the
  544. # current workspace.
  545. #
  546. MapWindowCurrentWorkSpace
  547. {
  548. "yellow"
  549. "black"
  550. "grey"
  551. "xlogo16"
  552. }
  553. # -----------------------------------------------------------------------------
  554. #MapWindowDefaultWorkSpace { border_color background foreground bitmap }
  555. # Specify the appearence of the map window corresponding to the
  556. # workspaces other than the current workspace when no root background
  557. # information has been provided to ctwm in the WorkSpace command.
  558. # Not used in other cases.
  559. #
  560. MapWindowDefaultWorkSpace
  561. {
  562. "yellow"
  563. "black"
  564. "grey"
  565. "grid16"
  566. }
  567. # -----------------------------------------------------------------------------
  568. #MapWindowForeground color [{ win-list }]
  569. # This variable specifies the foreground colors to use for small
  570. # windows in the workspace map window and may only be specified inside
  571. # of a Color or Monochrome list. The optional win-list is a list of
  572. # window names and colors so that per-window colors may be specified.
  573. #
  574. # -----------------------------------------------------------------------------
  575. #MaxWindowSize string
  576. # This variable specifies a geometry in which the width and height
  577. # give the maximum size for a given window. This is typically used
  578. # to restrict windows to the size of the screen. The default is
  579. # "30000x30000".
  580. #
  581. # -----------------------------------------------------------------------------
  582. #MenuBackground string
  583. # This variable specifies the background color used for menus, and can only
  584. # be specified inside of a Color or Monochrome list. The default is "white".
  585. #
  586. # -----------------------------------------------------------------------------
  587. #MenuFont string
  588. # This variable specifies the font to use when displaying menus.
  589. # The default is "variable".
  590. #
  591. MenuFont "variable"
  592. # -----------------------------------------------------------------------------
  593. #MenuForeground string
  594. # This variable specifies the foreground color used for menus, and can
  595. # only be specified inside of a Color or Monochrome list. The default
  596. # is "black".
  597. #
  598. # -----------------------------------------------------------------------------
  599. #MenuShadowColor string
  600. # This variable specifies the color of the shadow behind pull-down menus
  601. # and can only be specified inside of a Color or Monochrome list. The
  602. # default is "black".
  603. #
  604. # -----------------------------------------------------------------------------
  605. #MenuTitleBackground string
  606. # This variable specifies the background color for f.title entries in
  607. # menus, and can only be specified inside of a Color or Monochrome list.
  608. # The default is "white".
  609. #
  610. # -----------------------------------------------------------------------------
  611. #MenuTitleForeground string
  612. # This variable specifies the foreground color for f.title entries in
  613. # menus and can only be specified inside of a Color or Monochrome list.
  614. # The default is "black".
  615. #
  616. # -----------------------------------------------------------------------------
  617. #Monochrome { colors }
  618. # This variable specifies a list of color assignments that should be made
  619. # if the screen has a depth of 1. See the description of Colors.
  620. #
  621. # -----------------------------------------------------------------------------
  622. #MoveDelta pixels
  623. # This variable specifies the number of pixels the pointer must move
  624. # before the f.move function starts working. Also see the f.deltastop
  625. # function. The default is zero pixels.
  626. #
  627. MoveDelta 3 #Value from original distribution
  628. # -----------------------------------------------------------------------------
  629. #NoBackingStore
  630. # This variable indicates that twm's menus should not request backing
  631. # store to minimize repainting of menus. This is typically used with
  632. # servers that can repaint faster than they can handle backing store.
  633. #
  634. # -----------------------------------------------------------------------------
  635. #NoCaseSensitive
  636. # This variable indicates that case should be ignored when sorting
  637. # icon names in an icon manager. This option is typically used with
  638. # applications that capitalize the first letter of their icon name.
  639. #
  640. NoCaseSensitive
  641. # -----------------------------------------------------------------------------
  642. #NoDefaults
  643. # This variable indicates that twm should not supply the default
  644. # titlebuttons and bindings. This option should only be used if the
  645. # startup file contains a completely new set of bindings and definitions.
  646. #
  647. # -----------------------------------------------------------------------------
  648. #NoGrabServer
  649. # This variable indicates that twm should not grab the server when
  650. # popping up menus and moving opaque windows.
  651. #
  652. NoGrabServer
  653. # -----------------------------------------------------------------------------
  654. #NoHighlight [{ win-list }]
  655. # This variable indicates that borders should not be highlighted to track
  656. # the location of the pointer. If the optional win-list is given,
  657. # highlighting will only be disabled for those windows. When the border
  658. # is highlighted, it will be drawn in the current BorderColor. When the
  659. # border is not highlighted, it will be stippled with an gray pattern
  660. # using the current BorderTileForeground and BorderTileBackground colors.
  661. #
  662. NoHighlight
  663. {
  664. }
  665. # -----------------------------------------------------------------------------
  666. #NoIconTitle [{ win-list }]
  667. # This variable indicates that icons should not display the icon name
  668. # of the client. If the optional win-list is given, only those
  669. # clients will not have icon titles.
  670. #
  671. NoIconTitle {
  672. "tkNewMail*"
  673. }
  674. # -----------------------------------------------------------------------------
  675. #NoIconManagers
  676. # This variable indicates that no icon manager should be created.
  677. #
  678. # -----------------------------------------------------------------------------
  679. #NoMenuShadows
  680. # This variable indicates that menus should not have drop shadows drawn
  681. # behind them. This is typically used with slower servers since it
  682. # speeds up menu drawing at the expense of making the menu slightly
  683. # harder to read.
  684. #
  685. # -----------------------------------------------------------------------------
  686. #NoOpaqueMove { window-list }
  687. # The counterpart of OpaqueMove. see OpaqueMove.
  688. #
  689. # -----------------------------------------------------------------------------
  690. #NoOpaqueResize { window-list }
  691. # The counterpart of OpaqueResize. see OpaqueResize.
  692. #
  693. # -----------------------------------------------------------------------------
  694. #NoRaiseOnDeiconify
  695. # This variable indicates that windows that are deiconified should not be
  696. # raised.
  697. #
  698. # -----------------------------------------------------------------------------
  699. #NoRaiseOnMove
  700. # This variable indicates that windows should not be raised when moved.
  701. # This is typically used to allow windows to slide underneath each other.
  702. #
  703. NoRaiseOnMove
  704. # -----------------------------------------------------------------------------
  705. #NoRaiseOnResize
  706. # This variable indicates that windows should not be raised when resized.
  707. # This is typically used to allow windows to be resized underneath each
  708. # other.
  709. #
  710. NoRaiseOnResize
  711. # -----------------------------------------------------------------------------
  712. #NoRaiseOnWarp
  713. # This variable indicates that windows should not be raised when the
  714. # pointer is warped into them with the f.warpto function. If this option
  715. # is set, warping to an occluded window may result in the pointer ending
  716. # up in the occluding window instead the desired window (which causes
  717. # unexpected behavior with f.warpring).
  718. #
  719. # -----------------------------------------------------------------------------
  720. #NoSaveUnders
  721. # This variable indicates that menus should not request save-unders to
  722. # minimize window repainting following menu selection. It is typically
  723. # used with displays that can repaint faster than they can handle
  724. # save-unders.
  725. #
  726. # -----------------------------------------------------------------------------
  727. #NoShowOccupyAll
  728. # This variable specifies that OccupyAll windows won't be displayed
  729. # in the WorkSpaceMap window
  730. #
  731. # -----------------------------------------------------------------------------
  732. #NoStackMode [{ win-list }]
  733. # This variable indicates that client window requests to change stacking
  734. # order should be ignored. If the optional win-list is given, only
  735. # requests on those windows will be ignored. This is typically used to
  736. # prevent applications from relentlessly popping themselves to the front
  737. # of the window stack.
  738. #
  739. NoStackMode
  740. {
  741. }
  742. # -----------------------------------------------------------------------------
  743. #NoTitle [{ win-list }]
  744. # This variable indicates that windows should not have titlebars. If the
  745. # optional win-list is given, only those windows will not have titlebars.
  746. # MakeTitle may be used with this option to force titlebars to be put on
  747. # specific windows.
  748. #
  749. NoTitle
  750. #{
  751. #}
  752. # -----------------------------------------------------------------------------
  753. #NoTitleFocus
  754. # This variable indicates that twm should not set keyboard input focus to
  755. # each window as it is entered. Normally, twm sets the focus so that
  756. # focus and key events from the titlebar and icon managers are delivered
  757. # to the application. If the pointer is moved quickly and twm is slow to
  758. # respond, input can be directed to the old window instead of the new.
  759. # This option is typically used to prevent this ``input lag'' and to work
  760. # around bugs in older applications that have problems with focus events.
  761. #
  762. # -----------------------------------------------------------------------------
  763. #NoTitleHighlight [{ win-list }]
  764. # This variable indicates that the highlight area of the titlebar, which
  765. # is used to indicate the window that currently has the input focus,
  766. # should not be displayed. If the optional win-list is given, only those
  767. # windows will not have highlight areas. This and the SqueezeTitle
  768. # options can be set to substantially reduce the amount of screen space
  769. # required by titlebars.
  770. #
  771. # -----------------------------------------------------------------------------
  772. #Occupy { occupy-list }
  773. # This variable specifies which windows occupy which workspaces at startup.
  774. #
  775. # occupy-list consists of entries of the form:
  776. #
  777. # [Window] win-name { wspc1 wspc2 ... }
  778. # or Workspace wspc-name { win1 win2 ... }
  779. #
  780. # Example:
  781. #
  782. # Occupy {
  783. # "xload" {"all"}
  784. # Window "xterm" {"here" "there" "elsewhere"}
  785. # "xv" {"images"}
  786. # WorkSpace "images" {"xloadimage"}
  787. # }
  788. #
  789. # Note: The Occupy declaration should come after the
  790. # WorkSpaces declaration.
  791. #
  792. Occupy
  793. {
  794. # Window "Reminder" { "all" }
  795. # Window "tkNewMail" { "all" }
  796. # Window "xclock" { "all" }
  797. # Window "nxbiff" { "all" }
  798. # Window "xcutsel" { "all" }
  799. # Window "xclipboard" { "all" }
  800. # Window "*Message*" { "all" }
  801. # WorkSpace "Four" { "leftBlueBoot" "rightBlueBoot" }
  802. # WorkSpace "Seven" { "xpostit" "Note*" }
  803. }
  804. # -----------------------------------------------------------------------------
  805. #OccupyAll { window-list }
  806. #
  807. # This variable specifies a list of windows that will occupy all
  808. # workspaces at startup.
  809. #
  810. # window-list is a list of window names.
  811. #
  812. # Example:
  813. #
  814. # OccupyAll
  815. # {
  816. # "xload"
  817. # "xbiff"
  818. # "xconsole"
  819. # }
  820. #
  821. # Note: The OccupyAll declaration should come after the
  822. # WorkSpaces declaration.
  823. #
  824. OccupyAll
  825. {
  826. }
  827. # -----------------------------------------------------------------------------
  828. #OpaqueMove
  829. # This variable indicates that the f.move function should actually move
  830. # the window instead of just an outline so that the user can immediately
  831. # see what the window will look like in the new position. This option is
  832. # typically used on fast displays (particularly if NoGrabServer is set).
  833. #
  834. # -----------------------------------------------------------------------------
  835. #OpaqueMoveThreshold { threshold }
  836. # The integer parameter is a percentage and indicates that only
  837. # windows (elligible for opaque moving), with a surface smaller than
  838. # this percentage of the surface of the screen should actually be
  839. # moved in opaque mode.
  840. #
  841. # -----------------------------------------------------------------------------
  842. #OpaqueResize { window-list }
  843. # The opaque version of resize. Extremely resource intensive, but
  844. # beautiful with fast server/client/network. see OpaqueMove. The
  845. # NoOpaqueResize counterpart is also available.
  846. #
  847. # -----------------------------------------------------------------------------
  848. #OpaqueResizeThreshold { threshold }
  849. # The resize version of OpaqueMoveThreshold.
  850. #
  851. # -----------------------------------------------------------------------------
  852. #Pixmaps { pixmaps }
  853. # This variable specifies a list of pixmaps that define the appearance of
  854. # various images. Each entry is a keyword indicating the pixmap to set,
  855. # followed by a string giving the name of the bitmap file. The following
  856. # pixmaps may be specified:
  857. #
  858. # Pixmaps
  859. # {
  860. # TitleHighlight "gray1"
  861. # }
  862. #
  863. # The default for TitleHighlight is to use an even stipple pattern.
  864. #
  865. Pixmaps
  866. {
  867. }
  868. # -----------------------------------------------------------------------------
  869. #PixmapDirectory path
  870. # This variable specifies the path where ctwm looks to find non-X11
  871. # bitmap files. Whenever you want to use a image file that is not an
  872. # X11 bitmap, specify: xpm:filename (for xpm files) or im:filename
  873. # (for other files supported by the imconv package). Example:
  874. #
  875. # PixmapDirectory "/usr/lib/X11/twm"
  876. # Icons
  877. # {
  878. # "Axe" "xpm:edit.xpm"
  879. # "xterm" "xpm:term.xpm"
  880. # }
  881. #
  882. # N.B This is only valid if your version of ctwm has been compiled
  883. # with the XPM and IMCONV options.
  884. #
  885. PixmapDirectory "/afs/ri/user/mod/local/pixmaps"
  886. # -----------------------------------------------------------------------------
  887. #RaiseDelay milliseconds
  888. # For windows that are to be automatically raised when the pointer enters
  889. # (see the AutoRaise variable and the f.autoraise function) this variable
  890. # specifies the length of time the pointer should rest in the window
  891. # before it is raised. The default is 0 milliseconds.
  892. #
  893. RaiseDelay 100
  894. # -----------------------------------------------------------------------------
  895. #RandomPlacement
  896. # This variable indicates that windows with no specified geometry should
  897. # should be placed in a pseudo-random location instead of having the user
  898. # drag out an outline.
  899. #
  900. #RandomPlacement
  901. # -----------------------------------------------------------------------------
  902. #ResizeFont string
  903. # This variable specifies the font to be used in the dimensions
  904. # window when resizing windows. The default is "fixed".
  905. #
  906. ResizeFont "fixed"
  907. # -----------------------------------------------------------------------------
  908. #RestartPreviousState
  909. # This variable indicates that twm should attempt to use the WM_STATE
  910. # property on client windows to tell which windows should be iconified
  911. # and which should be left visible. This is typically used to try to
  912. # regenerate the state that the screen was in before the previous window
  913. # manager was shutdown.
  914. #
  915. RestartPreviousState
  916. # -----------------------------------------------------------------------------
  917. #SaveColor { colors-list }
  918. # This variable indicates a list of color assignments to be stored as
  919. # pixel values in the root window property _MIT_PRIORITY_COLORS. Clients
  920. # may elect to preserve these values when installing their own colormap.
  921. # Note that use of this mechanism is a way an for application to avoid
  922. # the "technicolor" problem, whereby useful screen objects such as window
  923. # borders and titlebars disappear when a programs custom colors are
  924. # installed by the window manager. For example:
  925. #
  926. # SaveColor
  927. # {
  928. # BorderColor
  929. # TitleBackground
  930. # TitleForeground
  931. # "red"
  932. # "green"
  933. # "blue"
  934. # }
  935. #
  936. # This would place on the root window 3 pixel values for borders and
  937. # titlebars, as well as the three color strings, all taken from the
  938. # default colormap.
  939. #
  940. # -----------------------------------------------------------------------------
  941. #ShowIconManager
  942. # This variable indicates that the icon manager window should be
  943. # displayed when twm is started. It can always be brought up using the
  944. # f.showiconmgr function.
  945. #
  946. # -----------------------------------------------------------------------------
  947. #ShowWorkSpaceManager
  948. # This variable specifies that the WorkSpaceManager should be visible.
  949. #
  950. ShowWorkSpaceManager
  951. # -----------------------------------------------------------------------------
  952. #SortIconManager
  953. # This variable indicates that entries in the icon manager should be
  954. # sorted alphabetically rather than by simply appending new windows to
  955. # the end.
  956. #
  957. SortIconManager
  958. # -----------------------------------------------------------------------------
  959. #SqueezeTitle [{ squeeze-list }]
  960. # This variable indicates that twm should attempt to use the SHAPE
  961. # extension to make titlebars occupy only as much screen space as they
  962. # need, rather than extending all the way across the top of the window.
  963. # The optional squeeze-list may be used to control the location of the
  964. # squeezed titlebar along the top of the window. It contains entries of
  965. # the form:
  966. # "name" justification num denom
  967. # where name is a window name, justification is either left, center, or
  968. # right, and num and denom are numbers specifying a ratio giving the
  969. # relative position about which the titlebar is justified. The ratio is
  970. # measured from left to right if the numerator is positive, and right to
  971. # left if negative. A denominator of 0 indicates that the numerator
  972. # should be measured in pixels. For convenience, the ratio 0/0 is the
  973. # same as 1/2 for center and -1/1 for right. For example:
  974. #
  975. # SqueezeTitle
  976. # {
  977. # "XTerm" left 0 0
  978. # "xterm1" left 1 3
  979. # "xterm2" left 2 3
  980. # "oclock" center 0 0
  981. # "emacs" right 0 0
  982. # }
  983. #
  984. # The DontSqueezeTitle list can be used to turn off squeezing on certain
  985. # titles.
  986. #
  987. # -----------------------------------------------------------------------------
  988. #StartIconified [{ win-list }]
  989. # This variable indicates that client windows should initially be left
  990. # as icons until explicitly deiconified by the user. If the optional
  991. # win-list is given, only those windows will be started iconic. This is
  992. # useful for programs that do not support an -iconic command line option
  993. # or resource.
  994. #
  995. StartIconified
  996. {
  997. }
  998. # -----------------------------------------------------------------------------
  999. #StartInMapState
  1000. # This variable specifies that the WorkSpaceManager should be started
  1001. # in its map form when created.
  1002. #
  1003. StartInMapState
  1004. # -----------------------------------------------------------------------------
  1005. #SunkFocusWindowTitle
  1006. # This variable specifies that the title of the focus window (if
  1007. # exists) should be sunken instead of raised. Only valid if
  1008. # UseThreeDTitles is set.
  1009. #
  1010. # -----------------------------------------------------------------------------
  1011. #TitleBackground string [{ win-list }]
  1012. # This variable specifies the background color used in titlebars, and may
  1013. # only be specified inside of a Color or Monochrome list. The optional
  1014. # win-list is a list of window names and colors so that perwindow colors
  1015. # may be specified. The default is "white".
  1016. #
  1017. # -----------------------------------------------------------------------------
  1018. #TitleButtonBorderWidth pixels
  1019. # This variable specifies the width in pixels of the border surrounding
  1020. # titlebuttons. This is typically set to 0 to allow titlebuttons to take
  1021. # up as much space as possible and to not have a border. The default is 1.
  1022. #
  1023. TitleButtonBorderWidth 2
  1024. # -----------------------------------------------------------------------------
  1025. #TitleFont string
  1026. # This variable specifies the font to used for displaying window names in
  1027. # titlebars. The default is "variable".
  1028. #
  1029. TitleFont "variable"
  1030. # -----------------------------------------------------------------------------
  1031. #TitleForeground string [{ win-list }]
  1032. # This variable specifies the foreground color used in titlebars, and may
  1033. # only be specified inside of a Color or Monochrome list. The optional
  1034. # win-list is a list of window names and colors so that perwindow colors
  1035. # may be specified. The default is "black".
  1036. #
  1037. # -----------------------------------------------------------------------------
  1038. #TitlePadding pixels
  1039. # This variable specifies the distance between the various buttons, text,
  1040. # and highlight areas in the titlebar. The default is 8 pixels.
  1041. #
  1042. TitlePadding 8
  1043. # -----------------------------------------------------------------------------
  1044. #TransientHasOccupation
  1045. # This variable specifies that transient-for and non group leader
  1046. # windows can have their own occupation potentially different from their
  1047. # leader window. The default case is that these windows follow their
  1048. # leader, use this keyword if the default action doesn't please you.
  1049. #
  1050. # -----------------------------------------------------------------------------
  1051. #TransientOnTop percentage
  1052. # The paramater (required) is a percentage and tells ctwm to put
  1053. # transient (and non-group leader) windows always on top of their
  1054. # leader if and only if their surface is smaller than this fraction
  1055. # of the surface of their leader. The surface of a window is its
  1056. # width times its weight.
  1057. #
  1058. # -----------------------------------------------------------------------------
  1059. #UnknownIcon string
  1060. # This variable specifies the filename of a bitmap file to be used as the
  1061. # default icon. This bitmap will be used as the icon of all clients which
  1062. # do not provide an icon bitmap and are not listed in the Icons list.
  1063. #
  1064. # -----------------------------------------------------------------------------
  1065. #UsePPosition string
  1066. # This variable specifies whether or not twm should honor program-requested
  1067. # locations (given by the PPosition flag in the WM_NORMAL_HINTS property)
  1068. # in the absence of a user-specified position. The argument string may
  1069. # have one of three values: "off" (the default) indicating that twm
  1070. # should ignore the program-supplied position, "on" indicating that the
  1071. # position should be used, and "nonzero" indicating that the position
  1072. # should used if it is other than (0,0). The latter option is for
  1073. # working around a bug in older toolkits.
  1074. #
  1075. UsePPosition "nonzero"
  1076. # -----------------------------------------------------------------------------
  1077. #UseThreeDIconManagers
  1078. # Tells ctwm to use 3D-looking IconManagers if any.
  1079. #
  1080. # -----------------------------------------------------------------------------
  1081. #UseThreeDMenus
  1082. # Tells ctwm to use 3D-looking menus.
  1083. #
  1084. # -----------------------------------------------------------------------------
  1085. #UseThreeDTitles
  1086. # Tells ctwm to use 3D-looking windows titles. In which case the
  1087. # default values of TitleButtonBorderWidth, FramePadding,
  1088. # TitlePadding and ButtonIndent are set to 0. There is 5 built-in
  1089. # scalable pixmap for buttons, :xpm:menu, :xpm:dot, :xpm:resize,
  1090. # :xpm:zoom and :xpm:bar.
  1091. #
  1092. # -----------------------------------------------------------------------------
  1093. #WarpCursor [{ win-list }]
  1094. # This variable indicates that the pointer should be warped into windows
  1095. # when they are deiconified. If the optional win-list is given, the
  1096. # pointer will only be warped when those windows are deiconified.
  1097. #
  1098. WarpCursor
  1099. {
  1100. }
  1101. # -----------------------------------------------------------------------------
  1102. #WindowRing { win-list }
  1103. # This variable specifies a list of windows along which the f.warpring
  1104. # function cycles.
  1105. #
  1106. # -----------------------------------------------------------------------------
  1107. #WarpUnmapped
  1108. # This variable indicates that that the f.warpto function should
  1109. # deiconify any iconified windows it encounters. This is typically used
  1110. # to make a key binding that will pop a particular window (such as xmh),
  1111. # no matter where it is. The default is for f.warpto to ignore iconified
  1112. # windows.
  1113. #
  1114. WarpUnmapped
  1115. # -----------------------------------------------------------------------------
  1116. #WMgrHorizButtonIndent nb_pixels
  1117. # Specify the horizontal space, in pixel, between the
  1118. # buttons of the workspace manager (in button mode).
  1119. #
  1120. # -----------------------------------------------------------------------------
  1121. #WMgrVertButtonIndent nb_pixels
  1122. # Specify the vertical space, in pixel, between the
  1123. # buttons of the workspace manager (in button mode).
  1124. #
  1125. # -----------------------------------------------------------------------------
  1126. #WorkSpaceManagerGeometry string [ columns ]
  1127. # This variable specifies the geometry of the workspace manager
  1128. # window. The string argument is standard geometry specification
  1129. # that indicates the initial full size of the workspace manager.
  1130. # The columns argument indicates the number of columns to use for
  1131. # the workspace manager window.
  1132. #
  1133. # WorkSpaceManagerGeometry "360x60+60-0" 8
  1134. #
  1135. WorkSpaceManagerGeometry "100x460-50+0" 1
  1136. # -----------------------------------------------------------------------------
  1137. #XorValue number
  1138. # This variable specifies the value to use when drawing window outlines
  1139. # for moving and resizing. This should be set to a value that will
  1140. # result in a variety of distinguishable colors when exclusive-or'ed
  1141. # with the contents of the user's typical screen. Setting this variable
  1142. # to 1 often gives nice results if adjacent colors in the default
  1143. # colormap are distinct. By default, twm will attempt to cause temporary
  1144. # lines to appear at the opposite end of the colormap from the graphics.
  1145. #
  1146. # -----------------------------------------------------------------------------
  1147. #Zoom [ count ]
  1148. # This variable indicates that outlines suggesting movement of a window
  1149. # to and from its iconified state should be displayed whenever a window
  1150. # is iconified or deiconified. The optional count argument specifies the
  1151. # number of outlines to be drawn. The default count is 8.
  1152. #
  1153. Zoom 50
  1154.  
  1155. ###############################################################################
  1156. # -----------------------------------------------------------------------------
  1157. # The following variables must be set after the fonts have been assigned,
  1158. # so it is usually best to put them at the end of the variables or
  1159. # beginning of the bindings sections:
  1160. #
  1161. # -----------------------------------------------------------------------------
  1162. #DefaultFunction function
  1163. # This variable specifies the function to be executed when a key or button
  1164. # event is received for which no binding is provided. This is typically
  1165. # bound to f.nop, f.beep, or a menu containing window operations.
  1166. #
  1167. DefaultFunction f.beep
  1168. # -----------------------------------------------------------------------------
  1169. #WindowFunction function
  1170. # This variable specifies the function to execute when a window is
  1171. # selected from the TwmWindows menu. If this variable is not set, the
  1172. # window will be deiconified and raised.
  1173. #
  1174. # -----------------------------------------------------------------------------
  1175. #BINDINGS
  1176. # After the desired variables have been set, functions may be attached
  1177. # to titlebuttons and key and pointer buttons. Titlebuttons may be added
  1178. # from the left or right side and appear in the titlebar from
  1179. # left-to-right according to the order in which they are specified. Key
  1180. # and pointer button bindings may be given in any order.
  1181. #
  1182. # Titlebuttons specifications must include the name of the pixmap to use
  1183. # in the button box and the function to be invoked when a pointer button
  1184. # is pressed within them:
  1185. # LeftTitleButton "bitmapname" = function
  1186. # or
  1187. # RightTitleButton "bitmapname" = function
  1188. # The bitmapname may refer to one of the built-in bitmaps (which are
  1189. # scaled to match TitleFont) by using the appropriate colon-prefixed name
  1190. # described above.
  1191. #
  1192. # Key and pointer button specifications must give the modifiers that must
  1193. # be pressed, over which parts of the screen the pointer must be, and
  1194. # what function is to be invoked. Keys are given as strings containing
  1195. # the appropriate keysym name; buttons are given as the keywords
  1196. # Button1-Button5:
  1197. #
  1198. # "FP1" = modlist : context : function
  1199. # Button1 = modlist : context : function
  1200. #
  1201. # The modlist is any combination of the modifier names shift, control,
  1202. # lock, meta, mod1, mod2, mod3, mod4, or mod5 (which may be abbreviated
  1203. # as s, c, l, m, m1, m2, m3, m4, m5, respectively) separated by a
  1204. # vertical bar (|). Similarly, the context is any combination of window,
  1205. # title, icon, root, frame, iconmgr, their first letters (iconmgr
  1206. # abbreviation is m), or all, separated by a vertical bar. The function
  1207. # is any of the f. keywords described below. For example, the default
  1208. # startup file contains the following bindings:
  1209. #
  1210. # Button1 = : root : f.menu "TwmWindows"
  1211. # Button1 = m : window | icon : f.function "move-or-lower"
  1212. # Button2 = m : window | icon : f.iconify
  1213. # Button3 = m : window | icon : f.function "move-or-raise"
  1214. # Button1 = : title : f.function "move-or-raise"
  1215. # Button2 = : title : f.raiselower
  1216. # Button1 = : icon : f.function "move-or-iconify"
  1217. # Button2 = : icon : f.iconify
  1218. # Button1 = : iconmgr : f.iconify
  1219. # Button2 = : iconmgr : f.iconify
  1220. #
  1221. # A user who wanted to be able to manipulate windows from
  1222. # the keyboard could use the following bindings:
  1223. #
  1224. # "F1" = : all : f.iconify
  1225. # "F2" = : all : f.raiselower
  1226. # "F3" = : all : f.warpring "next"
  1227. # "F4" = : all : f.warpto "xmh"
  1228. # "F5" = : all : f.warpto "emacs"
  1229. # "F6" = : all : f.colormap "next"
  1230. # "F7" = : all : f.colormap "default"
  1231. #
  1232. # "F20" = : all : f.warptoscreen "next"
  1233. # "Left" = m : all : f.backiconmgr
  1234. # "Right" = m | s : all : f.forwiconmgr
  1235. # "Up" = m : all : f.upiconmgr
  1236. # "Down" = m | s : all : f.downiconmgr
  1237. #
  1238. # Twm provides many more window manipulation primitives than can be
  1239. # conveniently stored in a titlebar, menu, or set of key bindings.
  1240. # Although a small set of defaults are supplied (unless the NoDefaults is
  1241. # specified), most users will want to have their most common operations
  1242. # bound to key and button strokes. To do this, twm associates names with
  1243. # each of the primitives and provides user-defined functions for building
  1244. # higher level primitives and menus for interactively selecting among
  1245. # groups of functions.
  1246. #
  1247. # User-defined functions contain the name by which they are referenced in
  1248. # calls to f.function and a list of other functions to execute. For
  1249. # example:
  1250. #
  1251. # Function "move-or-lower" { f.move f.deltastop f.lower }
  1252. # Function "move-or-raise" { f.move f.deltastop f.raise }
  1253. # Function "move-or-iconify" { f.move f.deltastop f.iconify }
  1254. # Function "restore-colormap" { f.colormap "default" f.lower }
  1255. #
  1256. # The function name must be used in f.function exactly as it appears in
  1257. # the function specification.
  1258. #
  1259. # In the descriptions below, if the function is said to operate on the
  1260. # selected window, but is invoked from a root menu, the cursor will be
  1261. # changed to the Select cursor and the next window to receive a button
  1262. # press will be chosen:
  1263. #
  1264. # ! string
  1265. # This is an abbreviation for f.exec string.
  1266. #
  1267. # f.autoraise
  1268. # This function toggles whether or not the selected window is raised
  1269. # whenever entered by the pointer. See the description of the variable
  1270. # AutoRaise.
  1271. #
  1272. # f.backiconmgr
  1273. # This function warps the pointer to the previous column in the current
  1274. # icon manager, wrapping back to the previous row if necessary.
  1275. #
  1276. # f.beep
  1277. # This function sounds the keyboard bell.
  1278. #
  1279. # f.bottomzoom
  1280. # This function is similar to the f.fullzoom function, but resizes the
  1281. # window to fill only the bottom half of the screen.
  1282. #
  1283. # f.circledown
  1284. # This function lowers the top-most window that occludes another window.
  1285. #
  1286. # f.circleup
  1287. # This function raises the bottom-most window that is occluded by
  1288. # another window.
  1289. #
  1290. # f.colormap string
  1291. # This function rotates the colormaps (obtained from the
  1292. # WM_COLORMAP_WINDOWS property on the window) that twm will display when
  1293. # the pointer is in this window. The argument string may have one of
  1294. # the following values: "next", "prev", and "default". It should be
  1295. # noted here that in general, the installed colormap is determined by
  1296. # keyboard focus. A pointer driven keyboard focus will install a
  1297. # private colormap upon entry of the window owning the colormap. Using
  1298. # the click to type model, private colormaps will not be installed until
  1299. # the user presses a mouse button on the target window.
  1300. #
  1301. # f.deiconify
  1302. # This function deiconifies the selected window. If the window is not
  1303. # an icon, this function does nothing.
  1304. #
  1305. # f.delete
  1306. # This function sends the WM_DELETE_WINDOW message to the selected
  1307. # window if the client application has requested it through the
  1308. # WM_PROTOCOLS window property. The application is supposed to respond
  1309. # to the message by removing the indicated window. If the window has
  1310. # not requested WM_DELETE_WINDOW messages, the keyboard bell will be
  1311. # rung indicating that the user should choose an alternative method.
  1312. # Note this is very different from f.destroy. The intent here is to
  1313. # delete a single window, not necessarily the entire application.
  1314. #
  1315. # f.deltastop
  1316. # This function allows a user-defined function to be aborted if the
  1317. # pointer has been moved more than MoveDelta pixels. See the example
  1318. # definition given for Function "move-or-raise" at the beginning of the
  1319. # section.
  1320. #
  1321. # f.destroy
  1322. # This function instructs the X server to close the display connection
  1323. # of the client that created the selected window. This should only be
  1324. # used as a last resort for shutting down runaway clients. See also
  1325. # f.delete.
  1326. #
  1327. # f.downiconmgr
  1328. # This function warps the pointer to the next row in the current icon
  1329. # manger, wrapping to the beginning of the next column if necessary.
  1330. #
  1331. # f.exec string
  1332. # This function passes the argument string to /bin/sh for execution.
  1333. # In multiscreen mode, if string starts a new X client without giving a
  1334. # display argument, the client will appear on the screen from which this
  1335. # function was invoked.
  1336. #
  1337. # f.focus This function toggles the keyboard focus of the
  1338. # server to the selected window, changing the focus rule from
  1339. # pointer-driven if necessary. If the selected window already was
  1340. # focused, this function executes an f.unfocus.
  1341. #
  1342. # f.forcemove
  1343. # This function is like f.move except that it ignores the DontMoveOff
  1344. # variable.
  1345. #
  1346. # f.forwiconmgr
  1347. # This function warps the pointer to the next column in the current icon
  1348. # manager, wrapping to the beginning of the next row if necessary.
  1349. #
  1350. # f.fullzoom
  1351. # This function resizes the selected window to the full size of the
  1352. # display or else restores the original size if the window was already
  1353. # zoomed.
  1354. #
  1355. # f.function string
  1356. # This function executes the user-defined function whose name is
  1357. # specified by the argument string.
  1358. #
  1359. # f.gotoworkspace workspace_name
  1360. # This function warps you to the workspace whose name is workspace_name
  1361. #
  1362. # f.hbzoom
  1363. # This function is a synonym for f.bottomzoom.
  1364. #
  1365. # f.hideiconmgr
  1366. # This function unmaps the current icon manager.
  1367. #
  1368. # f.hideworkspacemgr
  1369. # Unmap the WorkSpace manager.
  1370. #
  1371. # f.horizoom
  1372. # This variable is similar to the f.zoom function except that the
  1373. # selected window is resized to the full width of the display.
  1374. #
  1375. # f.htzoom
  1376. # This function is a synonym for f.topzoom.
  1377. #
  1378. # f.hzoom
  1379. # This function is a synonym for f.horizoom.
  1380. #
  1381. # f.iconify
  1382. # This function iconifies or deiconifies the selected window or icon,
  1383. # respectively.
  1384. #
  1385. # f.identify
  1386. # This function displays a summary of the name and geometry of the
  1387. # selected window. Clicking the pointer or pressing a key in the window
  1388. # will dismiss it.
  1389. #
  1390. # f.lefticonmgr
  1391. # This function similar to f.backiconmgr except that wrapping does not
  1392. # change rows.
  1393. #
  1394. # f.leftzoom
  1395. # This variable is similar to the f.bottomzoom function but causes the
  1396. # selected window is only resized to the left half of the display.
  1397. #
  1398. # f.lower
  1399. # This function lowers the selected window.
  1400. #
  1401. # f.menu string
  1402. # This function invokes the menu specified by the argument string.
  1403. # Cascaded menus may be built by nesting calls to f.menu.
  1404. #
  1405. # f.move
  1406. # This function drags an outline of the selected window (or the window
  1407. # itself if the OpaqueMove variable is set) until the invoking pointer
  1408. # button is released. Double clicking within the number of milliseconds
  1409. # given by ConstrainedMoveTime warps the pointer to the center of the
  1410. # window and constrains the move to be either horizontal or vertical
  1411. # depending on which grid line is crossed. To abort a move, press
  1412. # another button before releasing the first button.
  1413. #
  1414. # f.nexticonmgr
  1415. # This function warps the pointer to the next icon manager containing
  1416. # any windows on the current or any succeeding screen.
  1417. #
  1418. # f.nextworkspace
  1419. # Goto the next workspace in the list, using the order given in
  1420. # the .ctwmrc file.
  1421. #
  1422. # f.nop
  1423. # This function does nothing and is typically used with the
  1424. # DefaultFunction or WindowFunction variables or to introduce blank
  1425. # lines in menus.
  1426. #
  1427. # f.occupy
  1428. # This function pops up a window for the user to choose which
  1429. # workspaces a window belongs to.
  1430. #
  1431. # f.occupyall
  1432. # This function makes the specified window occupy all the workspaces.
  1433. #
  1434. # f.previconmgr
  1435. # This function warps the pointer to the previous icon manager
  1436. # containing any windows on the current or preceding screens.
  1437. #
  1438. # f.prevworkspace
  1439. # Goto the previous workspace in the list, using the order given
  1440. # in the .ctwmrc file.
  1441. #
  1442. # f.pin
  1443. # Valid only in a root menu. Make a menu permanent on the
  1444. # screen. This is a toggle function, if you select it while the
  1445. # menu is already permanent, it becomes non-permanent.
  1446. #
  1447. # f.quit
  1448. # This function causes twm to restore the window's borders and exit. If
  1449. # twm is the first client invoked from xdm, this will result in a server
  1450. # reset.
  1451. #
  1452. # f.raise
  1453. # This function raises the selected window.
  1454. #
  1455. # f.raiselower
  1456. # This function raises the selected window to the top of the stacking
  1457. # order if it is occluded by any windows, otherwise the window will be
  1458. # lowered.
  1459. #
  1460. # f.refresh
  1461. # This function causes all windows to be refreshed.
  1462. #
  1463. # f.resize
  1464. # This function displays an outline of the selected window. Crossing a
  1465. # border (or setting AutoRelativeResize) will cause the outline to begin
  1466. # to rubber band until the invoking button is released. To abort a
  1467. # resize, press another button before releasing the first button.
  1468. #
  1469. # f.restart
  1470. # This function kills and restarts twm.
  1471. #
  1472. # f.righticonmgr
  1473. # This function is similar to f.nexticonmgr except that wrapping does
  1474. # not change rows.
  1475. #
  1476. # f.rightzoom
  1477. # This variable is similar to the f.bottomzoom function except that the
  1478. # selected window is only resized to the right half of the display.
  1479. #
  1480. # f.saveyourself
  1481. # This function sends a WM_SAVEYOURSELF message to the selected window
  1482. # if it has requested the message in its WM_PROTOCOLS window property.
  1483. # Clients that accept this message are supposed to checkpoint all state
  1484. # associated with the window and update the WM_COMMAND property as
  1485. # specified in the ICCCM. If the selected window has not selected for
  1486. # this message, the keyboard bell will be rung.
  1487. #
  1488. # f.setbuttonsstate
  1489. # Set the WorkSpace manager in button state.
  1490. #
  1491. # f.separator
  1492. # Valid only in menus. The effect is to add a line separator
  1493. # between the previous and the following entry. The name
  1494. # selector part in the menu is not used (but must be present).
  1495. #
  1496. # f.setmapstate
  1497. # Set the WorkSpace manager in map state.
  1498. #
  1499. # f.showiconmgr
  1500. # This function maps the current icon manager.
  1501. #
  1502. # f.sorticonmgr
  1503. # This function sorts the entries in the current icon manager
  1504. # alphabetically. See the variable SortIconManager.
  1505. #
  1506. # f.showworkspacemgr
  1507. # Map the WorkSpace manager.
  1508. #
  1509. # f.title
  1510. # This function provides a centered, unselectable item in a menu
  1511. # definition. It should not be used in any other context.
  1512. #
  1513. # f.togglestate
  1514. # Toggle the state of the WorkSpace manager.
  1515. #
  1516. # f.topzoom
  1517. # This variable is similar to the f.bottomzoom function except that the
  1518. # selected window is only resized to the top half of the display.
  1519. #
  1520. # f.unfocus
  1521. # This function resets the focus back to pointer-driven. This should be
  1522. # used when a focused window is no longer desired.
  1523. #
  1524. # f.upiconmgr
  1525. # This function warps the pointer to the previous row in the current
  1526. # icon manager, wrapping to the last row in the same column if
  1527. # necessary.
  1528. #
  1529. # f.vanish
  1530. # The specified window vanish from the current workspace if it
  1531. # occupies at least one other WorkSpace. Do nothing in the
  1532. # other cases.
  1533. #
  1534. # f.vlzoom
  1535. # This function is a synonym for f.leftzoom.
  1536. #
  1537. # f.vrzoom
  1538. # This function is a synonym for f.rightzoom.
  1539. #
  1540. # f.warphere win_name
  1541. # This function adds the window which has a name or class that
  1542. # matches string to the current workspace and warps the pointer
  1543. # to it. If the window is iconified, it will be deiconified if
  1544. # the variable WarpUnmapped is set or else ignored.
  1545. #
  1546. # f.warpring string
  1547. # This function warps the pointer to the next or previous window (as
  1548. # indicated by the argument string, which may be "next" or "prev")
  1549. # specified in the WindowRing variable.
  1550. #
  1551. # f.warpto string
  1552. # This function warps the pointer to the window which has a name or
  1553. # class that matches string. If the window is iconified, it will be
  1554. # deiconified if the variable WarpUnmapped is set or else ignored.
  1555. #
  1556. # f.warptoiconmgr string
  1557. # This function warps the pointer to the icon manager entry associated
  1558. # with the window containing the pointer in the icon manager specified
  1559. # by the argument string. If string is empty (i.e. ""), the current
  1560. # icon manager is chosen.
  1561. #
  1562. # f.warptoscreen string
  1563. # This function warps the pointer to the screen specified by the
  1564. # argument string. String may be a number (e.g. "0" or "1"), the word
  1565. # "next" (indicating the current screen plus 1, skipping over any
  1566. # unmanaged screens), the word "back" (indicating the current screen
  1567. # minus 1, skipping over any unmanaged screens), or the word "prev"
  1568. # (indicating the last screen visited.
  1569. #
  1570. # f.winrefresh
  1571. # This function is similar to the f.refresh function except that only
  1572. # the selected window is refreshed.
  1573. #
  1574. # f.zoom
  1575. # This function is similar to the f.fullzoom function, except that the
  1576. # only the height of the selected window is changed.
  1577. #
  1578. #MENUS
  1579. # Functions may be grouped and interactively selected using pop-up
  1580. # (when bound to a pointer button) or pull-down (when associated with a
  1581. # titlebutton) menus. Each menu specification contains the name of the
  1582. # menu as it will be referred to by f.menu, optional default foreground
  1583. # and background colors, the list of item names and the functions they
  1584. # should invoke, and optional foreground and background colors for
  1585. # individual items:
  1586. #
  1587. # Menu "menuname" [ ("deffore":"defback") ]
  1588. # {
  1589. # string1 [ ("fore1":"backn")] function1
  1590. # string2 [ ("fore2":"backn")] function2
  1591. # .
  1592. # stringN [ ("foreN":"backN")] functionN
  1593. # }
  1594. #
  1595. # The menuname is case-sensitive. The optional deffore and defback
  1596. # arguments specify the foreground and background colors used on a color
  1597. # display to highlight menu entries. The string portion of each menu entry
  1598. # will be the text which will appear in the menu. The optional fore and
  1599. # back arguments specify the foreground and background colors of the menu
  1600. # entry when the pointer is not in the entry. These colors will only be
  1601. # used on a color display. The default is to use the colors specified by
  1602. # the MenuForeground and MenuBackground variables. The function portion of
  1603. # the menu entry is one of the functions, including any user-defined
  1604. # functions, or additional menus.
  1605. #
  1606. # There is a special menu named TwmWindows which contains the names of all
  1607. # of the client and twm-supplied windows. Selecting an entry will cause the
  1608. # WindowFunction to be executed on that window. If WindowFunction hasn't
  1609. # been set, the window will be deiconified and raised.
  1610. #
  1611. #ICONS
  1612. # Twm supports several different ways of manipulating iconified windows.
  1613. # The common pixmap-and-text style may be laid out by hand or automatically
  1614. # arranged as described by the IconRegion variable. In addition, a terse
  1615. # grid of icon names, called an icon manager, provides a more efficient
  1616. # use of screen space as well as the ability to navigate among windows
  1617. # from the keyboard.
  1618. #
  1619. # An icon manager is a window that contains names of selected or all windows
  1620. # currently on the display. In addition to the window name, a small button
  1621. # using the default iconify symbol will be displayed to the left of the name
  1622. # when the window is iconified. By default, clicking on an entry in the
  1623. # icon manager performs f.iconify. To change the actions taken in the icon
  1624. # manager, use the the iconmgr context when specifying button and keyboard
  1625. # bindings.
  1626. #
  1627. # Moving the pointer into the icon manager also directs keyboard focus
  1628. # to the indicated window (setting the focus explicitly or else sending
  1629. # synthetic events NoTitleFocus is set). Using the f.upiconmgr,
  1630. # f.downiconmgr f.lefticonmgr, and f.righticonmgr functions, the input
  1631. # focus can be changed between windows directly from the keyboard.
  1632. #
  1633. #BUGS
  1634. # The resource manager should have been used instead of all of the window
  1635. # lists.
  1636. #
  1637. # The IconRegion variable should take a list.
  1638. #
  1639. # Double clicking very fast to get the constrained move function will
  1640. # sometimes cause the window to move, even though the pointer is not moved.
  1641. #
  1642. # If IconifyByUnmapping is on and windows are listed in IconManagerDontShow
  1643. # but not in DontIconifyByUnmapping, they may be lost if they are iconified
  1644. # and no bindings to f.menu "TwmWindows" or f.warpto are setup.
  1645. #
  1646. #FILES
  1647. # $HOME/.twmrc.<screen number>
  1648. # $HOME/.twmrc
  1649. # /usr/lib/X11/twm/system.twmrc
  1650. #
  1651. #ENVIRONMENT VARIABLES
  1652. # DISPLAY This variable is used to determine which X server
  1653. # to use. It is also set during f.exec so that programs
  1654. # come up on the proper screen.
  1655. #
  1656. # HOME This variable is used as the prefix for files that
  1657. # begin with a tilde and for locating the twm
  1658. # startup file.
  1659. #
  1660. #SEE ALSO
  1661. # X(1), Xserver(1), xdm(1), xrdb(1)
  1662. #
  1663. #COPYRIGHT
  1664. # Portions copyright 1988 Evans & Sutherland Computer Corporation;
  1665. # portions copyright 1989 Hewlett-Packard Company and the Massachusetts
  1666. # Institute of Technology, See X(1) for a full statement of rights and
  1667. # permissions.
  1668. #
  1669. #AUTHORS
  1670. # Tom LaStrange, Solbourne Computer; Jim Fulton, MIT X Consortium; Steve
  1671. # Pitschke, Stardent Computer; Keith Packard, MIT X Consortium; Dave
  1672. # Sternlicht, MIT X Consortium; Dave Payne, Apple Computer.
  1673. #
  1674. #----------------
  1675. # | |
  1676. # CTRL | CAPS |
  1677. # | |
  1678. #----------------
  1679. # | |
  1680. # FUNC | SHIFT |
  1681. # | |
  1682. #----------------
  1683. #
  1684. ###############################################################################
  1685. # The modlist is any combination of the modifier names shift, control,
  1686. # lock, meta, mod1, mod2, mod3, mod4, or mod5 (which may be abbreviated
  1687. # as s, c, l, m, m1, m2, m3, m4, m5, respectively) separated by a
  1688. # vertical bar (|). Similarly, the context is any combination of window,
  1689. # title, icon, root, frame, iconmgr, their first letters (iconmgr
  1690. # abbreviation is m), or all, separated by a vertical bar. The function
  1691. # is any of the f. keywords described below. For example, the default
  1692. # startup file contains the following bindings:
  1693. #
  1694. # "FP1" = modlist : context : function
  1695. # Button1 = modlist : context : function
  1696. #
  1697. # The modlist is any combination of the modifier names shift, control,
  1698. # lock, meta, mod1, mod2, mod3, mod4, or mod5 (which may be abbreviated
  1699. # as s, c, l, m, m1, m2, m3, m4, m5, respectively) separated by a
  1700. # vertical bar (|). Similarly, the context is any combination of window,
  1701. # title, icon, root, frame, iconmgr, their first letters (iconmgr
  1702. # abbreviation is m), or all, separated by a vertical bar. The function
  1703. # is any of the f. keywords described below. For example, the default
  1704. # startup file contains the following bindings:
  1705. #
  1706. # Button1 = : root : f.menu "TwmWindows"
  1707. # Button1 = m : window | icon : f.function "move-or-lower"
  1708. # Button2 = m : window | icon : f.iconify
  1709. # Button3 = m : window | icon : f.function "move-or-raise"
  1710. # Button1 = : title : f.function "move-or-raise"
  1711. # Button2 = : title : f.raiselower
  1712. # Button1 = : icon : f.function "move-or-iconify"
  1713. # Button2 = : icon : f.iconify
  1714. # Button1 = : iconmgr : f.iconify
  1715. #
  1716. ###############################################################################
  1717. # Mouse button/key maps
  1718. #
  1719. # note: meta key means the red func key
  1720. #
  1721. # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
  1722. #
  1723. Button1 = : frame : f.iconify
  1724. Button1 = : root : f.menu "TWM Basic"
  1725. Button1 = m : window|icon : f.raise
  1726. Button1 = m|c|s : all : f.menu "TWM Basic"
  1727. Button1 = m|s : window|icon : f.iconify
  1728. Button2 = m : window|icon : f.lower
  1729. Button2 = s : window : f.resize
  1730. Button3 = : root : f.menu "Commands"
  1731. Button3 = m : all : f.circleup
  1732. Button3 = s : window|icon : f.move
  1733. #"Down" = m|s : all : f.hideworkspacemgr
  1734. #"Down" = m|s : window : f.leftzoom
  1735. #"Left" = m : all : f.backiconmgr
  1736. #"Left" = m|s : window : f.leftzoom
  1737. #"Right" = m|s : all : f.forwiconmgr
  1738. #"Right" = m|s : window : f.rightzoom
  1739. #"Up" = m : all : f.showworkspacemgr
  1740. #"F1" = : all : f.iconify
  1741. "F1" = m|s : window : f.leftzoom
  1742. "F1" = s : all : f.gotoworkspace "One"
  1743. #"F2" = : all : f.raiselower
  1744. "F2" = m|s : window : f.rightzoom
  1745. "F2" = s : all : f.gotoworkspace "Two"
  1746. #"F3" = : all : f.warpring "next"
  1747. "F3" = s : all : f.gotoworkspace "Three"
  1748. #"F4" = : all : f.warpto "xmh"
  1749. "F4" = m|s : window : f.fullzoom
  1750. "F4" = s : all : f.gotoworkspace "Four"
  1751. #"F5" = : all : f.warpto "emacs"
  1752. "F5" = s : all : f.gotoworkspace "Five"
  1753. #"F6" = : all : f.colormap "next"
  1754. "F6" = s : all : f.gotoworkspace "Six"
  1755. #"F7" = : all : f.colormap "default"
  1756. "F7" = s : all : f.gotoworkspace "Seven"
  1757. "F8" = s : all : f.gotoworkspace "Eight"
  1758. "F10" = s : all : f.prevworkspace
  1759. "F11" = m : all : f.togglestate
  1760. #"F11" = s : all : f.circleup
  1761. "F11" = s : all : f.nextworkspace
  1762. "F12" = m : all : f.destroy
  1763. "F12" = s : all : f.delete
  1764. #"F20" = : all : f.warptoscreen "next"
  1765. #
  1766. # And menus with the usual things...
  1767. #
  1768. menu "TWM Basic"
  1769. {
  1770. "Root Menu" f.title
  1771. "WindowOps" f.menu "WindowOps"
  1772. "Xterms" f.menu "Xterms"
  1773. }
  1774.  
  1775. menu "EXIT"
  1776. {
  1777. "Exit" f.menu "EXIT2"
  1778. }
  1779.  
  1780. menu "EXIT2"
  1781. {
  1782. "Exit" f.menu "EXIT3"
  1783. }
  1784.  
  1785. menu "EXIT3"
  1786. {
  1787. "Exit" f.menu "EXIT4"
  1788. }
  1789.  
  1790. menu "EXIT4"
  1791. {
  1792. "" f.separator
  1793. "Terminate CTWM" f.quit
  1794. "" f.separator
  1795. }
  1796.  
  1797. menu "Zoom Toggles"
  1798. {
  1799. "Zoom Toggles" f.title
  1800. "full" f.fullzoom
  1801. "top" f.topzoom
  1802. "bottom" f.bottomzoom
  1803. "left" f.leftzoom
  1804. "right" f.rightzoom
  1805. "horiz" f.horizoom
  1806. "vert" f.zoom
  1807. }
  1808.  
  1809. menu "WindowOps"
  1810. {
  1811. "WindowOps" f.title
  1812. "Zoom Toggles" f.menu "Zoom Toggles"
  1813. "Toggle AutoRaise" f.autoraise
  1814. "Focus" f.focus
  1815. "Move" f.move
  1816. "Resize" f.resize
  1817. "{De}Iconify" f.iconify
  1818. "Lower" f.lower
  1819. "Raise" f.raise
  1820. "Cycle Down" f.circledown
  1821. "Cycle Up" f.circleup
  1822. "Select Occupation" f.occupy
  1823. "f.identify" f.identify
  1824. "" f.separator
  1825. "Redraw Screen" f.refresh
  1826. "Kill" f.destroy
  1827. "Delete" f.delete
  1828. "Exit" f.menu "EXIT"
  1829. "Hide Iconmgr" f.hideiconmgr
  1830. "Show Iconmgr" f.showiconmgr
  1831. "Hide WorkSpaceManager" f.hideworkspacemgr
  1832. "Show WorkSpaceManager" f.showworkspacemgr
  1833. "Restart TWM" f.restart
  1834. }
  1835.  
  1836. function "e521WideBlue" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg dodgerblue4 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50+-4+40 -ls -n e521WideBlue -sb -sl 5000 -ulc -e ssh -X -l mod localhost &" }
  1837.  
  1838. function "e521WideWhite" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg navajoWhite3 -cb +cm -cr red +dc -fg black -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50+-4-40 -ls -n e521WideWhite -sb -sl 5000 -ulc -e ssh -X -l mod localhost &" }
  1839.  
  1840. function "e521wideWhite" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg navajoWhite3 -cb +cm -cr red +dc -fg black -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50+-0+0 -ls -n e521wideWhite -sb -sl 5000 -ulc -e ssh -X -l mod localhost &" }
  1841.  
  1842. function "e521Gray80x60" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg gray30 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50-12+-4 -ls -n e521Gray80x60 -sb -sl 5000 -ulc -e ssh -X -l mod localhost &" }
  1843.  
  1844. function "e521Red80x60" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg firebrick4 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50+12+-4 -ls -n e521Red80x60 -sb -sl 5000 -ulc -e ssh -X -l mod localhost &" }
  1845.  
  1846. function "e521white80x50" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg navajoWhite3 -cb +cm -cr red +dc -fg black -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50+-4-40 -ls -n e521white80x50 -sb -sl 5000 -ulc -e ssh -X -l mod localhost &" }
  1847.  
  1848. function "leftBlue80x60" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg dodgerblue4 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50+0-0 -ls -n leftBlue80x60 -sb -sl 5000 -ulc &" }
  1849.  
  1850. function "leftGray80x60" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg gray30 -cb +cm -cr green +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50+0-0 -ls -n leftGray80x60 -sb -sl 5000 -ulc &" }
  1851.  
  1852. function "leftRed80x60" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg firebrick4 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50+0-0 -ls -n leftRed80x60 -sb -sl 5000 -ulc &" }
  1853.  
  1854. function "shrapnelWideWhite" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg navajoWhite3 -cb +cm -cr red +dc -fg black -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50+-0+0 -ls -n shrapnelWideWhite -sb -sl 5000 -ulc -e ssh -X -l mod localhost &" }
  1855.  
  1856. #function "wideBlue" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg dodgerblue4 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50-0+0 -ls -n wideBlue -sb -sl 5000 -ulc &" }
  1857. #
  1858. #function "wideGray" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg gray30 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50-0-0 -ls -n wideGray -sb -sl 5000 -ulc &" }
  1859. #
  1860. #function "wideRed" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg firebrick4 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50+0+0 -ls -n wideRed -sb -sl 5000 -ulc &" }
  1861. #
  1862. #function "wideWhite" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg navajoWhite3 -cb +cm -cr red +dc -fg black -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50+0-0 -ls -n wideWhite -sb -sl 5000 -ulc &" }
  1863.  
  1864. # Mention screen-edge then position
  1865. #
  1866. # T=top
  1867. # B=bottom
  1868. # L=left
  1869. # R=right
  1870. # U=up
  1871. # D=down
  1872.  
  1873. function "BLblue" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg dodgerblue4 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50+-4--4 -ls -n BLblue -sb -sl 5000 -ulc &" }
  1874. function "LDwhite" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg navajoWhite3 -cb +cm -cr red +dc -fg black -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50+-8-+24 -ls -n LDwhite -sb -sl 5000 -ulc &" }
  1875. function "LUred" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg firebrick4 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50+-8+24 -ls -n LUred -sb -sl 5000 -ulc &" }
  1876. function "TLgray" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg gray30 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50+24+-4 -ls -n TLgray -sb -sl 5000 -ulc &" }
  1877.  
  1878. function "TRblue" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg dodgerblue4 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50-24+-4 -ls -n TRblue -sb -sl 5000 -ulc &" }
  1879. function "RUwhite" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg navajoWhite3 -cb +cm -cr red +dc -fg black -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50--4+24 -ls -n RUwhite -sb -sl 5000 -ulc &" }
  1880. function "RDred" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg firebrick4 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50--4-+24 -ls -n RDred -sb -sl 5000 -ulc &" }
  1881. function "BRgray" { !"xterm -xrm '*vt100*initialFont: 6' -bc -bdc -bg gray30 -cb +cm +dc -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 160x50--4--4 -ls -n BRgray -sb -sl 5000 -ulc &" }
  1882.  
  1883. function "fourLocalprimary"
  1884. {
  1885. f.function "BLblue"
  1886. f.function "BRgray"
  1887. f.function "LUred"
  1888. f.function "RUwhite"
  1889. }
  1890.  
  1891. function "fourLocalsecondary"
  1892. {
  1893. f.function "LDwhite"
  1894. f.function "RDred"
  1895. f.function "TLgray"
  1896. f.function "TRblue"
  1897. }
  1898.  
  1899. function "allFour_e521"
  1900. {
  1901. f.function "e521Gray80x60"
  1902. f.function "e521Red80x60"
  1903. f.function "e521WideBlue"
  1904. f.function "e521WideWhite"
  1905. }
  1906.  
  1907. menu "remoteXterms"
  1908. {
  1909. "remoteXterms" f.title
  1910.  
  1911. "" f.separator
  1912. "SSHsemolina" f.function "SSHsemolina"
  1913. "shrapnelWideWhite" f.function "shrapnelWideWhite"
  1914. "SSHspineless" f.function "SSHspineless"
  1915. "SSHworld" f.function "SSHworld"
  1916.  
  1917. "" f.separator
  1918. "e521Gray80x60" f.function "e521Gray80x60"
  1919. "e521Red80x60" f.function "e521Red80x60"
  1920. "e521WideBlue" f.function "e521WideBlue"
  1921. "e521WideWhite" f.function "e521WideWhite"
  1922. "e521white80x50" f.function "e521white80x50"
  1923. "e521wideWhite" f.function "e521wideWhite"
  1924. "SSHallFour_e521" f.function "allFour_e521"
  1925.  
  1926. "" f.separator
  1927. "strohsliteWideWhite" f.function "strohsliteWideWhite"
  1928.  
  1929. }
  1930.  
  1931. menu "localXterms"
  1932. {
  1933. "localXterms" f.title
  1934. "leftBlue80x60" f.function "leftBlue80x60"
  1935. "leftGray80x60" f.function "leftGray80x60"
  1936. "leftRed80x60" f.function "leftRed80x60"
  1937. "BLblue" f.function "BLblue"
  1938. "BRgray" f.function "BRgray"
  1939. "LUred" f.function "LUred"
  1940. "RUwhite" f.function "RUwhite"
  1941. "fourLocalprimary" f.function "fourLocalprimary"
  1942. "fourLocalsecondary" f.function "fourLocalsecondary"
  1943.  
  1944. }
  1945.  
  1946. menu "Xterms"
  1947. {
  1948. "Xterms" f.title
  1949. "local" f.menu "localXterms"
  1950. "remote" f.menu "remoteXterms"
  1951. "localXtermsTEST" f.menu "localXtermsTEST"
  1952.  
  1953. }
  1954.  
  1955. menu "localXtermsTEST"
  1956. {
  1957. "leftBlue" !"xterm -n leftBlue -bg dodgerblue4 +dc -bdc -ulc -cb -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50+0-0 -ls -sb -sl 5000 &"
  1958. "leftGray" !"xterm -n leftGray -bg gray30 +dc -bdc -ulc -cb -cr green -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50+0-0 -ls -sb -sl 5000 &"
  1959. "leftRed" !"xterm -n leftRed -bg firebrick4 +dc -bdc -ulc -cb -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50+0-0 -ls -sb -sl 5000 &"
  1960. "rightBlue" !"xterm -n rightBlue -bg dodgerblue4 +dc -bdc -ulc -cb -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50-0+0 -ls -sb -sl 5000 &"
  1961. "rightGray" !"xterm -n rightGray -bg gray30 +dc -bdc -ulc -cb -cr green -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50-0+0 -ls -sb -sl 5000 &"
  1962. "rightRed" !"xterm -n rightRed -bg firebrick4 +dc -bdc -ulc -cb -fg white -fn -misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1 -geometry 80x50-0+0 -ls -sb -sl 5000 &"
  1963.  
  1964. "" f.separator
  1965.  
  1966. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement