chiark / gitweb /
Import vtwm_5.4.7.orig.tar.gz
[vtwm.git] / doc / .vtwmrc-marcel
1 ############################################################
2 ##                                                        ##
3 ##  Fri Jul 30 14:37:25 EDT 1993                          ##
4 ##                                                        ##
5 ##  I am including this vtwmrc in the distribution        ##
6 ##  because it is so incredibly well organized and shows  ##
7 ##  the differences between twm, vtwm, and tvtwm.         ##
8 ##                                                        ##
9 ##  As an example of what you can learn from this, the    ##
10 ##  vtwm VirtualDesktopFont and the tvtwm VirtualFont     ##
11 ##  both mean the same thing and *ought* to have the      ##
12 ##  same name!                                            ##
13 ##                                                        ##
14 ############################################################
15
16
17
18 #=============================================================================
19 # File: ~/.?twmrc    V1.00   93/07/08    M.J.E. Mol
20 # marcel@duteca.et.tudelft.nl
21 #
22 #   This file is read by the twm, vtwm or tvtwm Xwindow managers.
23 #
24
25
26 ############################################################################
27 # Font Section
28 ############################################################################
29 #
30 # TWM Fonts
31 #
32 # ResizeFont            "fixed"         # resize dimension indicator # "9x15"
33 ResizeFont              "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
34 # IconManagerFont       "6x12"  #"variable"     # "6x10"
35 IconManagerFont         "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
36 # MenuFont              "variable"      # "6x10" "-*-helvetica-bold-r-normal--*-140-*-*-*-*-iso8859-1"
37 MenuFont                "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
38 # TitleFont             "variable"      # "6x13" "6x10"
39 TitleFont               "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
40 #
41 # VTWM Fonts
42 #
43 # DoorFont              "6x10"          # Needed to allow doors
44 DoorFont                "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
45 VirtualDesktopFont      "variable"
46 #
47 # TVTWM Fonts
48 #
49 #VirtualFont            "variable"      # 5x8
50 #MenuTitleFont          "-adobe-helvetica-bold-r-normal--*-140-*-*-*-*-*-*"
51
52
53 ############################################################################
54 # Variables Section
55 ############################################################################
56 #
57 # TWM Boolean Variables
58 #
59 AutoRelativeResize      # Allow resize from any point within the window
60 ClientBorderWidth       # Take border width from initial border width of window
61 DecorateTransients      # Transient windows should have titlebars
62 DontMoveOff             # Do not allow windows to be moved of the screen
63 # ForceIcons            # Force use of "Icons" list instead of client-supplied one
64 # InterpolateMenuColors # Gradually changing menu colors
65 # NoBackingStore        # Backing store for twm's menus
66 NoCaseSensitive         # For sorting icon names in icon manager
67 # NoDefaults            # Needed when building own title buttons and bindings
68 NoGrabServer            # When popping up menus or moving opaque windows
69 # NoIconManagers        # Don't create icon managers
70 # NoMenuShadows         # Don't draw drop shadows behind menus
71 # NoRaiseOnDeiconify    # Don't automatically raise windows on de-iconify
72 # NoRaiseOnMove         # Don't automatically raise when windows are moved
73 # NoRaiseOnResize       # Don't automatically raise when windows are resized
74 # NoRaiseOnWarp         # Don't automatically raise window when f.warpto
75 # NoSaveUnders          # Repaint instead of save-under for menu selection
76 # NoTitleFocus          # Don't set input focus when window is entered
77 # OpaqueMove            # F.move window instead of just an outline
78 # RandomPlacement       # Don't give ouline-drag for no-geometry windows
79 RestartPreviousState    # 'Remember' previous state when window manager is restarted
80 ShowIconManager         # Show icon manager on startup
81 # SortIconManager       # Sort icons alphabetically in iconmanager
82 WarpUnmapped            # Allow f.warpto to de-iconify windows
83
84 #
85 # VTWM Boolean Variables
86 #
87 # DeiconifyToScreen     # De-iconifying puts window on physical screen instead of old position
88 #NotVirtualGeometries   # Geometries relative to screen, not over whole desktop
89 # SnapRealScreen        # Snap to grid defined in PanDistanceX and PanDistanceY
90 # WarpWindows           # move window to real screen instead of moveing real screen
91
92 #
93 # TVTWM Boolean Variables
94 #
95 #PannerOpaqueScroll     # Only useful when StickyAbove is set
96 #ShowVirtualNames       # Give virtual desktop windows a name using VirtualFont
97 #StayUpMenus            # Only select menuitems when they are pushed
98 #StickyAbove            # Sticky windows will always be on top
99
100 #
101 # TWM Numeric Variables
102 #
103 BorderWidth             2       # Frame border width in pixels
104 ButtonIndent            1       # 0, Title button indentation in pixels
105 ConstrainedMoveTime     400     # Time (msec) in which double click allows only move in hor or vert direction
106 FramePadding            2       # Pixelwidth between titlebar decorations and the window frame
107 IconBorderWidth         2       # Border of icons in pixels
108 MoveDelta               3       # Number of pixels to move before f.move starts working (also f.deltastop)
109 TitleButtonBorderWidth  1       # 0, Distance between title buttons
110 TitlePadding            8       # 16, Distance between title buttons, text and highlight area
111 # XorValue              1       # Outline color setter for move and resize
112 Zoom                    16      # Iconify/de-iconfy outline show count
113
114 #
115 # VTWM Numeric Variables
116 #
117 # AutoPan               5       # Pan when mouse is with <arg>% range of edge of screen
118 # AutoRaiseDelay                30000   #  == RaiseDelay ?
119 # PanDistanceX          3?      # Grid of screens for f.snap
120 # PanDistanceY          3?      # Move real screan to closest grid location
121 RaiseDelay              3000    # Milliseconds to delay before AutoRaise/f.autoraise
122
123 #
124 # TVTWM Numeric Variables
125 #
126 #PannerScale            20      # Scale of deskto panner to real screen
127 #ScrollDistanceX        100     # % scroll when scrolling in virtual desktop
128 #ScrollDistanceY        100     # % scroll when scrolling in virtual desktop
129 #TitleFontPadding       5       # pixels above window titles
130
131 #
132 # TWM String Variables
133 #
134 # Path to look for bitmaps if they cannot be found in "bitmapFilePath" resource
135 # IconDirectory         "/usr/include/X11/bitmaps"
136 # IconDirectory         "/usr/include/X11/bitmaps:/usr/local/bitmaps/local"
137 # IconDirectory         "/usr/local/X11/bitmaps"
138 IconDirectory           "/usr/X386/lib/X11/xdtm/icons/small"
139 MaxWindowSize           "30000x30000"
140 UnknownIcon             "icon"          # icon bitmap to use when no other found
141 UsePPosition            "on"            # program requested location, "on" "off" "nonzero"
142 #
143 # VTWM String Variables
144 #
145 # RealScreenPixmap      "realscr.bm"    # decorate virt. desktop realscreen (panner)
146 # VirtualBackgroundPixmap "something"   # decoration for virtual desktop
147 #
148 # TVTWM String Variables
149 #
150 #PannerBackgroundPixmap "realscr.bm"    # decoration of panner
151 #PannerGeometry         "=100x250-0+0"
152 #PannerState            "normal"        # normal, iconic, withdrawn
153 #VirtualDesktop         "3x2"
154 #VirtualDesktopBackgroundPixmap "something"     # decoration for virtual desktop
155
156 #
157 # TWM Complex Variables
158 #
159 IconManagerGeometry     "=100x250-0+0" 1        # 1 column
160 # Define regions to put icons (multiple lines allowed)
161 # IconRegion    geomstring      # define geometry)
162 #               vgrav           # North or South fill direction
163 #               hgrav           # East for West fill direction
164 #               gridwidth       # grid dimensions to put icons in
165 #               gridheight
166 IconRegion              "=300x300+200-0" North East 30 30
167
168 #
169 # VTWM Complex Variables
170 #
171 #VirtualDesktop         "150x100-0-0" 20        # Panner geometry and scale
172 VirtualDesktop          "3x2-0-0" 20    # Panner geometry and scale
173
174 #
175 # TWM List Variables
176 #
177
178 Color {
179     # TWM Simple Color
180     DefaultBackground           "white"         # "maroon" Sizing and information windows
181     DefaultForeground           "black"         # "gray85"
182     MenuBackground              "maroon"
183     MenuForeground              "black"         # "gray85"
184     MenuShadowColor             "blue"
185     MenuTitleBackground         "gray70"        # "red"         # f.title color
186     MenuTitleForeground         "maroon"        # "black"
187
188     # TWM Complex Color
189     BorderColor                 "LightGoldenRod" { #"slategrey"
190                 "xterm"         "red"
191                 "seyon"         "orange"
192     }
193     BorderTileBackground        "white" { }     # Unhighlighted window borders
194     BorderTileForeground        "black" { }
195     IconBackground              "maroon" { }    # "white"  black
196     IconBorderColor             "black" { }     # "gray85"white
197     IconForeground              "black" { }     # "gray85" white
198     IconManagerBackground       "white" { }     # "maroon"
199     IconManagerForeground       "black" { }     # "gray85"
200     IconManagerHighlight        "blue"  {"xterm" "red" "seyon" "orange"}
201     TitleBackground             "sea green" {"xterm" "steelblue"  "seyon" "brown"}
202     TitleForeground             "white" { }     # "gray85"
203
204     # VTWM Simple Color
205     RealScreenBackground        "orange"        # virtual desktop realscreen indicator
206     RealScreenForeground        "yellow"        # needs RealScreenPixmap
207     VirtualBackground           "green"
208     VirtualForeground           "red"
209
210     # VTWM Complex Color
211     DesktopDisplayBackground    "pink" { }      # color of windows in virtual desktop windows and in iconmanager
212     DesktopDisplayBorder        "green"  { }    # border color of windows in virtual desktop window
213     DesktopDisplayForeground    "white"  { }    # color of text in windows in virtual desktop window and iconmanager, needs VirtualDesktopFont
214     DoorBackGround              "orange" { }
215     DoorForeGround              "blue"   { }
216
217     # TVTWM Simple Color
218     #PannerBackground           "yellow"
219     #PannerForeground           "blue"
220     #VirtualDesktopBackground   "steelblue"     # Whole screen,
221     #VirtualDesktopForeground   "black"         # use with VirtualBackgroundPixm
222
223     # TVTWM Complex Color
224     #VirtualBackground          "orange" { }
225     #VirtualForeground          "green" { }
226 }
227
228 Monochrome {
229     # TWM Simple Color
230     DefaultBackground           "white"
231     DefaultForeground           "black"
232     MenuBackground              "white"
233     MenuForeground              "black"
234     MenuShadowColor             "black"
235     MenuTitleBackground         "white"         # black, f.title color
236     MenuTitleForeground         "black"         # white
237
238     # TWM Complex Color
239     BorderColor                 "black" { }
240     BorderTileBackground        "white" { }
241     BorderTileForeground        "black" { }
242     IconBackground              "white" { }     # black
243     IconBorderColor             "black" { }     # white
244     IconForeground              "black" { }     # white
245     IconManagerBackground       "white" { }
246     IconManagerForeground       "black" { }
247     IconManagerHighlight        "black" { }
248     TitleBackground             "black" { }
249     TitleForeground             "white" { }
250
251     # VTWM Simple Color
252     RealScreenBackground        "black"         # virtual desktop realscreen indicator
253     RealScreenForeground        "white"         # needs RealScreenPixmap
254     VirtualBackground           "white"
255     VirtualForeground           "black"
256
257     # VTWM Complex Color
258     DesktopDisplayBackground    "black" { }     # color of windows in virtual desktop windows and in iconmanager
259     DesktopDisplayBorder        "white" { }     # border color of windows in virtual desktop window
260     DesktopDisplayForeground    "white" { }     # color of text in windows in virtual desktop window and iconmanager, needs VirtualDesktopFont
261     DoorBackGround              "white" { }
262     DoorForeGround              "black" { }
263
264     # TVTWM Simple Color
265     #PannerBackground           "black"
266     #PannerForeground           "white"
267     #VirtualDesktopBackground   "white"         # Whole screen,
268     #VirtualDesktopForeground   "black"         # use with VirtualBackgroundPixm
269
270
271     # TVTWM Complex Color
272     #VirtualBackground          "white" { }
273     #VirtualForeground          "black" { }
274 }
275
276 AutoRaise {                     # Auto raise windows
277     "XTerm"
278     "x"
279     "XV"
280     "Seyon"
281     "Post"
282     "emacs"
283     "Ghost"
284     "gv"
285     "gs"
286     # TVTWM VTWM
287     "Virtual Desktop"
288     "VTWM Icon Manager"
289     "TWM Icon Manager"
290     "Twm Door"
291 }
292
293 Cursors {
294     # cursorname        "string" for names in include/X11/cursorfont.h
295     # cursoname         "image" "mask" for cursors taken from bitmap files
296     Frame               "top_left_arrow"        # "spider"
297     Title               "top_left_arrow"
298     Icon                "top_left_arrow"
299     IconMgr             "top_left_arrow"
300     Move                "fleur"
301     Resize              "fleur"
302     Menu                "sb_left_arrow"
303     Button              "hand2"
304     Wait                "watch"
305     Select              "dot"
306     Destroy             "pirate"
307
308     # VTWM
309     Door                "exchange"
310     Virtual             "rtl_logo"
311     Desktop             "dotbox"
312 }
313
314 # DontIconifyByUnmapping        { }     # Iconify to icons instead of to icon manager
315 # IconifyByUnmapping    { }     # Don't try to map any icons. Remap through iconmanager, f.warpto or TwmWindows menu
316
317 IconManagerDontShow     {
318     "xclock"
319     "xload"
320     "xbiff"
321     "xmeter"
322     "xcb"
323     "Virtual Desktop"
324     "VTWM Icon Manager"
325     "TWM Icon Manager"
326     "Twm Door"
327 }
328
329 IconManagers {                  # Definition of iconmanagers...
330     # "winname" ["iconname"]    "geometry"      columns
331     # "XTerm"                   "=300x5+800+5"  5
332 }
333
334 # IconManagerShow       { }
335
336 Icons {
337     # "XTerm"   "xterm.icon"
338     "XTerm"     "pixmap.xpm"
339     # "Seyon"   "seyon.icon"
340 }
341
342 # MakeTitle     { }     # Create title bars even when NoTitle has been specified
343
344 NoHighLight             {       # i.e. not drawing borders in bordercolor
345 #    "xclock"
346 #    "xload"
347 #    "xeyes"
348 #    "xbiff"
349 #    "xbehold"
350 #    "xmeter"
351 #    "oclock"
352 #    "xcb"
353     "Virtual Desktop"
354     "VTWM Icon Manager"
355     "TWM Icon Manager"
356     "Twm Door"
357 }
358
359 NoStackMode { }         # ignore stacking request for these windows
360
361 NoTitle {               # don't show a titlebar for these windows
362     "XClock"
363 #    "xclock"
364 #    "xload"
365 #    "xeyes"
366     "xbiff"
367 #    "xbehold"
368 #    "xmeter"
369 #    "oclock"
370 #    "xcb"
371     "Virtual Desktop"
372     "VTWM Icon Manager"
373     "TWM Icon Manager"
374     "Twm Door"
375 }
376
377 NoTitleHighlight { }    # don't highlight titlebar when focused in window
378
379 Pixmaps {               # <pixmap> "bitmapfile"
380     # TitleHighlight            "gray1"
381     # VTWM
382     # RealScreenPixmap          "something"
383     # VirtualBackgroundPixmap   "something else"
384 }
385
386 # SaveColor { <colors-list> }
387
388 # titlebar is only as large as is needed for decorations
389 #       { "name"        left|center|right       nominator denominator }
390 # SqueezeTitle  { }
391
392 DontSqueezeTitle        { }     # Don't make title bar as short a possible
393
394 StartIconified  {
395     "console"
396 }
397
398 WarpCursor {            # warp cursor in window when de-iconified
399     "xterm"
400     "seyon"
401     "nn"
402 }
403
404 WindowRing {            # windows to cycle through by f.warpring
405     "xterm"
406     "seyon"
407     "nn"
408 }
409
410 #
411 # VTWM List Variables
412 #
413
414 DontShowInDisplay       {       # Don't show in virtual desktop window
415     "xclock"
416     "XBiff"
417     # TVTWM VTWM
418     "TWM Windows"
419     "Virtual Desktop"
420     "VTWM Icon Manager"
421     "TWM Icon Manager"
422     "Twm Door"
423 }
424
425 Doors   {       # remember to set DoorFont
426     # "winname" "location"      "jumpTo"
427     "Home"      "60x15+650+1"   "+0+0"
428     "Screen 1"  "60x15+710+1"   "+1024+0"
429     "Screen 2"  "60x15+770+1"   "+2048+0"
430     "Screen 3"  "60x15+650+16"  "+0+1024"
431     "Screen 4"  "60x15+710+16"  "+1024+1024"
432     "Screen 5"  "60x15+770+16"  "+2048+1024"
433 }
434
435 # NailedDown {                  # Keep on physical screen, see Sticky
436 Sticky {        # synomym for naileddown
437     "xclock"
438     "xcb"
439     "Virtual Desktop"
440     "VTWM Icon Manager"
441     "TWM Icon Manager"
442     "Twm Door"
443 }
444
445 #
446 # TVTWM List Variables
447 #
448 #IconTitle { }          # Give titles to icons, even when NoIconTitle is set
449 #NoIconTitle { }        # Give titles to icons, even when NoIconTitle is set
450
451 #
452 # Put these two in at end of variable section, before bindings section
453 #
454 DefaultFunction         f.beep  # for non-bound keys or buttons
455 # WindowFunction        f.deiconify     # function to perform when window is selected from "TwmWindows" menu
456
457
458 ######################################################################
459 # End of Variable Section
460 ######################################################################
461
462
463 # Functions ...
464 # f.circledown
465 # f.circleup
466
467 # f.deiconify
468
469
470 # f.saveyourself        FKEYWORD F_SAVEYOURSELF
471 # f.setrealscreen       FSKEYWORD F_SETREALSCREEN
472 # f.snap                FKEYWORD F_SNAP
473 # f.snugdesktop         FKEYWORD F_SNUGDESKTOP
474 # f.snugwindow          FKEYWORD F_SNUGWINDOW
475
476 # f.nexticonmgr         FKEYWORD F_NEXTICONMGR
477 # f.previconmgr         FKEYWORD F_PREVICONMGR
478
479 # f.warptoiconmgr       FSKEYWORD F_WARPTOICONMGR
480 # f.warptoscreen        FSKEYWORD F_WARPTOSCREEN
481
482
483
484 ######################################################################
485 # Titlebuttons
486 ######################################################################
487 # bitmaps are stored in /usr/include/X11/bitmaps
488 # ":bitmap" uses internal bitmap
489 #         (:dot, :xlogo, :iconify, :resize, :question, :delete, :menu)
490 #---------------------------------------------------------------------
491 RightTitleButton        ":menu"         = f.menu "WindowSettings"
492 RightTitleButton        ":iconify"      = f.iconify
493 RightTitleButton        "jpzoom"        = f.zoom
494 LeftTitleButton         ":xlogo"                = f.menu "XSettings"
495
496 ######################################################################
497 # Button/key  bindings
498 ######################################################################
499 # Button = KEYS : CONTEXT                : FUNCTION
500 # Keys can be m (meta) s (shift) c (control) l (lock) m1-5 (meta1-meta5)
501 # Context can be window, title, icon, root, frame, virtual, desktop, door,
502 #                iconmgr, all
503 #---------------------------------------------------------------------
504 Button1 =       : root                  : f.menu "Applications"
505 Button2 =       : root                  : f.menu "WindowManager"
506 Button3 =       : root                  : f.menu "Rlogins"
507 Button1 =       : door                  : f.enterdoor
508 Button1 =       : title|icon|iconmgr    : f.function "move-or-raise" #f.raise
509 Button2 =       : title                 : f.move
510 Button2 =       : icon | iconmgr        : f.iconify
511 Button3 =       : title|icon|iconmgr    : f.function "focus_and_raise"
512 Button1 = c     : door                  : f.deletedoor
513 Button1 = s     : all                   : f.menu "Applications"
514 Button2 = s     : title | window        : f.move
515 # Don't want to define next: idraw uses that button...
516 #Button3 = s   : all                    : f.menu "Applications"
517 Button1 = m    : all                    : f.menu "WindowSettings"
518 Button2 = m    : title | window         : f.forcemove
519 Button3 = m    : title | icon | iconmgr : f.lower
520 #Button1   = m  : window | icon     : f.function "move-or-lower"
521 #Button2   = m  : window | icon     : f.iconify
522 #Button3   = m  : window | icon     : f.function "move-or-raise"
523 #Button2   = : title : f.raiselower
524 #Button1   = : icon   : f.function "move-or-iconify"
525
526 #"F1"   =       : all                   : f.iconify
527 "F2"    =       : all                   : f.function "xvi"
528 #"F2"   =       : all                   : f.raiselower
529 #"F3"   =       : all                   : f.warpring "next"
530 #"F4"   =       : all                   : f.warpto "xmh"
531 #"F5"   =       : all                   : f.warpto "emacs"
532 "F6"    =       : title | window        : f.iconify
533 #"F6"   =       : all                   : f.colormap "next"
534 #"F7"   =       : all                   : f.colormap "default"
535 "F9"    =       : all                   : f.warpto "idraw"
536 "F10"   =       : all                   : f.warpring "next"
537 "F11"   =       : all                   : f.warpring "prev"
538 "F14"   =       : all                   : f.function "xlock"
539 #"F20"  =       : all                   : f.warptoscreen "next"
540
541 "Delete" = m c  : title | window        : f.destroy
542
543 "Left"  =       : iconmgr               : f.lefticonmgr         # f.backiconmgr
544 "Right" =       : iconmgr               : f.righticonmgr        # f.forwiconmgr
545 "Down"  =       : iconmgr               : f.downiconmgr
546 "Up"    =       : iconmgr               : f.upiconmgr
547 "Left"  = m     : all                   : f.backiconmgr
548 "Right" = m     : all                   : f.forwiconmgr
549 "Up"    = m     : all                   : f.upiconmgr
550 "Down"  = m     : all                   : f.downiconmgr
551 #
552 # VTWM Desktop Scroll
553 #
554 "Left"  =       : root                  : f.panleft "100"
555 "Right" =       : root                  : f.panright "100"
556 "Up"    =       : root                  : f.panup "100"
557 "Down"  =       : root                  : f.pandown "100"
558 "Left"  = s     : all                   : f.panleft "100"
559 "Right" = s     : all                   : f.panright "100"
560 "Up"    = s     : all                   : f.panup "100"
561 "Down"  = s     : all                   : f.pandown "100"
562 #
563 # TVTWM Desktop Scroll
564 #
565 #"Left" =       : root                  : f.scrolleft
566 #"Right"        =       : root                  : f.scrollright
567 #"Up"   =       : root                  : f.scrollup
568 #"Down" =       : root                  : f.scrolldown
569 #"Left" = s     : all                   : f.scrolleft
570 #"Right"        = s     : all                   : f.scrollright
571 #"Up"   = s     : all                   : f.scrollup
572 #"Down" = s     : all                   : f.scrolldown
573
574
575 #
576 # Fuctions defined for Buttons
577 #---------------------------------------------------------------------
578 Function "focus_and_raise" { f.focus f.raise }
579 Function "xlock"           { !"xlock -mode swarm -font '8x13' &" }
580 Function "xvi"             { !"xvi &" }
581 Function "move-or-lower" { f.move f.deltastop f.lower }
582 Function "move-or-raise" { f.move f.deltastop f.raise }
583 Function "move-or-iconify"  { f.move f.deltastop f.iconify }
584 Function "restore-colormap" { f.colormap "default" f.lower }
585
586
587 ######################################################################
588 # Menus
589 ######################################################################
590 # (default font and geometry for "xterm" are defined in ~/.Xdefaults)
591 #---------------------------------------------------------------------
592
593 menu "Applications" {
594     "Applications"      ("black":"yellow")      f.title
595     "Lock"                      f.function "xlock"
596     "Xterm"                     !"xterm -geometry =80x24 &"
597     "nn"                ("black":"yellow")      !"xnn &"
598     ""                          f.nop
599     "Misc. Appl."               f.menu "MiscAppl"
600     "Window Manager"            f.menu "WindowManager"
601     "XSettings"                 f.menu "XSettings"
602     "WindowSettings"    ("black":"cyan") f.menu "WindowSettings"
603     "TWM Windows"               f.menu "TWM Windows"
604     "TwmWindows"                f.menu "TwmWindows"
605     "Rlogins"                   f.menu "Rlogins"
606     "Colors"                    f.menu "Colors"
607     "Xterms"            ("white":"green")       f.menu "Xterms"
608     "File"                      f.file "/vtwm.file"
609 }
610
611 menu "WindowManager" {
612     "Window Manager"            f.title
613     "Refresh"                   f.refresh
614     "Refresh Desktop"           f.resetdesktop
615     "Hide Icon Manager"         f.hideiconmgr
616     "Show Icon Manager"         f.showiconmgr
617     "Sort Icon Manager"         f.sorticonmgr
618     "Hide Virtual Desktop"      f.hidedesktopdisplay
619     "Show Virtual Desktop"      f.showdesktopdisplay
620     "Toggle Virtual Geometries" f.virtualgeometries
621     "Create Door"               f.newdoor
622     "Delete Door"               f.deletedoor
623     "Focus on Root"             f.unfocus
624     "Toggle Autopan"            f.autopan
625     "Restart Twm"               f.twmrc                 # f.restart
626     "TWM keys"                  !"xtwmkeys &"
627     "Backdrops"                 !"xsetbg `xfiles /usr/local/X11/local/bitmaps`&"
628     "Version"                   f.version
629     "Exit Twm"                  f.quit
630 }
631
632 menu "WindowSettings" {
633     "Window Settings"   ("black":"cyan")        f.title
634     "Refresh"                   f.winrefresh
635     "AutoRaise"                 f.autoraise
636     "Raise"                     f.raise
637     "Lower"                     f.lower
638     "Focus"                     f.focus                 # f.unfocus
639     "Focus&Raise"               f.function "focus_and_raise"
640     "Move"                      f.move
641     "ForceMove"                 f.forcemove
642     "Resize"                    f.resize
643     "Identify"                  f.identify
644     "Iconify"                   f.iconify
645     "Zoom"                      f.menu "Zoom"
646     "Toggle in WarpRing"        f.ring
647     "Toggle Nail"               f.nail
648     "Squeeze Title Center"      f.squeezecenter
649     "Squeeze Title Left"        f.squeezeleft
650     "Squeeze Title Right"       f.squeezeright
651     "Quit"                      f.delete
652     "Destroy"                   f.destroy
653 }
654
655 menu "Zoom" {
656     "FullZoom"                  f.fullzoom
657     "LeftZoom"                  f.leftzoom              # f.vlzoom
658     "RightZoom"                 f.rightzoom             # f.vrzoom
659     "TopZoom"                   f.topzoom               # f.htzoom
660     "BottomZoom"                f.bottomzoom            # f.hbzoom
661     "VerticalZoom"              f.zoom
662     "HorizontalZoom"            f.horizoom              # f.hzoom
663 }
664
665 menu "MiscAppl" {
666     "Misc. Appl."               f.title
667     ""                          f.nop
668 #    "nn"               ("black":"yellow") !"xnn &"
669 #    "idraw"                    !"idraw &"
670     "calc"                      !"xcalc -rv &"
671 #    "news"                     !"xrn &"
672     "man"                       !"xman &"
673     "fonts"                     !"xfbrows &"
674 #    "archie"                   !"xarchie &"
675     "bricks"                    !"xsetroot -bitmap /usr/local/X11/local/bitmaps/wall.xbm&"
676 #    "swarm"                    !"xswarm &"
677     "clock"                     !"xclock &"
678     "biff"                      !"xbiff &"
679     "load"                      !"xload &"
680 #    "vi"                       f.function "xvi"
681 }
682
683 menu "XSettings" {
684     "XSettings"                 f.title
685     ""                          f.nop
686     "Bell Loud"                 !"xset b 100&"
687     "     Normal"               !"xset b 50&"
688     "     Off"                  !"xset b off&"
689     "     High"                 !"xset b 50 880&"
690     "     Medium"               !"xset b 50 440&"
691     "     Low"                  !"xset b 50 220&"
692     "Click Loud"                !"xset c 80&"
693     "      Normal"              !"xset c 40&"
694     "      Off"                 !"xset c off&"
695     "Lock On"                   !"xset l on&"
696     "     Off"                  !"xset l off&"
697     "Mouse Fast"                !"xset m 4 2&"
698     "      Normal"              !"xset m 2 5&"
699     "      Slow"                !"xset m 1 1&"
700 }
701
702 menu "Colors" {
703     "Colors"                    f.title
704     "Next"                      f.colormap "next"
705     "Previous"                  f.colormap "prev"
706     "Default"                   f.colormap "default"
707 }
708
709 # xterm-options:
710 # The "-name" specifies the name that applies to resources in ~/.Xdefaults
711 # The "-n"    specifies the name that appears in the icon
712 # The "-title" or "-T" specifies the name that appears in the titlebar
713 # icon-name and title are default set to the name of the executable (i.e.
714 # "xterm") or set to the name of the executable after the "-e" option or
715 # set to the name after the "-name" option
716
717 menu "Xterms" {
718     "Xterms"                    f.title
719     ""                          f.nop
720     "xterm -fn 6x13"            !"xterm -fn 6x13 -geometry =80x24 &"
721     "xterm -fn 8x13"            !"xterm -fn 8x13 -geometry =80x24 &"
722     "xterm -fn 9x15"            !"xterm -fn 9x15 -geometry =80x24 &"
723 }
724
725 menu "Rlogins" {
726     "Rlogins"                   f.title
727     "Local"                     !"xterm -T `hostname` &"
728     ""                          f.nop
729     "baldrick"          ("black":"green") !"xterm -T baldrick -e rlogin baldrick &"
730     "bean"                      ("black":"green") !"xterm -T bean -e rlogin bean &"
731     "percy"                     ("black":"green") !"xterm -T percy -e rlogin percy &"
732     ""                          f.nop
733     "SUN4s"                     f.menu "SUN4s"
734     "SUN3s"                     f.menu "SUN3s"
735     ""                          f.nop
736     "Telnet"            ("black":"yellow") !"xterm -name telnet -e telnet &"
737 }
738
739 menu "SUN4s" {
740     "SUN4s" f.title
741     ""                          f.nop
742     "baldrick"          ("black":"green") !"xterm -T baldrick -e rlogin baldrick &"
743     "bean"              ("black":"green") !"xterm -T bean -e rlogin bean &"
744 }
745
746 menu "SUN3s" {
747     "SUN3s" f.title
748     ""                          f.nop
749     "percy"             ("black":"green") !"xterm -T percy -e rlogin percy &"
750     "darling"           ("black":"green") !"xterm -T darling -e rlogin darling &"
751     "bob"               ("black":"green") !"xterm -T bob -e rlogin bob &"
752 }
753
754