#********************************************************************** # # Bits of this have been borrowed from prb12. # Modified 6/93 sac #********************************************************************** Color { BorderColor "blue" BorderTileForeground "cornflowerblue" BorderTileBackground "cornflowerblue" TitleForeground "LightSkyBlue1" # TitleBackground "#000070" TitleBackground "#000070" { "nape" "firebrick" "lelaps" "firebrick" "nene" "firebrick" "ely" "firebrick" "ashby" "firebrick" "lundy" "midnightblue" "bailey" "midnightblue" "dogger" "midnightblue" "rockall" "midnightblue" "scilly" "midnightblue" "irishsea" "midnightblue" "cromarty" "midnightblue" "ouse" "ForestGreen" "styx" "ForestGreen" "labes" "ForestGreen" "sticte" "ForestGreen" "dorceus" "ForestGreen" "lachne" "ForestGreen" } MenuForeground "white" MenuBackground "CadetBlue" MenuTitleForeground "white" MenuTitleBackground "CornFlowerBlue" MenuShadowColor "black" IconForeground "white" IconBackground "cadetblue4" IconBorderColor "green" IconManagerForeground "white" IconManagerBackground "MidnightBlue" { "xscons" "SteelBlue" "Mosaic" "MediumPurple2" "Calendar" "turquoise4" "Library" "turquoise3" "login" "MediumPurple3" "ghostview" "MediumSlateBlue" "xdvi" "LightSlateBlue" "xterm" "CornFlowerBlue" "Keyboard" "MediumPurple2" "xab" "DeepSkyBlue" "xmh" "DeepSkyBlue" "xrn" "Slateblue3" "xpostit" "yellow" "PostItNote" "yellow" "emacs" "SlateBlue" "xwcons" "SteelBlue" "Session Manager" "SlateBlue4" "xcd" "BlueViolet" "xcoffee" "aquamarine3" "dxbook" "turquoise3" "Calc" "turquoise2" "xcalc" "turquoise2" "Tgif" "Slateblue2" } DeskTopDisplayBackground "MidnightBlue" { "xscons" "SteelBlue" "Mosaic" "MediumPurple2" "Calendar" "turquoise4" "Library" "turquoise3" "login" "MediumPurple3" "ghostview" "MediumSlateBlue" "xdvi" "LightSlateBlue" "xterm" "CornFlowerBlue" "Keyboard" "MediumPurple2" "xab" "DeepSkyBlue" "xmh" "DeepSkyBlue" "xrn" "Slateblue3" "xpostit" "yellow" "PostItNote" "yellow" "emacs" "SlateBlue" "xwcons" "SteelBlue" "Session Manager" "SlateBlue4" "xcd" "BlueViolet" "xcoffee" "aquamarine3" "dxbook" "turquoise3" "Calc" "turquoise2" "xcalc" "turquoise2" "Tgif" "Slateblue2" } } Monochrome { BorderColor "black" BorderTileForeground "black" BorderTileBackground "white" TitleForeground "black" # TitleBackground "white" } XorValue 1 OpaqueMove RandomPlacement BorderWidth 1 IconifyByUnMapping DontIconifyByUnMapping { "xbiff" "xclock" "xload" } # fonts TitleFont "*schoolbook-bold-i*12*" MenuFont "*new century schoolbook-bold-r-normal--12*" IconFont "*schoolbook-bold-i*8*" ResizeFont "fixed" IconManagerFont "*new century schoolbook-bold-r-normal--12*" # titles NoTitleFocus NoTitle { "Emacs Icon Manager" "TWM Icon Manager" "xload" "xclock" "oclock" "xckmail" "topBox" "xbiff" "abbiff" "xeyes" "Virtual Desktop" "Minibuffer" # "Emacs" "xpostit" } NoHighlight { "TWM" "xload" "xclock" "oclock" "xckmail" "topBox" "xbiff" "xeyes" "Minibuffer" "xpostit" # "Emacs" "Virtual Desktop" } # icons IconManagers { "Emacs" "=100x1+0+600" 1 } WarpCursor WarpUnmapped WindowRing { "Calendar" "xrn" "Mosaic" } ShowIconManager SortIconManager IconManagerGeometry "=100x1+0+181" IconManagerDontShow { "xclock" "oclock" "xload" "xbiff" "abbiff" "xeyes" "topBox" # "Emacs" "xcoffee" "Information" "Minibuffer" "Virtual Desktop" "xpostit" "PostItNote" } IconRegion "1023x100+1+924" SOUTH WEST 2 2 IconDirectory "/homes/sac/bitmaps" Icons { "XTerm" "xterm.icon" "xterm" "xterm.icon" "gnuemacs" "edit.icon" "xwcons" "xwcons.icon" "xman" "xman.icon" "texx2" "texx2.icon" "xmh" "xmh.icon" # "emacs" "edit.icon" } DeiconifyToScreen Zoom # 20 IconifyByUnmapping { "PostItNote" } IconRegion "1000x70+160+20" North West 95 5 # Virtual Desktop # show screen at 1/32 size on virtual desktop VirtualDesktop "100x100+0+81" 32 # Pan by a whole screen width/height when cursor keys pressed PanDistanceX 100 PanDistanceY 100 NailedDown { "Keyboard" "Virtual Desktop" "Minibuffer" "TWM Icon Manager" "Emacs Icon Manager" "xbiff" "abbiff" "oclock" "xclock" "topBox" "xload" "xpostit" "Xman" } # Virtual desktop things #DefaultFunction f.menu "default-menu" #Button = KEYS : CONTEXT : FUNCTION #---------------------------------- # icon root title frame window iconmgr Button1 = :title: f.move Button2 = :title: f.raise Button3 = :title: f.lower Button2 = :icon: f.move Button1 = :frame: f.move Button2 = :frame: f.raise Button3 = :frame: f.lower Button1 = m :window: f.move Button1 = m :icon: f.raise Button2 = m :window: f.move Button2 = m :title: f.move Button2 = m :icon: f.move Button3 = m :window: f.lower Button3 = m :icon: f.lower Button1 = m :root: f.circledown Button3 = m :root: f.circleup Button1 = :root: f.menu "OtherLogins" Button2 = :root: f.menu "WindowOps" Button3 = :root: f.menu "Apps" #Virtual Desktop "Up" = : virtual | root : f.panup "100" "Down" = : virtual | root : f.pandown "100" "Left" = : virtual | root : f.panleft "100" "Right" = : virtual | root : f.panright "100" #"Up" = :virtual: f.panup #"Down" = :virtual: f.pandown #"Left" = :virtual: f.panleft #"Right" = :virtual: f.panright Button1 = :virtual: f.movescreen #anywhere pan "Up" = m :all: f.panup "100" "Down" = m :all: f.pandown "100" "Left" = m :all: f.panleft "100" "Right" = m :all: f.panright "100" #root pan #"Up" = :root: f.panup #"Down" = :root: f.pandown #"Left" = :root: f.panleft #"Right" = :root: f.panright "Up" = c|m|s :all: f.resetdesktop # move using voice commands "F1" = c|m|s :all: f.upiconmgr "F2" = c|m|s :all: f.warpring "next" "F3" = c|m|s :all: f.warptoiconmgr "" "F4" = c|m|s :all: f.downiconmgr "F5" = c|m|s :all: f.warpto "Calendar" "F6" = c|m|s :all: f.warpto "xterm" "F7" = c|m|s :all: f.warpto "xrn" "F8" = c|m|s :all: f.warpto "+inbox" "F9" = c|m|s :all: f.destroy "F10" = c|m|s :all: f.raise "F11" = c|m|s :all: f.lower "F12" = c|m|s :all: f.raise # these were all for the old DEC keyboard #"F13" = c|m|s :all: f.lower #"F14" = c|m|s :all: f.destroy #"F17" = c|m|s :all: f.panup #"F18" = c|m|s :all: f.pandown #"F19" = c|m|s :all: f.panleft #"F20" = c|m|s :all: f.panright #"q" = c|m|s :all: ! "xwarp -q 1" #"w" = c|m|s :all: ! "xwarp -q 2" #"e" = c|m|s :all: ! "xwarp -q 3" #"r" = c|m|s :all: ! "xwarp -q 4" menu "OtherLogins" { "Other Logins" f.title "xterm" !"xterm -T `hostname` -n `hostname` -ls &" "ouse" !"xrlogin ouse &" "styx" !"xrlogin styx &" "ely" !"xrlogin ely &" "nene" !"xrlogin nene &" "nape" !"xrlogin nape &" "lelaps" !"xrlogin lelaps &" "ashby" !"xrlogin ashby &" "U.L." !"xterm -T 'U.L.' -n 'U.L.' -sl 300 -ls -e spad ul&" "StatsLab" !"xterm -T ocelot.statslab -n StatsLab -sl 300 -e rlogin ocelot.statslab.cam &" "CUS" !"xterm -T cus -n cus -sl 300 -e rlogin bootes.cus.cam -l sc126 &" "Thor" !"xterm -T thor -n thor -sl 300 -e rlogin hammer.thor.cam -l sc126 &" "Pegasus Alphas" f.menu "PegAlph" "Snakes" f.menu "Snakes" "EB164s" f.menu "EB164s" "Pegasus DS" f.menu "PegDS" "Linux" f.menu "Linux" "Pentiums" f.menu "Pentiums" "Fbobcats" f.menu "Fbobcats" "Bobcats" f.menu "Bobcats" "Mips A..L" f.menu "ALDecHosts" "Mips M..W" f.menu "MWDecHosts" "BEST Mips" !"h=`/homes/sac/sh/selmips`;xrlogin $h &" "Wanda" f.menu "Wanda" } menu "Linux" { "aspinall (486)" !"xrlogin aspinall &" "rover (486)" !"xrlogin rover &" "brash (alpha)" !"xrlogin brash &" "Pentiums" f.menu "Pentiums" "EB164s" f.menu "EB164s" } menu "Pentiums" { "gresley" !"xrlogin gresley &" "fletcher" !"xrlogin fletcher&" "drummond" !"xrlogin drummond&" "fowler" !"xrlogin fowler&" "gooch" !"xrlogin gooch&" "whale (portable)" !"xrlogin whale&" } menu "EB164s" { "ceylon" !"xrlogin ceylon&" "balti" !"xrlogin balti&" "jalfrezi" !"xrlogin jalfrezi&" "madras" !"xrlogin madras&" } menu "PegAlph" { "sticte" !"xrlogin sticte &" "labes (maj)" !"xrlogin labes &" "dorceus" !"xrlogin dorceus &" "lachne" !"xrlogin lachne &" "argos" !"xrlogin argos &" "maera" !"xrlogin maera &" "sirius" !"xrlogin sirius &" } menu "PegDS" { "nape" !"xrlogin nape &" "lelaps" !"xrlogin lelaps &" "theron" !"xrlogin theron &" "tigris" !"xrlogin tigris &" "bizet" !"xrlogin bizet &" } menu "Bobcats" { "cheetah" !"xrlogin cheetah &" "eyra" !"xrlogin eyra &" "jaguar" !"xrlogin jaguar &" "leopard" !"xrlogin leopard &" "lynx" !"xrlogin lynx &" "margay" !"xrlogin margay &" "ocelot" !"xrlogin ocelot &" "panther" !"xrlogin panther &" "puma" !"xrlogin puma &" "serval" !"xrlogin serval &" "tiger" !"xrlogin tiger &" } menu "Snakes" { "adder" !"xrlogin adder &" "bailey" !"xrlogin bailey &" "cromarty" !"xrlogin cromarty &" "dogger" !"xrlogin dogger &" "irishea" !"xrlogin irishsea &" "lundy" !"xrlogin lundy &" "rockall" !"xrlogin rockall &" "scilly" !"xrlogin scilly &" "viper" !"xrlogin viper &" } menu "Path" { "thomas" !"xrlogin thomas &" "james" !"xrlogin james &" "toby" !"xrlogin toby &" "gordon" !"xrlogin gordon &" "annie " !"xrlogin annie &" "bertie" !"xrlogin bertie &" "trevor" !"xrlogin trevor &" "harold" !"xrlogin harold &" } menu "Fbobcats" { "shannon" !"xrlogin shannon &" "forties" !"xrlogin forties &" "faeroes" !"xrlogin faeroes &" "viking" !"xrlogin viking &" "malin" !"xrlogin malin &" "biscay" !"xrlogin biscay &" "BEST" !"h=`/homes/sac/sh/selfbob`; xrlogin $h &" } menu "ALDecHosts" { "A..L DEC Hosts" f.title "ampton" !"xrlogin ampton &" "ashley" !"xrlogin ashley &" "ashton" !"xrlogin ashton &" "aspall" !"xrlogin aspall &" "barham" !"xrlogin barham &" "barton" !"xrlogin barton &" "barway" !"xrlogin barway &" "bourn" !"xrlogin bourn &" "bury" !"xrlogin bury &" "caxton" !"xrlogin caxton &" "coates" !"xrlogin coates &" "coton" !"xrlogin coton &" "denton" !"xrlogin denton &" "earith" !"xrlogin earith &" "easton" !"xrlogin easton &" "elton" !"xrlogin elton &" "farcet" !"xrlogin farcet &" "fenton" !"xrlogin fenton &" "girton" !"xrlogin girton &" "haddon" !"xrlogin haddon &" "hatley" !"xrlogin hatley &" "heydon" !"xrlogin heydon &" "hilton" !"xrlogin hilton &" "histon" !"xrlogin histon &" "holme" !"xrlogin holme &" "linton" !"xrlogin linton &" "lode" !"xrlogin lode &" } menu "MWDecHosts" { "M..W DEC Hosts" f.title "manea" !"xrlogin manea &" "march" !"xrlogin march &" "maxey" !"xrlogin maxey &" "mepal" !"xrlogin mepal &" "milton" !"xrlogin milton &" "murrow" !"xrlogin murrow &" "orwell" !"xrlogin orwell &" "over" !"xrlogin over &" "pidley" !"xrlogin pidley &" "pymore" !"xrlogin pymore &" "ramsey" !"xrlogin ramsey &" "reach" !"xrlogin reach &" "sawtry" !"xrlogin sawtry &" "stonea" !"xrlogin stonea &" "sutton" !"xrlogin sutton &" "tadlow" !"xrlogin tadlow &" "toft" !"xrlogin toft &" "turves" !"xrlogin turves &" "ufford" !"xrlogin ufford &" "upend" !"xrlogin upend &" "upton" !"xrlogin upton &" "upware" !"xrlogin upware &" "upwell" !"xrlogin upwell &" "upwood" !"xrlogin upwood &" "walton" !"xrlogin walton &" "wendy" !"xrlogin wendy &" } menu "FairisleHosts" { "Fairisle Hosts" f.title "biscay" !"xrlogin biscay &" "faeroes" !"xrlogin faeroes &" "forties" !"xrlogin forties &" "malin" !"xrlogin malin &" "shannon" !"xrlogin shannon &" "viking" !"xrlogin viking &" } menu "PegasusHosts" { "Pegasus Hosts" f.title "lelaps" !"xrlogin lelaps &" "nape" !"xrlogin nape &" "theron" !"xrlogin theron &" "tigris" !"xrlogin tigris &" "dogger" !"xrlogin dogger &" "rockall" !"xrlogin rockall &" "cromarty" !"xrlogin cromarty &" "dogger" !"xon dogger xterm -ls &" "Alpha" f.title "Dorceus" !"xon dorceus xterm -ls &" "Labes" !"xon labes xterm -ls &" "Lachne" !"xon lachne xterm -ls &" "Sticte" !"xon sticte xterm -ls &" "Argos" !"xon argos xterm -ls &" "Maera" !"xon maera xterm -ls &" } menu "Wanda" { "Wanda Machines" f.title "FPC3" f.menu"FPC3" "FPC2" f.menu"FPC2" "mvme133" f.menu"mvme133" "mvme136" f.menu"mvme136" "mvme147" f.menu"mvme147" "mvme167" f.menu"mvme167" "aynho" !"xwcons aynho &" "shooga" !"xwcons shooga &" "rhanis" !"xwcons rhanis &" "hyale" !"xwcons hyale &" "cbn" !"/homes/tr/.sh/cbntele &" } menu "FPC3" { "FPC3 switches" f.title "city" !"xscons city &" "duke" !"xscons duke &" "king" !"xscons king &" } menu "FPC2" { "FPC2 Machines" f.title "bass" !"xwcons bass &" "bloater" !"xwcons bloater &" "bream" !"xwcons bream &" "bummalo" !"xwcons bummalo &" "mako" !"xwcons mako &" "marlin" !"xwcons marlin &" "menhaden" !"xwcons menhaden &" "mullet" !"xwcons mullet &" "perai" !"xwcons perai &" "perch" !"xwcons perch &" "pilchard" !"xwcons pilchard &" "porbeagle" !"xwcons porbeagle &" "sardine" !"xwcons sardine &" "skate" !"xwcons skate &" "snook" !"xwcons snook &" "sole" !"xwcons sole &" } menu "mvme133" { "133 Machines" f.title "carp" !"xwcons carp &" "cod" !"xwcons cod &" "coley" !"xwcons coley &" "eel" !"xwcons eel &" "flounder" !"xwcons flounder &" "guppy" !"xwcons guppy &" "plaice" !"xwcons plaice &" "salmon" !"xwcons salmon &" "trout" !"xwcons trout &" "tuna" !"xwcons tuna &" } menu "mvme136" { "136 Machines" f.title "monk" !"xwcons monk &" "ray" !"xwcons ray &" } menu "mvme147" { "147 Machines" f.title "lamprey" !"xwcons lamprey &" "lumpfish" !"xwcons lumpfish &" "piranha" !"xwcons piranha &" "sack" !"xwcons sack &" "shark" !"xwcons shark &" } menu "mvme167" { "167 Machines" f.title "conger" !"xwcons conger &" "flake" !"xwcons flake &" "gurnet" !"xwcons gurnet &" } # Button 2 is set to preferences & window things menu "WindowOps" { "Window Ops" f.title "Refreshscreen" f.refresh "Destroy Window" f.destroy "Redraw" f.winrefresh "Move" f.move "Resize" f.resize "Raise" f.raise "Lower" f.lower "CircUp" f.circleup "Raise or Lower" f.raiselower "CircDown" f.circledown "Source .twmrc" f.twmrc "Reread .Xresources" !"xrdb ~/.Xresources" "twm special" f.menu "twm" "Preferences" f.menu "Preferences" } menu "Preferences" { "Preferences" f.title "Bell Loud" !"xset b 100 12000 50&" "Bell Normal" !"xset b 50 12000 50&" "Bell Off" !"xset b off&" "Click Loud" !"xset c 8&" "Click Soft" !"xset c on&" "Click Off" !"xset c off&" "Lock On" !"xset l on&" "Lock Off" !"xset l off&" "Mouse Fast" !"xset m 4 2&" "Mouse Normal" !"xset m 2 5&" "Mouse Slow" !"xset m 1 1&" } menu "twm" { "twm specials" f.title "TwmWindows" f.menu "TwmWindows" "Show Icon Mgr" f.showiconmgr "Hide Icon Mgr" f.hideiconmgr "twm Version" f.version "Focus on Root" f.unfocus "Cut File" f.cutfile "DeIconify" f.deiconify "ForceMove Window" f.forcemove "Raise-n-Focus" f.function "raise-n-focus" "Destroy Window" f.destroy "zoom" f.zoom "fullzoom" f.fullzoom "cutfile" f.cutfile "raiselower" f.raiselower "Kill twm" f.quit } # Right button menu for utilities menu "Apps" { "Applications" f.title "abwho" !"xon nene xterm -title ABwho -fn *cour*bold*-r-*-10-* -e abwho -s &" "xab" !"xon nene xab &" "xrn" !"xon xrn &" "emacs" !"emacs &" "xcd" !" xcd &" "dxcalendar" !" dxcalendar &" "dxcardfiler" !" dxcardfiler &" "xmh" !"xon nene xmh &" "top" !"xterm -geometry 80x10 -title Top -fn *cour*bold*-r-*-10-* -e top &" "xkill" !"xterm -geometry 80x4+0+0 -e xkill &" "hexcalc" !"xon nene hexxcalc &" "xcalc" !"xcalc &" "Mosaic" !"Mosaic &" "clipboard" !"xclipboard &" "xfontsel" !"xfontsel &" "xcolours" !"xco -show 128 -scroll 64 &" "xpilot meta server" !"xterm -sl 300 -e telnet xpilot.cs.uit.no 4400 &" } Function "raise-n-focus" { f.raise f.focus }