-
Notifications
You must be signed in to change notification settings - Fork 1
/
.twmrc
832 lines (745 loc) · 20.9 KB
/
.twmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
#
# .twmrc - local startup for twm
#
# Original derived from:
# @(#)XConsortium: system.twmrc,v 1.8 91/04/23 21:10:58 gildea Exp
#
#ident "@(#)HOME:.twmrc 37.5 24/11/10 14:58:36 (woods)"
#
AutoRelativeResize
DecorateTransients
NoGrabServer
NoRaiseOnMove
NoRaiseOnResize
RandomPlacement
OpaqueMove
RestartPreviousState
IconRegion "500x250-0+400" NORTH EAST 25 25
# Can only be one directory! Uses resource bitmapFilePath first...
#
IconDirectory "~/lib/bitmaps"
Zoom 12
# xxx better to let .fonts.alias remap the defaults to the right resolution
# N.B. these will probably only work when twm is started with LC_ALL=C:
#
TitleFont "-*-helvetica-bold-r-normal-*-*-100-*-*-*-*-iso8859-1"
ResizeFont "-*-courier-bold-r-normal-*-*-360-*-*-*-*-*-*"
MenuFont "-*-helvetica-medium-r-normal-*-*-90-*-*-*-*-iso8859-1"
IconFont "-*-helvetica-medium-r-normal-*-*-80-*-*-*-*-iso8859-1"
IconManagerFont "-*-helvetica-medium-r-normal-*-*-80-*-*-*-*-iso8859-1"
#
# XXX else only run TWM on ~100dpi screens (e.g. these are ok for iMac 27")
# note these will work with LANG=en_US.UTF-8
#
#TitleFont "-*-DejaVu Serif-medium-r-normal--0-100-0-0-p-*-iso10646-1"
#ResizeFont "-*-courier-bold-r-normal-*-*-360-0-0-*-*-*-*"
#MenuFont "-*-DejaVu Sans-medium-r-normal--0-90-0-0-p-*-iso10646-1"
#IconFont "-*-DejaVu Sans-medium-r-normal--0-80-0-0-p-*-iso10646-1"
#IconManagerFont "-*-DejaVu Sans-medium-r-normal--0-80-0-0-p-*-iso10646-1"
# DefaultFunction must come after fonts....
DefaultFunction f.beep
Monochrome {
BorderColor "grey50"
DefaultBackground "grey98"
DefaultForeground "grey6"
IconBorderColor "grey50"
}
# some older versions don't support this:
#
Grayscale {
BorderColor "grey70"
DefaultBackground "grey98"
DefaultForeground "grey6"
TitleBackground "white"
TitleForeground "gray95"
MenuBackground "white"
MenuForeground "grey95"
MenuTitleBackground "grey70"
MenuTitleForeground "white"
IconBackground "grey25"
IconForeground "grey85"
IconBorderColor "grey50"
IconManagerBackground "white"
IconManagerForeground "grey95"
IconManagerHighlight "grey25"
}
Color {
# some older versions don't have these...
PointerForeground "black"
PointerBackground "white"
BorderColor "grey70" {
"xload" "red"
"xnetload" "red"
"xcpustate" "red"
"XSysStats" "red"
"xosview" "red"
"xclock" "orange"
"xcpustate" "yellow"
}
# docs lie -- these don't exist:
# BorderTitleBackground "blue"
# BorderTitleForeground "LightBlue"
DefaultBackground "LightSteelBlue"
DefaultForeground "SteelBlue"
TitleBackground "blue"
TitleForeground "white"
MenuBackground "DarkGreen"
MenuForeground "white"
MenuTitleBackground "DarkSeaGreen"
MenuTitleForeground "white"
MenuShadowColor "gray50"
IconBackground "blue4"
IconForeground "yellow"
IconBorderColor "gray50"
IconManagerBackground "blue4"
IconManagerForeground "white"
IconManagerHighlight "yellow"
}
IconManagers {
# xxx mostly keeps it out of the way of xloads on iMac 27"
"xterm" "=250x100-320+0" 1
}
IconifyByUnmapping {
"xterm"
}
IconManagerShow {
"xterm"
}
# xxx hmmm... this must be just a boolean, with IconManagerShow?
IconManagerDontShow
# {
# "oclock"
# "xclock"
# "swisswatch"
# "swissclock"
# "xcpustate"
# "xeyes"
# "xload"
# "xnetload"
# "xlogo"
# "xbiff"
# "xbuffy"
# "XSysStats"
# "xosview"
#}
UnknownIcon "star"
Icons {
"Untitled" "xlogo16"
"xcmap" "plaid"
"XConsole" "terminal"
}
Cursors {
Frame "top_left_arrow"
Title "top_left_arrow"
Icon "top_left_arrow"
IconMgr "top_left_arrow"
Move "fleur"
Resize "fleur"
Menu "sb_left_arrow"
Button "hand2"
Wait "watch"
Select "target"
Destroy "pirate"
}
NoTitle {
"asclock"
"lmclock"
"oclock"
"swissclock"
"swisswatch"
"xbiff"
"xbuffy"
"xclock"
"xcpustate"
"xeyes"
"xload"
"xlogo"
"xnetload"
"xosview"
"XSysStats"
"xv"
"xwud"
}
NoHighlight {
"swissclock"
"swisswatch"
"xbiff"
"xbuffy"
"xchrono"
"xclock"
"xeyes"
"xload"
"xlogo"
"xnetload"
"xosview"
"XSysStats"
}
WarpCursor {
"emacs" # damn thing gets a resource name based on argv[0]!
"Links"
"xcalc"
"xcalendar"
"xclipboard"
"xcutsel"
"xedit"
"xftp"
"xmahjongg"
"xmail"
"xman"
"xmh"
"xhelp"
"xrn"
"xshell"
"xtalk"
"xterm"
}
# xxx twm doesn't have WindowRingExclude, sigh....
WindowRing {
"emacs"
"Links"
"xcalc"
"xcalendar"
"xclipboard"
"xcutsel"
"xedit"
"xftp"
"xmahjongg"
"xmail"
"xman"
"xmh"
"xhelp"
"xrn"
"xshell"
"xtalk"
"xterm"
}
# Define some useful functions for motion-based actions.
#
MoveDelta 4
Function "deiconify-and-raise" { f.deiconify f.raise }
Function "move-or-lower" { f.move f.deltastop f.lower }
Function "move-or-raise" { f.move f.deltastop f.raise }
Function "move-or-iconify" { f.move f.deltastop f.iconify }
# Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
#
# Note "mod2" here means the "command" key on OSX Xquartz
# Note "meta" here means the "option" key on OSX Xquartz
# Note "shift" needs to be quoted to avoid being seen as an m4 macro
#
#Button = KEYS : CONTEXT : FUNCTION
#-------------------------------------------------
Button1 = : root : f.menu "quickies"
Button2 = : root : f.menu "TwmWindows"
Button3 = : root : f.menu "defops"
Button1 = control : root : f.menu "TwmWindows"
Button2 = control : root : f.menu "winops"
Button3 = control : root : f.menu "preferences"
Button1 = meta : root : f.menu "applications"
Button2 = meta : root : f.menu "preferences"
Button3 = meta : root : f.menu "wmops"
Button1 = mod2 : root : f.menu "applications"
Button2 = mod2 : root : f.menu "preferences"
Button3 = mod2 : root : f.menu "wmops"
Button1 = shift : root : f.menu "xterms"
Button2 = shift : root : f.menu "consoles"
Button3 = shift : root : f.menu "applications"
Button1 = meta : window|icon : f.function "move-or-raise"
Button2 = meta : window|icon : f.function "move-or-iconify"
Button3 = meta : window|icon : f.function "move-or-lower"
Button1 = : title : f.function "move-or-raise"
Button2 = : title : f.raiselower
Button3 = : title : f.lower
Button1 = : icon : f.function "move-or-iconify"
Button2 = : icon : f.iconify
Button3 = : icon : f.lower
Button1 = : iconmgr : f.function "deiconify-and-raise"
Button1 = shift : iconmgr : f.raise
Button1 = control : iconmgr : f.raise
Button1 = mod2 : iconmgr : f.iconify
Button2 = : iconmgr : f.raiselower
Button2 = mod2 : iconmgr : f.lower
"Return"= : iconmgr : f.iconify
"F16" = : iconmgr : f.iconify
"F17" = : iconmgr : f.raiselower
"Left" = : iconmgr : f.backiconmgr
"Right" = : iconmgr : f.forwiconmgr
"Up" = : iconmgr : f.upiconmgr
"Down" = : iconmgr : f.downiconmgr
"Help" = : root : f.version
"F19" = : root : f.version
# xxx try out <cmd>-Tab ala macos.... (this key sequence doesn't seem to be
# needed for emacs or xterm)
#
"Tab" = mod2 : all : f.warpring "next"
"Tab" = mod2|shift : all : f.warpring "prev"
#"m" = mod2 : all : f.iconify
# for xterms menus
#
function "start-local-uxterm" {
f.exec "eval uxterm ${XTERM_LITTLE_OPTS} ${XTERM_OPTS} ${XTERM_LOGIN_OPTS} &"
}
function "start-x11server-uxterm" {
f.exec "set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" \"uxterm ${XTERM_LITTLE_OPTS} ${XTERM_OPTS}\" &"
}
function "start-local-uxterm-big" {
f.exec "eval uxterm ${XTERM_BIG_OPTS} ${XTERM_OPTS} ${XTERM_LOGIN_OPTS} &"
}
function "start-x11server-uxterm-big" {
f.exec "set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" \"uxterm ${XTERM_BIG_OPTS} ${XTERM_OPTS}\" &"
}
# for xv menu
#
function "start-local-xv" {
f.exec "${X11BIN}/xv &"
}
function "start-x11server-xv" {
f.exec "set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" xv &"
}
# for emacs menu
#
function "start-local-emacs" {
f.exec "${MY_EMACS} -i &"
}
function "start-x11server-emacs" {
f.exec "set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" ${MY_EMACS} &"
}
# for ghostviews menu
#
function "start-local-ghostview" {
f.exec "${X11BIN}/ghostview &"
}
function "start-x11server-ghostview" {
f.exec "set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" ghostview &"
}
# for WWW menu
#
function "start-local-mosaic" {
f.exec "$LOCAL/bin/Mosaic &"
}
function "start-local-mosaic-mono" {
f.exec "$LOCAL/bin/Mosaic -mono &"
}
function "start-x11server-mosaic" {
f.exec "set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" Mosaic &"
}
function "start-x11server-mosaic-mono" {
f.exec "set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" Mosaic -mono &"
}
# for www-netscape menu
#
function "start-local-netscape" {
f.exec "$LOCAL/bin/netscape &"
}
function "start-x11server-netscape" {
f.exec "set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" netscape &"
}
# for www-netscape-96 menu
#
function "start-local-netscape-96" {
f.exec "$LOCAL/bin/netscape -ncol 96 &"
}
function "start-x11server-netscape-96" {
f.exec "set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" netscape -ncol 96 &"
}
# for www-netscape-cmap menu
#
function "start-local-netscape-cmap" {
f.exec "$LOCAL/bin/netscape -install &"
}
function "start-x11server-netscape-cmap" {
f.exec "set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" netscape -install &"
}
#
# And the menus, with all of the usual things...
#
menu "quickies"
{
"Short Cuts" f.title
"Move" f.move
"Resize" f.resize
"Lower" f.lower
"Raise" f.raise
"Iconify" f.iconify
"Identify" f.identify
"" f.nop
"WinDelete" f.delete
"Kill" f.menu "kill"
"" f.nop
"UXterm" f.function "start-local-uxterm"
"UXterm-big" f.function "start-local-uxterm-big"
"UXterm @x11server" f.function "start-x11server-uxterm"
"UXterm-big @x11server" f.function "start-x11server-uxterm-big"
"" f.nop
"Emacs" f.function "start-local-emacs"
"Emacs @x11server" f.function "start-x11server-emacs"
"" f.nop
"Xtalk" !"xtalk &"
"Xalarm" !"alarm &"
"" f.nop
"Screen Refresh" f.refresh
"Window Refresh" f.winrefresh
"Save" f.saveyourself
"" f.nop
"Xlock" !"xlock -mode flame &"
"" f.nop
"Exit..." f.menu "exit"
}
menu "defops"
{
"Twm" f.title
"Window Operations..." f.menu "winops"
"Window Manager..." f.menu "wmops"
"" f.nop
"Applications..." f.menu "applications"
"Preferences..." f.menu "preferences"
"" f.nop
"Exit..." f.menu "exit"
}
menu "winops"
{
"Window Operations" f.title
"Move" f.move
"Resize" f.resize
"" f.nop
"Raise" f.raise
"Lower" f.lower
"Circle Up" f.circleup
"Circle Down" f.circledown
"" f.nop
"Zoom..." f.menu "zooms"
"" f.nop
"Refresh" f.winrefresh
"Save" f.saveyourself
"Identify" f.identify
"" f.nop
"Iconify" f.iconify
"DeIconify" f.deiconify
"" f.nop
"Focus" f.focus
"Unfocus" f.unfocus
"" f.nop
"Delete" f.delete
"" f.nop
"Kill" f.destroy
}
menu "wmops"
{
"Window Manager" f.title
"Icon Manager..." f.menu "iconmgr"
"Window Summary..." f.menu "TwmWindows"
"" f.nop
"Refresh" f.refresh
"" f.nop
"Restart" f.restart
"Start CTWM" f.startwm "ctwm -v -k -K $HOME/.ctwmrc.m4out -W"
"" f.nop
"Version" f.version # note: not documented!
}
menu "zooms"
{
"Window Zooms" f.title
"Top-to-bottom" f.zoom
"Full-Screen" f.fullzoom
"To-the-Left" f.leftzoom
"To-the-Right" f.rightzoom
"To-the-Top" f.topzoom
"To-the-Bottom" f.bottomzoom
}
menu "iconmgr"
{
"Icon Manager" f.title
"Show Iconmgr" f.showiconmgr
"Hide Iconmgr" f.hideiconmgr
"Sort" f.sorticonmgr
}
# "personal preference" adjustments
menu "preferences"
{
"Preferences" f.title
"Viewres" !"viewres &"
"Editres" !"editres &"
"Query" !"xset q"
"Xkeycaps" !"xkeycaps &"
"Auto Repeat On" !"xset r on"
"Auto Repeat Off" !"xset r off"
"Bell On" !"xset b 100 800"
"Bell Off" !"xset b 0"
"Click On" !"xset c on"
"Click Off" !"xset c off"
"Mouse Fast" !"xset m 9 5"
"Mouse Normal" !"xset m 6 3"
"Mouse Slow" !"xset m 1 1"
"Mouse Default" !"xset m default"
"Bug Compat On" !"xset bc"
"Bug Compat Off" !"xset -bc"
"ReHash FP" !"xset fp rehash"
"Colour Map Ctl..." f.menu "cmap"
"Screen Saver..." f.menu "screensaver"
"Keyboard LEDs..." f.menu "leds"
}
menu "cmap"
{
"Colour Map Control" f.title
"View Default Map" !"xcmap &"
"" f.nop
"Set All" !"xstdcmap -all -verbose &"
"Set Best" !"xstdcmap -best -verbose &"
"Set Default" !"xstdcmap -default -verbose &"
"Set Grey" !"xstdcmap -gray -verbose &"
"Set Red" !"xstdcmap -red -verbose &"
"Set Green" !"xstdcmap -green -verbose &"
"Set Blue" !"xstdcmap -blue -verbose &"
"" f.nop
"Delete default" !"xstdcmap -delete default -verbose &"
"Delete best" !"xstdcmap -delete best -verbose &"
"Delete grey" !"xstdcmap -delete gray -verbose &"
"Delete red" !"xstdcmap -delete red -verbose &"
"Delete green" !"xstdcmap -delete green -verbose &"
"Delete blue" !"xstdcmap -delete blue -verbose &"
}
menu "screensaver"
{
"Screen Saver Features" f.title
"Set Timer..." f.menu "screensavertime"
"Enable" !"xset s on"
"Disable" !"xset s off"
"Use Video Blanking" !"xset s blank"
"Use Background Pattern" !"xset s noblank"
"" f.nop
"Set Defaults" !"xset s default"
}
menu "screensavertime"
{
"Enable Screen Saver after:" f.title
"5 sec" !"xset s 5"
"30 sec" !"xset s 30"
"1 min" !"xset s 60"
"5 min" !"xset s 300"
"10 min" !"xset s 600"
"15 min" !"xset s 900"
}
menu "leds"
{
"Keyboard LED Control" f.title
"all on" !"xset led on"
"all off" !"xset led off"
"1 on" !"xset led 1"
"1 off" !"xset -led 1"
"2 on" !"xset led 2"
"2 off" !"xset -led 2"
"3 on" !"xset led 3"
"3 off" !"xset -led 3"
"4 on" !"xset led 4"
"4 off" !"xset -led 4"
}
menu "kill"
{
"Kill X Application" f.title
"Select confirm to kill." f.nop
"" f.nop
" No...." f.nop
" Confirm...." f.destroy
}
menu "exit"
{
"Exit TWM" f.title
"Select confirm to end your session." f.nop
"" f.nop
" No...." f.nop
" Confirm...." f.quit
}
menu "applications"
{
"Applications" f.title
"Xterm's Everywhere..." f.menu "xterms"
"GhostView's Everywhere..." f.menu "ghostviews"
"WWW Everywhere..." f.menu "www"
"Xv Everywhere..." f.menu "xvs"
"Emacs Everywhere..." f.menu "emacs"
"Monitors..." f.menu "monitors"
"Locks..." f.menu "locks"
"Backgrounds..." f.menu "backgrounds"
"Audio Tools..." f.menu "audios"
"Miscellaneous..." f.menu "miscapps"
"Games..." f.menu "games"
}
menu "audios"
{
"Audio Tools" f.title
"audemo" !"cd $HOME/lib/sounds; audemo &"
"auedit" !"auedit &"
"aupanel" !"aupanel &"
"auphone" !"auphone &"
"auwave" !"auwave &"
"" f.nop
"xcdplayer" !"xcdplayer &"
"xmcd" !"xmcd &"
}
menu "miscapps"
{
"Miscellaneous Applications" f.title
"xhelp" !"xhelp &"
"xpaint" !"xpaint &"
"xshell" !"xshell &"
"xedit" !"xedit &"
"xmail" !"xmail &"
"xmh" !"xmh &"
"xman" !"xman &"
"xtalk" !"xtalk &"
"xcalc" !"xcalc &"
"xcalendar" !"xcalendar &"
"xalarm" !"xalarm &"
"xclipboard" !"xclipboard &"
"xcutsel" !"xcutsel &"
"xdpr" !"xdpr -device ps &"
"xmag" !"xmag &"
"xditview" !"xditview &"
"xfontsel" !"xfontsel &"
"xcmap" !"xcmap &"
"xkeycaps" !"xkeycaps &"
}
menu "xvs"
{
"XV" f.title
"@localhost" f.function "start-local-xv"
"@x11server" f.function "start-x11server-xv"
}
menu "emacs"
{
"Emacsen" f.title
"@localhost" f.function "start-local-emacs"
"@x11server" f.function "start-x11server-emacs"
}
menu "monitors"
{
"Monitors" f.title
"xclock" !"xclock -geometry 190x190-4+4 &"
"xclock -digital" !"xclock -geometry 190x30-4+196 -digital &"
"swissclock" !"swisswatch -name swissclock -geometry 190x190-4+4 &"
"" f.nop
"xbiff" !"xbiff -rv -bw 0 &"
"xbiff @x11server" !"set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" \"xbiff -rv -bw 0\" &"
"xlbiff" !"xlbiff &"
"xbuffy" !"xbuffy -geometry 90x30-4+260 -shortnames -header 5 &"
"xbuffy @x11server" !"set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" \"xbuffy -mail $MAIL -geometry 90x30-4+260 -shortnames -header 5\" &"
"xmailwatcher" !"xmailwatcher -geometry 300x100-4+240 -iconic -icongeometry -4+235 -iconic -mailbox $MAIL &"
"xmailwatcher @x11server" !"set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" \"xmailwatcher -geometry 300x100-4+235 -iconic -icongeometry -4+235 -iconic -mailbox $MAIL\" &"
"" f.nop
"xload" !"xload -geometry 120x137-205+4 -hl grey90 &"
"xload @x11server" !"set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" \"xload -geometry 120x137-205+150 -hl grey90\" &"
"xosview" !"xosview -geometry 120x137-205+4 &"
"xosview @x11server" !"set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" \"xosview -hl grey90\" &"
"xcpustate" !"xcpustate -geometry 190x20-4+230 -shorten 1 -wait -cpu -disk &"
"xcpustate @x11server" !"set -i; . ./.shrc; onx11server -n -X \"${X11SERVER}\" \"xcpustate -geometry 190x20-4+230 -shorten 1 -wait -cpu -disk\" &"
"" f.nop
"xnetload localhost" !"xnetload -hl grey90 -scale 0 -label 'local netload' localhost &"
"xnetload @xdmhost" !"xnetload -hl grey90 -scale 0 -label ${XDMHOST}-net ${XDMHOST} &"
"" f.nop
"tkined" !"tkined &"
}
menu "locks"
{
"Locks" f.title
"xlock" !"xlock -mode flame &"
"xlock remote" !"xlock -remote -mode flame &"
"OpenWin-2 xlock" !"env LD_LIBRARY_PATH=/usr/openwin/lib:/usr/lib xlock -mode qix &"
}
menu "backgrounds"
{
"Backgrounds" f.title
"xearth" !"xearth -bigstars 10 -pos fixed,43.36,-79.40 -label -labelpos +1+1 -grid -wait 900 -nice 10 &"
"xearth nogrid" !"xearth -bigstars 10 -pos fixed,43.36,-79.40 -label -labelpos +1+1 -wait 900 -nice 10 &"
"xearth orbiting" !"xearth -bigstars 10 -pos orbit,0.1,0 -rot 10 -label -labelpos +1+1 -grid -wait 900 -nice 10 &"
"xearth orbiting fast" !"xearth -bigstars 10 -pos orbit,0.1,0 -rot 10 -label -labelpos +1+1 -grid -nice 10 &"
"xearth -gamma 1.7" !"xearth -gamma 1.7 -bigstars 10 -pos fixed,43.36,-79.40 -label -labelpos +1+1 -grid -wait 900 -nice 10 &"
"xearth -gamma 1.7 nogrid" !"xearth -gamma 1.7 -bigstars 10 -pos fixed,43.36,-79.40 -label -labelpos +1+1 -wait 900 -nice 10 &"
"xearth -gamma 1.7 orbiting" !"xearth -gamma 1.7 -bigstars 10 -pos orbit,0.1,0 -rot 10 -label -labelpos +1+1 -grid -wait 900 -nice 10 &"
"xearth -gamma 1.7 orbiting fast" !"xearth -gamma 1.7 -bigstars 10 -pos orbit,0.1,0 -rot 10 -label -labelpos +1+1 -grid -nice 10 &"
"xearth on greyscale" !"xearth -gamma 1.6 -night 15 -bigstars 10 -pos fixed,43.36,-79.40 -label -labelpos +1+1 -grid -wait 900 -nice 10 &"
"xearth on mono" !"xearth -mono -night 15 -bigstars 10 -pos fixed,43.36,-79.40 -label -labelpos +1+1 -grid -wait 900 -nice 10 &"
"xphoon" !"xphoon -t 10 &"
"xsetroot eschernknot" !"xsetroot -bitmap ${X11PATH}/include/X11/bitmaps/escherknot"
"xsetroot xsnow" !"xsetroot -bitmap ${X11PATH}/include/X11/bitmaps/xsnow"
}
menu "ghostviews"
{
"GhostView" f.title
"@localhost" f.function "start-local-ghostview"
"@x11server" f.function "start-x11server-ghostview"
}
menu "www"
{
"WWW Browsers Everywhere!" f.title
"Mosaic..." f.menu "www-mosaic"
"Mosaic Monochrome..." f.menu "www-mosaic-mono"
"" f.nop
"Netscape..." f.menu "www-netscape"
"Netscape -ncol 96..." f.menu "www-netscape-96"
"Netscape -install cmap..." f.menu "www-netscape-cmap"
}
menu "www-mosaic"
{
"Mosaic WWW Browsers Everywhere!" f.title
"@localhost" f.function "start-local-mosaic"
"@x11server" f.function "start-x11server-mosaic"
}
menu "www-mosaic-mono"
{
"Mosaic Monochrome WWW Browsers Everywhere!" f.title
"@localhost" f.function "start-local-mosaic-mono"
"@x11server" f.function "start-x11server-mosaic-mono"
}
menu "www-netscape"
{
"Netscape WWW Browsers Everywhere!" f.title
"@localhost" f.function "start-local-netscape"
"@x11server" f.function "start-x11server-netscape"
}
menu "www-netscape-96"
{
"Netscape WWW Browsers for 8-bit displays." f.title
"@localhost" f.function "start-local-netscape-96"
"@x11server" f.function "start-x11server-netscape-96"
}
menu "www-netscape-cmap"
{
"Netscape WWW Browsers with their own colour map." f.title
"@localhost" f.function "start-local-netscape-cmap"
"@x11server" f.function "start-x11server-netscape-cmap"
}
menu "games"
{
"X11 Games" f.title
"ACM" !"acm &"
"Spider" !"spider &"
"XPipeMan" !"xpipeman &"
"Xsol" !"xsol -r &"
"Xsol for colour" !"xsol +r &"
"OpenWin Xsol" !"env LD_LIBRARY_PATH=/usr/openwin/lib:/usr/lib /usr/openwin/demo/xsol -r &"
"Xtetris" !"xtetris -bw &"
"Xtetris for colour" !"xtetris -color &"
"vine" !"vine -e &"
"vine -w" !"vine -w &"
"xminesweep" !"xminesweep &"
"" f.nop
"Xeyes" !"xeyes &"
"Xgc" !"xgc &"
"Xgas" !"xgas &" # xxx gone?
"Xlogo" !"xlogo &"
"ico" !"ico &"
# ico(1): "Color allocation fails in TrueColor displays and option
# -faces does not work well."
"ico cube" !"ico -sleep 0.02 -obj cube -faces -colors red &"
"ico ico" !"ico -sleep 0.02 -obj ico -faces -colors green &"
"ico octa" !"ico -sleep 0.02 -obj octa -faces -colors blue &"
"ico pyramid" !"ico -sleep 0.02 -obj pyramid -faces -colors yellow &"
"ico plane" !"ico -sleep 0.02 -obj pyramid -faces -colors purple &"
"maze" !"maze &" # xxx gone?
"puzzle" !"puzzle &" # xxx gone?
}
menu "xterms"
{
"Xterm's Everywhere" f.title
"UXterm @localhost" f.function "start-local-uxterm"
"UXterm @x11server" f.function "start-x11server-uxterm"
}