FVWM: Wait still broken in 2.0.45?

From: Chris Rode <crode_at_iastate.edu>
Date: Fri, 24 Jan 1997 08:27:09 CST

I'm running 2.0.45 under
   - Ultrix 4.3
   - OSF1 3.2
   - Irix 5.3

and on all three platforms, when I have a call to "Wait" in my
ExitFunction, like so:

DestroyFunc ExitFunction
AddToFunc ExitFunction
+ I KillModule FvwmButtons
+ I KillModule ButtonBar
+ I Module FvwmBanner
+ I Wait FvwmBanner

when I attempt to restart/quit fvwm, it kills off both FvwmButtons
modules, flashes the banner, then does nothing. I have to kill fvwm
from the command line. This (of course) started with 2.0.44. For the
time being, I've commented out the ExitFunction, but it seems maybe the
fix in 2.0.45 maybe didn't fix it for all cases...? I attach my
.fvwm2rc below.

--chris.

#==============================================================================
#
# FVWM 2.0 Init File
#
# Author: Chris Rode (crode_at_iastate.edu)
#
#------------------------------------------------------------------------------
#
# Note: As of FVWM 2.0, this file is no longer order dependent. :)
#
#==============================================================================

#==============================================================================
# set up the colors
#==============================================================================
#
#------------------------------------------------------------------------------
# this is used for all windows not explicitly defined later
# (inactive windows)
#-----------------------------------------------------------

Style "*" Color #ffffff/#c0c0c0

# Style "*" ForeColor NavajoWhite3
# Style "*" BackColor brown4

#------------------------------------------------------------------------------
# this is used for the selected window
#--------------------------------------
#
# Text Background
# --------------- -------------------------------
# HilightColor white Purple4
HilightColor #ffffff #c0c0c0

#==============================================================================
# set up the menu style
#==============================================================================
#
# The syntax here is: MenuStyle forecolor backcolor shadecolor font style
# where
#
# forecolor == Selectable Text Color
# backcolor == Background Color
# shadecolor == Unselectable Text Color
# font == Font (*DUH!*)
# style == MWM or FVWM Menu Style
#
ClickTime 750
MenuStyle #000000 #c0c0c0 #808080 \
                -*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-* fvwm
# MenuStyle black LightGray LightGray \
# -*-helvetica-bold-*-*-*-*-100-*-*-*-*-*-* fvwm

#==============================================================================
# set up fonts: one for window titles, another for icons
#==============================================================================
#
WindowFont -*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
IconFont -*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*

#==============================================================================
# icon style stuff
#==============================================================================
#------------------------------------------------------------------------------
# auto place icons in lower left corner
#---------------------------------------
#
Style "*" IconBox -65 5 -5 -5

#------------------------------------------------------------------------------
# If you uncomment this, make sure that the WindowList is bound to
# something, it works pretty much like an icon manager.
#------------------------------------------------------------------
#
# Style "*" NoIcon

#------------------------------------------------------------------------------
# If you want ALL your icons to follow you around the desktop (sticky),
# uncomment the following.
#-----------------------------------------------------------------------
#
Style "*" StickyIcon

#==============================================================================
# MWM style stuff
#==============================================================================
#------------------------------------------------------------------------------
# MWMFunctions make FVWM attempt to recognize and respect the MWM
# prohibited operations hints that appliocations occasionally use.
# HintOverride makes FVWM shade out operations that MWM would prohibit,
# but it lets you perform the operation anyway.
#-----------------------------------------------------------------------
#
# Style "*" MWMFunctions
# Style "*" HintOverride

#------------------------------------------------------------------------------
# MWMDecor make FVWM attempt to recognize and respect the MWM decoration
# hints that applications occasionally use.
#------------------------------------------------------------------------
#
# Style "*" MWMDecor

#------------------------------------------------------------------------------
# MWMBorder makes the 3-D bevel more closely match MWM's.
#---------------------------------------------------------
#
# Style "*" MWMBorder

#------------------------------------------------------------------------------
# MWMButtons makes the Maximize button look "pressed in" when the window
# is maximized.
#------------------------------------------------------------------------
#
# Style "*" MWMButtons

#==============================================================================
# miscellaney style stuff
#==============================================================================
#------------------------------------------------------------------------------
# OpaqueMoveSize tells FVWM the maximum size window with which opaque
# window movement shoud be used. It has attached to it a percentage,
# which is percent of the total screen area. With "OpaqueMoveSize 0," all
# windows will be moved using the traditional rubber-band outline. With
# "OpaqueMoveSize 100" all windows will be moved as solid windows. The
# default is "OpaqueMoveSize 5".
#--------------------------------------------------------------------------
#
OpaqueMoveSize 25

#------------------------------------------------------------------------------
# This changes the value with which bits are XOR'ed when doing
# rubber-band window moving or resizing. Whatever is used by default
# doesn't work with my (mostly) black background...
#---------------------------------------------------------------------
#
XORvalue 1

#------------------------------------------------------------------------------
# EdgeScroll specifies the percentage of a page to scroll when the
# cursor hits the edge of a page.
#------------------------------------------------------------------
#
EdgeScroll 100 100

#------------------------------------------------------------------------------
# EdgeResistance tells how hard it should be to change the desktop
# viewport by moving the mouse over the edge of the screen and how hard it
# should be to move a window over the edge of the screen.
#
# The first parameter tells how many milliseconds the pointer must spend
# on the screen edge before fvwm will move the viewport.
#
# The second parameter tells how many pixels over the edge of the screen
# a window's edge must move before it actually moves partially off the
# screen.
#--------------------------------------------------------------------------
#
EdgeResistance 50 50

#==============================================================================
# window placement style stuff
#==============================================================================
#------------------------------------------------------------------------------
# RandomPlacement causes windows which would normally require user
# placement to be automatically placed in ever-so-slightly random
# locations.
#
# SmartPlacement causes windows which would normally require user
# placement to be automatically placed in a smart location - a location in
# which they do not overlap any other windows on the screen.
#--------------------------------------------------------------------------
#
Style "*" SmartPlacement, ActivePlacement
GlobalOpts SmartPlacementIsReallySmart

#------------------------------------------------------------------------------
# decorate transient windows
#----------------------------
#
Style "*" DecorateTransient

#------------------------------------------------------------------------------
# title bar setup
#-----------------
 TitleStyle LeftJustified -- Flat
# TitleStyle LeftJustified Raised
# AddTitleStyle Inactive HGradient 64 2 black 40 brown4 60 brown4
# AddTitleStyle ActiveUp HGradient 64 2 black 40 Purple4 60 Purple4
# AddTitleStyle ActiveDown HGradient 64 2 black 40 Purple4 60 Purple4
AddTitleStyle Inactive HGradient 64 black brown4
AddTitleStyle ActiveUp HGradient 64 black Purple4
AddTitleStyle ActiveDown HGradient 64 black Purple4
BorderStyle -- HiddenHandles NoInset
#==============================================================================
# set up the virtual desktop
#==============================================================================
#------------------------------------------------------------------------------
# set the desktop size in units of physical screen size
#-------------------------------------------------------
#
DeskTopSize 3x3

#==============================================================================
# module path and paths to icons
#==============================================================================
#
ModulePath /afs/isu/rental/kerplunk/lib/fvwm2:/usr/bin/X11
PixmapPath /afs/isu/rental/kerplunk/images/icons
IconPath /afs/isu/rental/kerplunk/images/icons

#==============================================================================
# stuff to do at startup
#
# FvwmButtons (formerly GoodStuff) is FVWM's button bar module
# FvwmAuto causes windows with the input focus to autoraise
#
#==============================================================================
#
DestroyFunc InitFunction
AddToFunc InitFunction
+ I Exec /afs/isu/rental/kerplunk/bin/scripts/mklogout_icon
+ I Exec /afs/isu/users/31/28/crode/.startup.X11-2
+ I Module FvwmButtons
+ I Module ButtonBar
+ I Module FvwmAuto 750

DestroyFunc RestartFunction
AddToFunc RestartFunction
+ I Exec /afs/isu/rental/kerplunk/bin/scripts/mklogout_icon
+ I Module FvwmButtons
+ I Module ButtonBar
+ I Module FvwmAuto 750

#DestroyFunc ExitFunction
#AddToFunc ExitFunction
#+ I KillModule FvwmButtons
#+ I KillModule ButtonBar
#+ I Module FvwmBanner
#+ I Wait FvwmBanner

#==============================================================================
# set the decoration styles and window options
#==============================================================================
#
Style "*" BorderWidth 4, HandleWidth 4, SloppyFocus, \
                        MiniIcon mini-x.xpm
Style "Fvwm*" NoTitle, NoHandles, Sticky, WindowListSkip, \
                        BorderWidth 0
Style "FvwmButtons" NoTitle, NoHandles, Sticky, WindowListSkip, \
                        BorderWidth 0
Style "FvwmTalk" Sticky, WindowListSkip, BorderWidth 3
Style "xdaliclock" NoTitle, NoHandles, Sticky, BorderWidth 0
Style "xlogout" NoTitle, NoHandles, Sticky, WindowListSkip, \
                        FvwmBorder, BorderWidth 3
Style "xload" NoTitle, NoHandles, Sticky
Style "xzwrite" NoTitle, NoHandles, Sticky
Style "sendWindow" NoTitle, NoHandles, Sticky, BorderWidth 0
Style "zwgc" NoTitle, NoHandles, Sticky, WindowListSkip, \
                        FvwmBorder, BorderWidth 4, BackColor brown4
Style "*lock" NoTitle, NoHandles, Sticky, WindowListSkip
Style "xv" NoHandles, BorderWidth 3, Icon xv4_3d.xpm
Style "xmconval_cl" FvwmBorder, BorderWidth 4, Icon dM.101.xpm
Style "Netscape" ClickToFocus, NoPPosition
Style "Console" NoHandles, NoIcon
Style "Emacs" Icon dM.PersonalJesus.xpm
# Style "XTerm" Icon dM.IFeelYou.xpm, UseDecor win95, ForeColor Black
Style "XTerm" Icon dM.IFeelYou.xpm

#==============================================================================
# some handy complex functions
#==============================================================================
#------------------------------------------------------------------------------
# This one moves and then raises the window if you drag the mouse, only
# raises the window if you click, or does a RaiseLowqer if you double
# click
#-----------------------------------------------------------------------
#
DestroyFunc Move-or-Raise
AddToFunc Move-or-Raise
+ M Move
+ M Raise
+ C Raise
+ D WindowShade

#------------------------------------------------------------------------------
# This one maximizes vertically if you click (leaving room for the
# FvwmButtons bar at the bottom, or does a full maximization if you double
# click, or a true full vertical maximizationi if you just hold the mouse
# button down.
#--------------------------------------------------------------------------
#
DestroyFunc maximize_func
AddToFunc maximize_func
+ M Maximize 0 100
+ C Maximize 0 93
+ D Maximize 100 100

#------------------------------------------------------------------------------
# This one moves and then lowers the window if you drag the mouse, only
# lowers the window if you click, or does a RaiseLower if you double click
#--------------------------------------------------------------------------
#
DestroyFunc Move-or-Lower
AddToFunc Move-or-Lower
+ M Move
+ M Lower
+ C Lower
+ D RaiseLower

#------------------------------------------------------------------------------
# This one moves or (de)iconifies
#---------------------------------
#
DestroyFunc Move-or-Iconify
AddToFunc Move-or-Iconify
+ M Move
+ D Iconify

#------------------------------------------------------------------------------
# This one resizes and then raises the window if you drag the mouse,
# only rasies the window if you click, or does a RaiseLower if you double
# click
#-------------------------------------------------------------------------
#
DestroyFunc Resize-or-Raise
AddToFunc Resize-or-Raise
+ M Resize
+ M Raise
+ C Raise
+ D RaiseLower

DestroyFunc LogoutFunc
AddToFunc LogoutFunc
+ I Quit

DestroyFunc warp-or-run
AddToFunc warp-or-run
+ I Next [$0 CirculateHit] Iconify -1
+ I Next [$0 CirculateHit] Focus
+ I None [$0] $1

DestroyFunc warp-current-desk-or-run
AddToFunc warp-current-desk-or-run
+ I Next [$0 CirculateHit CurrentDesk] Iconify -1
+ I Next [$0 CirculateHit CurrentDesk] Focus
+ I None [$0 CirculateHit CurrentDesk] $1

#==============================================================================
# some handy-dandy menus (the order on this is severely hap-hazard)
#==============================================================================
#
#------------------------------------------------------------------------------
# All the fvwm2 Modules
#------------------------------------------------------------------------------
DestroyMenu Module-Popup
AddToMenu Module-Popup "Modules" Title
+ "FvwmButtons" Module FvwmButtons
+ "" Nop
+ "Kill FvwmButtons" KillModule FvwmButtons
+ "" Nop
+ "" Nop
+ "Identify Window" Module FvwmIdent
+ "FvwmWinList" Module FvwmWinList
+ "Command Line" Module FvwmTalk

#------------------------------------------------------------------------------
# Top-Level Menu for different programs
#------------------------------------------------------------------------------
DestroyMenu Applications
AddToMenu Applications "Programs" Title
+ "Accessories" Popup Accessories
+ "Network" Popup NetApps
+ "Help Room" Popup hrstaff
+ "" Nop
+ "Xterm" Exec exec xterm -sl 500&
+ "Big Xterm" Exec exec xterm -sl 500 -fn 12x24&

#------------------------------------------------------------------------------
# Network Applications (like web browsers, ftp, etc.)
#------------------------------------------------------------------------------
DestroyMenu NetApps
AddToMenu NetApps "Network Apps" Title
+ "Netscape" Exec exec /afs/isu/rental/kerplunk/bin/_at_sys/netscape &
+ "Mosaic" Exec exec /afs/isu/rental/kerplunk/bin/_at_sys/mosaic &

#------------------------------------------------------------------------------
# Accessory Type Applications
#------------------------------------------------------------------------------
DestroyMenu Accessories
AddToMenu Accessories "Accessories" Title
+ "Xdaliclock" Exec exec \
             nice /afs/isu/rental/kerplunk/bin/_at_sys/xdaliclock \
             -noseconds -fn "-*-helvetica-bold-r-normal-*-34-*-*-*-*-*-*-*" \
             -fg gray63 -bg DarkOrchid4 -bw 0 -geometry 130x50-1500-1500 &
+ "Calculator" Exec exec dxcalc &
+ "Emacs" Exec exec emacs &
+ "Exmh" Exec exec exmh &
+ "XLess" Exec exec xless &
+ "Xman" Exec exec xman &
+ "XView" Exec exec /afs/isu/rental/kerplunk/bin/_at_sys/xv &

#------------------------------------------------------------------------------
# A Few Root Window Backgrounds
#------------------------------------------------------------------------------
DestroyMenu Backgrounds
AddToMenu Backgrounds "Backgrounds" Title
+ "XEarth" Exec exec /afs/isu/rental/kerplunk/bin/_at_sys/xearth -pos 'sunrel 30 0' -grid &
+ "" Nop
+ "Blue" Exec exec xsetroot -solid blue4&
+ "Black" Exec exec xsetroot -solid black&
+ "Gray" Exec exec xsetroot -gray&
+ "Messy" Exec exec xsetroot -def&
+ "Green" Exec exec xsetroot -solid green3&

#------------------------------------------------------------------------------
# A Few Bell Settings
#------------------------------------------------------------------------------
DestroyMenu Bell-Settings
AddToMenu Bell-Settings "Bell Settings" Title
+ "Bell Check" Beep
+ "" Nop
+ "Bell Loud" Exec exec xset b 100&
+ "Bell Normal" Exec exec xset b 50&
+ "Bell Soft" Exec exec xset b 25&
+ "" Nop
+ "Bell Off" Exec exec xset b 0&

#------------------------------------------------------------------------------
# A Few Keyboard Click Settings
#------------------------------------------------------------------------------
DestroyMenu Click-Settings
AddToMenu Click-Settings "Click Settings" Title
+ "Click Loud" Exec exec xset c 100&
+ "Click Normal" Exec exec xset c 50&
+ "Click Soft" Exec exec xset c 25&
+ "" Nop
+ "Click Off" Exec exec xset c 0&

#------------------------------------------------------------------------------
# A Few Mouse Speed Settings
#------------------------------------------------------------------------------
DestroyMenu Mouse-Settings
AddToMenu Mouse-Settings "Mouse Settings" Title
+ "Mouse Slow" Exec exec xset m 1 1&
+ "Mouse Default" Exec exec xset m default&
+ "Mouse Fast" Exec exec xset m 4 2&
+ "Speedy Gonzales" Exec exec xset m 10 2&

#------------------------------------------------------------------------------
# Top-Level Settings Menu
#------------------------------------------------------------------------------
DestroyMenu Setups
AddToMenu Setups "Settings" Title
+ "Backgrounds" Popup Backgrounds
+ "Bell Settings" Popup Bell-Settings
+ "Click Settings" Popup Click-Settings
+ "Mouse Settings" Popup Mouse-Settings
+ "" Nop
+ "Font Selector" Exec exec xfontsel &
+ "Color Selector" Exec exec /afs/isu/rental/kerplunk/bin/_at_sys/xcolorsel &

#------------------------------------------------------------------------------
# Computer Science Machines (BLECH!)
#------------------------------------------------------------------------------
DestroyMenu ComSci
AddToMenu ComSci "ComSci Machines" Title
+ "stimpy.cs" Exec exec xterm -sl 500 -T stimpy.cs -e telnet stimpy.cs.iastate.edu&
+ "shazam.cs" Exec exec xterm -sl 500 -T shazam.cs -e telnet shazam.cs.iastate.edu&
+ "popeye.cs" Exec exec xterm -sl 500 -T popeye.cs -e telnet popeye.cs.iastate.edu&

#------------------------------------------------------------------------------
# Computation Center Staff Machines
#------------------------------------------------------------------------------
DestroyMenu ISUCC
AddToMenu ISUCC "Computation Center" Title
+ "calvin.cc" Exec exec xterm -sl 500 -T calvin.cc -e telnet calvin.cc&
+ "spiff.cc" Exec exec xterm -sl 500 -T spiff.cc -e telnet spiff.cc&
+ "" Nop
+ "help1.cc" Exec exec xterm -sl 500 -T help1.cc -e telnet help1.cc&
+ "help2.cc" Exec exec xterm -sl 500 -T help2.cc -e telnet help2.cc&

#------------------------------------------------------------------------------
# ISU College Communications Servers
#------------------------------------------------------------------------------
DestroyMenu ComServ
AddToMenu ComServ "Communications Servers" Title
+ "ag1" Exec exec xterm -sl 500 -T ag1 -e telnet ag1&
+ "ag2" Exec exec xterm -sl 500 -T ag2 -e telnet ag2&
+ "" Nop
+ "bus1" Exec exec xterm -sl 500 -T bus1 -e telnet bus1&
+ "bus2" Exec exec xterm -sl 500 -T bus2 -e telnet bus2&
+ "" Nop
+ "des1" Exec exec xterm -sl 500 -T des1 -e telnet des1&
+ "des2" Exec exec xterm -sl 500 -T des2 -e telnet des2&
+ "" Nop
+ "educ1" Exec exec xterm -sl 500 -T educ1 -e telnet educ1&
+ "educ2" Exec exec xterm -sl 500 -T educ2 -e telnet educ2&
+ "" Nop
+ "eng1" Exec exec xterm -sl 500 -T eng1 -e telnet eng1&
+ "eng2" Exec exec xterm -sl 500 -T eng2 -e telnet eng2&
+ "eng3" Exec exec xterm -sl 500 -T eng3 -e telnet eng3&
+ "" Nop
+ "fcs1" Exec exec xterm -sl 500 -T fcs1 -e telnet fcs1&
+ "fcs2" Exec exec xterm -sl 500 -T fcs2 -e telnet fcs2&
+ "" Nop
+ "las1" Exec exec xterm -sl 500 -T las1 -e telnet las1&
+ "las2" Exec exec xterm -sl 500 -T las2 -e telnet las2&
+ "las3" Exec exec xterm -sl 500 -T las3 -e telnet las3&
+ "" Nop
+ "" Nop
+ "isua1" Exec exec xterm -sl 500 -T isua1 -e telnet isua1&
+ "isua2" Exec exec xterm -sl 500 -T isua2 -e telnet isua2&
+ "" Nop
+ "isum1" Exec exec xterm -sl 500 -T isum1 -e telnet isum1&
+ "isum2" Exec exec xterm -sl 500 -T isum2 -e telnet isum2&
+ "" Nop
+ "class1" Exec exec xterm -sl 500 -T class1 -e telnet class1&

#------------------------------------------------------------------------------
# SGI Workstations in Durham 89
#------------------------------------------------------------------------------
DestroyMenu du89
AddToMenu du89 "Durham 89" Title
+ "du89-01.cc" Exec exec xterm -sl 500 -T du89-01.cc -e telnet du89-01.cc&
+ "du89-02.cc" Exec exec xterm -sl 500 -T du89-02.cc -e telnet du89-02.cc&
+ "du89-03.cc" Exec exec xterm -sl 500 -T du89-03.cc -e telnet du89-03.cc&
+ "du89-04.cc" Exec exec xterm -sl 500 -T du89-04.cc -e telnet du89-04.cc&
+ "du89-05.cc" Exec exec xterm -sl 500 -T du89-05.cc -e telnet du89-05.cc&
+ "" Nop
+ "du89-06.cc" Exec exec xterm -sl 500 -T du89-06.cc -e telnet du89-06.cc&
+ "du89-07.cc" Exec exec xterm -sl 500 -T du89-07.cc -e telnet du89-07.cc&
+ "du89-08.cc" Exec exec xterm -sl 500 -T du89-08.cc -e telnet du89-08.cc&
+ "du89-09.cc" Exec exec xterm -sl 500 -T du89-09.cc -e telnet du89-09.cc&
+ "du89-10.cc" Exec exec xterm -sl 500 -T du89-10.cc -e telnet du89-10.cc&
+ "" Nop
+ "du89-11.cc" Exec exec xterm -sl 500 -T du89-11.cc -e telnet du89-11.cc&
+ "du89-12.cc" Exec exec xterm -sl 500 -T du89-12.cc -e telnet du89-12.cc&
+ "du89-13.cc" Exec exec xterm -sl 500 -T du89-13.cc -e telnet du89-13.cc&
+ "du89-14.cc" Exec exec xterm -sl 500 -T du89-14.cc -e telnet du89-14.cc&
+ "du89-15.cc" Exec exec xterm -sl 500 -T du89-15.cc -e telnet du89-15.cc&
+ "" Nop
+ "du89-16.cc" Exec exec xterm -sl 500 -T du89-16.cc -e telnet du89-16.cc&
+ "du89-17.cc" Exec exec xterm -sl 500 -T du89-17.cc -e telnet du89-17.cc&
+ "du89-18.cc" Exec exec xterm -sl 500 -T du89-18.cc -e telnet du89-18.cc&
+ "du89-19.cc" Exec exec xterm -sl 500 -T du89-19.cc -e telnet du89-19.cc&
+ "du89-20.cc" Exec exec xterm -sl 500 -T du89-20.cc -e telnet du89-20.cc&

#------------------------------------------------------------------------------
# DECstations and Alpha Workstations in Durham 139
#------------------------------------------------------------------------------
DestroyMenu du139
AddToMenu du139 "Durham 139" Title
+ "du139-201.cc" Exec exec xterm -sl 500 -T du139-201.cc -e telnet du139-201.cc&
+ "du139-202.cc" Exec exec xterm -sl 500 -T du139-202.cc -e telnet du139-202.cc&
+ "du139-203.cc" Exec exec xterm -sl 500 -T du139-203.cc -e telnet du139-203.cc&
+ "du139-204.cc" Exec exec xterm -sl 500 -T du139-204.cc -e telnet du139-204.cc&
+ "du139-205.cc" Exec exec xterm -sl 500 -T du139-205.cc -e telnet du139-205.cc&
+ "" Nop
+ "du139-206.cc" Exec exec xterm -sl 500 -T du139-206.cc -e telnet du139-206.cc&
+ "du139-207.cc" Exec exec xterm -sl 500 -T du139-207.cc -e telnet du139-207.cc&
+ "du139-208.cc" Exec exec xterm -sl 500 -T du139-208.cc -e telnet du139-208.cc&
+ "du139-209.cc" Exec exec xterm -sl 500 -T du139-209.cc -e telnet du139-209.cc&
+ "du139-210.cc" Exec exec xterm -sl 500 -T du139-210.cc -e telnet du139-210.cc&
+ "" Nop
+ "du139-211.cc" Exec exec xterm -sl 500 -T du139-211.cc -e telnet du139-211.cc&
+ "du139-212.cc" Exec exec xterm -sl 500 -T du139-212.cc -e telnet du139-212.cc&
+ "du139-213.cc" Exec exec xterm -sl 500 -T du139-213.cc -e telnet du139-213.cc&
+ "du139-214.cc" Exec exec xterm -sl 500 -T du139-214.cc -e telnet du139-214.cc&
+ "" Nop
+ "" Nop
+ "" Nop
+ "du139-215.cc" Exec exec xterm -sl 500 -T du139-215.cc -e telnet du139-215.cc&
+ "du139-216.cc" Exec exec xterm -sl 500 -T du139-216.cc -e telnet du139-216.cc&
+ "du139-217.cc" Exec exec xterm -sl 500 -T du139-217.cc -e telnet du139-217.cc&
+ "du139-218.cc" Exec exec xterm -sl 500 -T du139-218.cc -e telnet du139-218.cc&
+ "du139-219.cc" Exec exec xterm -sl 500 -T du139-219.cc -e telnet du139-219.cc&
+ "" Nop
+ "du139-220.cc" Exec exec xterm -sl 500 -T du139-220.cc -e telnet du139-220.cc&
+ "du139-221.cc" Exec exec xterm -sl 500 -T du139-221.cc -e telnet du139-221.cc&
+ "du139-222.cc" Exec exec xterm -sl 500 -T du139-222.cc -e telnet du139-222.cc&
+ "du139-223.cc" Exec exec xterm -sl 500 -T du139-223.cc -e telnet du139-223.cc&
+ "du139-224.cc" Exec exec xterm -sl 500 -T du139-224.cc -e telnet du139-224.cc&
+ "" Nop
+ "du139-225.cc" Exec exec xterm -sl 500 -T du139-225.cc -e telnet du139-225.cc&
+ "du139-226.cc" Exec exec xterm -sl 500 -T du139-226.cc -e telnet du139-226.cc&
+ "du139-227.cc" Exec exec xterm -sl 500 -T du139-227.cc -e telnet du139-227.cc&
+ "du139-228.cc" Exec exec xterm -sl 500 -T du139-228.cc -e telnet du139-228.cc&
+ "du139-229.cc" Exec exec xterm -sl 500 -T du139-229.cc -e telnet du139-229.cc&
+ "" Nop
+ "du139-230.cc" Exec exec xterm -sl 500 -T du139-230.cc -e telnet du139-230.cc&
+ "du139-231.cc" Exec exec xterm -sl 500 -T du139-231.cc -e telnet du139-231.cc&
+ "du139-232.cc" Exec exec xterm -sl 500 -T du139-232.cc -e telnet du139-232.cc&
+ "du139-233.cc" Exec exec xterm -sl 500 -T du139-233.cc -e telnet du139-233.cc&
+ "du139-234.cc" Exec exec xterm -sl 500 -T du139-234.cc -e telnet du139-234.cc&

#------------------------------------------------------------------------------
# DECstations in Durham 248
#------------------------------------------------------------------------------
DestroyMenu du248
AddToMenu du248 "Durham 248" Title
+ "du248-01.cc" Exec exec xterm -sl 500 -T du248-01.cc -e telnet du248-01.cc&
+ "du248-02.cc" Exec exec xterm -sl 500 -T du248-02.cc -e telnet du248-02.cc&
+ "du248-03.cc" Exec exec xterm -sl 500 -T du248-03.cc -e telnet du248-03.cc&
+ "du248-04.cc" Exec exec xterm -sl 500 -T du248-04.cc -e telnet du248-04.cc&
+ "du248-05.cc" Exec exec xterm -sl 500 -T du248-05.cc -e telnet du248-05.cc&
+ "" Nop
+ "du248-06.cc" Exec exec xterm -sl 500 -T du248-06.cc -e telnet du248-06.cc&
+ "du248-07.cc" Exec exec xterm -sl 500 -T du248-07.cc -e telnet du248-07.cc&
+ "du248-08.cc" Exec exec xterm -sl 500 -T du248-08.cc -e telnet du248-08.cc&
+ "du248-09.cc" Exec exec xterm -sl 500 -T du248-09.cc -e telnet du248-09.cc&
+ "du248-10.cc" Exec exec xterm -sl 500 -T du248-10.cc -e telnet du248-10.cc&
+ "" Nop
+ "du248-11.cc" Exec exec xterm -sl 500 -T du248-11.cc -e telnet du248-11.cc&
+ "du248-12.cc" Exec exec xterm -sl 500 -T du248-12.cc -e telnet du248-12.cc&
+ "du248-13.cc" Exec exec xterm -sl 500 -T du248-13.cc -e telnet du248-13.cc&
+ "du248-14.cc" Exec exec xterm -sl 500 -T du248-14.cc -e telnet du248-14.cc&
+ "du248-15.cc" Exec exec xterm -sl 500 -T du248-15.cc -e telnet du248-15.cc&
+ "" Nop
+ "du248-16.cc" Exec exec xterm -sl 500 -T du248-16.cc -e telnet du248-16.cc&
+ "du248-17.cc" Exec exec xterm -sl 500 -T du248-17.cc -e telnet du248-17.cc&
+ "du248-18.cc" Exec exec xterm -sl 500 -T du248-18.cc -e telnet du248-18.cc&
+ "du248-19.cc" Exec exec xterm -sl 500 -T du248-19.cc -e telnet du248-19.cc&

#- - - - - - - - - -

DestroyMenu Remote-Login
AddToMenu Remote-Login "Remote Login" Title
+ "Computer Science" Popup ComSci
+ "" Nop
+ "Computation Center" Popup ISUCC
+ "" Nop
+ "Communications Servers" Popup ComServ
+ "" Nop
+ "Durham 89" Popup du89
+ "Durham 139" Popup du139
+ "Durham 248" Popup du248

#------------------------------------------------------------------------------
# Help Room Staff Only Applications
#------------------------------------------------------------------------------
DestroyMenu hrstaff
AddToMenu hrstaff "Help Room Apps" Title
+ "netconsole" Exec exec xterm -sl 500 -fn 10x20 -T Netconsole -e telnet -l nocol safe.iastate.edu&
+ "xmconval" Exec exec xmconval_cl&
+ "olcr" Exec exec xterm -sl 500 -fn 10x20 -T "On-Line Consulting" -e olcr&

#------------------------------------------------------------------------------
# Shit I'm playing with
#------------------------------------------------------------------------------
DestroyMenu shit
AddToMenu shit "Shit" Title
+ "MyTalk" Module MyTalk
+ "MyFvwmTalk" Module MyFvwmTalk

#------------------------------------------------------------------------------
# Root Menu
#------------------------------------------------------------------------------
DestroyMenu Utilities
AddToMenu Utilities "Utilities" Title
+ "Programs" Popup Applications
+ "Settings" Popup Setups
+ "Modules" Popup Module-Popup
+ "" Nop
+ "Remote Login" Popup Remote-Login
+ "" Nop
# + "Shit" Popup shit
# + "" Nop
+ "Unfuck (mkpwd)" Exec exec mkpwd
+ "" Nop
+ "Refresh Screen" Refresh
+ "Reload Resources" Exec exec xrdb -load $HOME/.Xresources
+ "Lock Display" Exec exec /afs/isu/rental/kerplunk/bin/_at_sys/xlockmore -mode random -nice 10 &
+ "Restart/Quit" Module RestartLogout

#------------------------------------------------------------------------------
DestroyMenu Window-Ops
AddToMenu Window-Ops "Window Ops" Title
+ "Identity" Module FvwmIdent
+ "" Nop
+ "Move" Move
+ "Resize" Resize
+ "Raise" Raise
+ "Lower" Lower
+ "(De)Iconify" Iconify
+ "(Un)Stick" Stick
+ "(Un)Maximize" Function maximize_func
+ "(Un)Maximize Vertical" Maximize 0 100
+ "" Nop
+ "Destroy" Destroy
+ "Delete" Delete

#------------------------------------------------------------------------------
DestroyMenu Window-Ops2
AddToMenu Window-Ops2
+ "Identity" Module FvwmIdent
+ "" Nop
+ "Move" Move
+ "Resize" Resize
+ "Raise" Raise
+ "Lower" Lower
+ "(De)Iconify" Iconify
+ "(Un)Stick" Stick
+ "(Un)Maximize" Maximize
+ "(Un)Maximize Vertical" Maximize 0 100
+ "" Nop
+ "Destroy" Destroy
+ "Delete" Delete
+ "" Nop
+ "Scroll Bar" Module FvwmScroll 2 2

#==============================================================================
# WHEW! one more complex function now
#==============================================================================
#------------------------------------------------------------------------------
# This creates a motif-ish sticky menu for the title-bar window-ops
# popup. Menu acts like normal twm menu if you just hold the button down,
# but if you click instead, the menu stays up, motif style
#--------------------------------------------------------------------------
#
DestroyFunc window_ops_func
AddToFunc window_ops_func
+ C Menu Window-Ops2
+ M Menu Window-Ops2

#==============================================================================
# Mouse and button bindings...
#==============================================================================
#-----------------------------------------------------------------------------
# Call me a loser if you want, but i quite like the Windows 95 title bar
# buttons, so let's define the right hand title bar buttons to be a
# little like those
#------------------------------------------------------------------------
#
ButtonStyle 2 (Solid purple4 -- Flat)
AddButtonStyle 2 Inactive (Solid brown4)
AddButtonStyle 2 (Pixmap close-up.xpm)
AddButtonStyle 2 ActiveDown (Pixmap close-down.xpm)
ButtonStyle 4 (Solid purple4 -- Flat)
AddButtonStyle 4 Inactive (Solid brown4)
AddButtonStyle 4 (Pixmap maximize-up.xpm -- Left)
AddButtonStyle 4 ActiveDown (Pixmap maximize-down.xpm -- Left)
ButtonStyle 6 (Solid purple4 -- Flat)
AddButtonStyle 6 Inactive (Solid brown4)
AddButtonStyle 6 (Pixmap minimize-up.xpm -- Right)
AddButtonStyle 6 ActiveDown (Pixmap minimize-down.xpm -- Right)

#-----------------------------------------------------------------------------
# For the left side, we'll have a "system" button, then we'll define two
# more: a lower (down arrow) and an "identity" (I)
#--------------------------------------------------
#

ButtonStyle 1 Solid black -- Flat
AddButtonStyle 1 MiniIcon

#-----------------------------------------------------------------------------
# First, for the mouse in the root window
#
# Button 1 gives the Utilities menu
# Button 2 gives the Window Ops menu
# Button 3 gives the WindowList (like TwmWindows)
#-------------------------------------------------
#
# Button Context Modifi Function
Mouse 1 R A Menu Utilities
Mouse 2 R A Menu Window-Ops
Mouse 3 R A Module FvwmWinList transient

#-----------------------------------------------------------------------------
# Now the title bar buttons
#
# Any button in the left-left title-bar button (button 1) gives the
# window ops menu
# Any button in the left-center title-bar button (button 3) gives
# information about the window (calls FvwmIdent on the window)
# Any button in the left-right title-bar button (button 5) makes the
# window "sticky"
#
# Any button in the right-left title-bar button (button 8) lowers the
# window
# Any button in the right-left-center title-bar button (button 6)
# iconifies the window
# Any button in the right-right-center title-bar button (button 4)
# maximizes the window
# Any button in the right-right title-bar button (button 2) closes
# (deletes or destroys - depends on app) the window
#------------------------------------------------------------------------
#
# Button Context Modifiers Function
Mouse 0 1 A Popup Window-Ops2
# Mouse 0 3 A Module FvwmIdent
# Mouse 0 5 A Stick
Mouse 0 2 A Close
Mouse 0 4 A Function maximize_func
Mouse 0 6 A Iconify

#-----------------------------------------------------------------------------
# Now the rest of the frame
#---------------------------
#
#--------------------------------------------------------------------------
# Button 1 in the corner pieces, with any modifiers, gives resize or raise
#
Mouse 1 FS A Function Resize-or-Raise

#------------------------------------------------------------------------
# Button 1 in the title, or sides, w/ any modifiers, gives move or raise
Mouse 1 T A Function Move-or-Raise

#----------------------------------------------------------------------------
# Button 1 in an icons gives move for a drag, de-iconify for a double-click,
# nothing for a single click
#
Mouse 1 I A Function Move-or-Iconify

#---------------------------------------------------------
# Button 2 in an icon, w/ any modifiers, gives de-iconify
#
Mouse 2 I A Iconify

#------------------------------------------------------------------------
# Button 2 in the corners, sides, or title-bar gives the window ops menu
#
# Mouse 2 FST A Function window_ops_func
Mouse 2 T A Stick

#--------------------------------------------------------------------
# Button 3 anywhere in the decoration (except the title-bar buttons)
# does a raise-lower
#
Mouse 3 TSIF A RaiseLower

#-----------------------------------------------------------------------------
# Button 1 in the window, with the Modifier-1 key (usually alt or diamond),
# gives Raise-Lower. Used to use control here, but that interferes with
# xterm
#
# Button 2 in the window, with the Modifier-1 key, resizes the window
#
# Button 3 in the window, with the Modifier-1 key, moves the window
#
Mouse 1 W M RaiseLower
Mouse 2 W M Resize
Mouse 3 A M Move

#==============================================================================
# keyboard shortcuts are here
#==============================================================================
#-----------------------------------------------------------------------------
# Arrow Keys
# press arrow + meta anywhere, and scroll by 1 page
#---------------------------------------------------
#
Key Left A M Scroll -100 0
Key Right A M Scroll +100 +0
Key Up A M Scroll +0 -100
Key Down A M Scroll +0 +100

#-----------------------------------------------------------------------------
# press arrow + control key, and scroll by 1/10 of a page
#---------------------------------------------------------
#
Key Left A C Scroll -10 +0
Key Right A C Scroll +10 +0
Key Up A C Scroll +0 -10
Key Down A C Scroll +0 +10

#-----------------------------------------------------------------------------
# press shift arrow + control anywhere, and move the pointer by 1% of a page
#----------------------------------------------------------------------------
#
Key Left A SC CursorMove -1 +0
Key Right A SC CursorMove +1 +0
Key Up A SC CursorMove +0 -1
Key Down A SC CursorMove +0 +1

#-----------------------------------------------------------------------------
# press shift arrow + meta key, and move the pointer by 1/10 of a page
#----------------------------------------------------------------------
#
Key Left A SM CursorMove -10 +0
Key Right A SM CursorMove +10 +0
Key Up A SM CursorMove +0 -10
Key Down A SM CursorMove +0 +10

#-----------------------------------------------------------------------------
# Keyboard accelerators
#-----------------------
#
Key F1 A M Popup "Utilities"
Key F2 A M Popup "Window Ops"
Key F3 A M Module "WindowList" FvwmWinList
Key F4 A M Iconify
Key F5 A M Move
Key F6 A M Resize
Key F7 A M CirculateUp
Key F8 A M CirculateDown
Key F9 A A Function warp-or-run Emacs "Exec emacs&"

Key Tab A M Next Focus
Key Next A A Next Focus
Key Prior A A Prev Focus

#------------------------------------------------------------------------------
# The following keyboard shortcuts are real handy for moving between our
# desktops, and the pages on them.
#
# PF1, PF2, PF3, PF4 - will change to the desktop numbered 1 less than
# the fcn key number
#
# The numeric keypad numbers (1-9) with the alt/compose/meta character
# will put us on the page corresponding to the key's position. i.e.,
# M-7 will switch to the top left page, M-3 to the bottom right...
#
# Key KP_F1 A A Desk 0 0
# Key KP_F2 A A Desk 0 1

#Key KP_1 A A GotoPage 0 2
#Key KP_2 A A GotoPage 1 2
#Key KP_3 A A GotoPage 2 2
#Key KP_4 A A GotoPage 0 1
#Key KP_5 A A GotoPage 1 1
#Key KP_6 A A GotoPage 2 1
#Key KP_7 A A GotoPage 0 0
#Key KP_8 A A GotoPage 1 0
#Key KP_9 A A GotoPage 2 0

#==============================================================================
# Definitions used by the modules
#==============================================================================
#------------------------------------------------------------------------------
# FvwmButtons button-bar
#------------------------
#
*FvwmButtonsBack LightGray
*FvwmButtonsFore black
*FvwmButtonsFont -*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmButtonsGeometry +1-1
*FvwmButtonsRows 1

*FvwmButtons(Padding 6 4, Action 'Function warp-or-run Netscape \
             "Exec /afs/isu/rental/kerplunk/bin/_at_sys/netscape &"') Mozilla
*FvwmButtons(Action 'Function warp-or-run Mosaic \
             "Exec /afs/isu/rental/kerplunk/bin/_at_sys/mosaic &"') Mosaic
*FvwmButtons(Action 'Function warp-or-run Emacs "Exec emacs&"') emacs
*FvwmButtons(Action 'Exec "xterm" xterm&', \
     Action(Mouse 3) 'Popup Remote-Login', \
     Action(Mouse 2) 'Module RemoteHost') XTerm
*FvwmButtons(Action 'Function warp-or-run olcr "Exec xterm -font 10x20 -e olcr &') olcr
*FvwmButtons(Action 'Function warp-or-run xv "Exec \
             /afs/isu/rental/kerplunk/bin/_at_sys/xv &"') xv
*FvwmButtons(Action 'Exec "" /afs/isu/rental/kerplunk/private/panic') PANIC!
*FvwmButtons(Action 'Exec "" /afs/isu/rental/kerplunk/bin/_at_sys/xlockmore -mode \
             random -nice 10&') Lock
*FvwmButtons(Action 'Restart fvwm2') Restart
*FvwmButtons(2x1 Frame -3 Swallow(NoClose, UseOld) "XDaliClock" \
             'Exec nice /afs/isu/rental/kerplunk/bin/_at_sys/xdaliclock \
             -noseconds -fn "-*-helvetica-bold-r-*-*-17-*-*-*-*-*-*-*" \
             -fg black -bg LightGray -bw 0 -geometry 130x50-1500-1500 &')
*FvwmButtons(Back brown4, Fore LightGray, Action 'Quit') Logout


*ButtonBarBack LightGray
*ButtonBarFore black
*ButtonBarGeometry +1-26
*ButtonBarRows 1
*ButtonBar(Frame -2, Size 125 50, Back LightGray, Swallow(NoClose, UseOld) "XLoad" \
        'Exec nice xload -fg black -bg LightGray -geometry -1500-1500 \
        -nolabel &')
*ButtonBar(Size 100 50, Swallow "FvwmPager" "FvwmPager 0 1")


#------------------------------------------------------------------------------
# Window Identifier
#-------------------
#
*FvwmIdentFore White
*FvwmIdentBack Purple4
*FvwmIdentFont -adobe-helvetica-medium-r-normal-*-*-100-*-*-*-*-*-*

#------------------------------------------------------------------------------
# Pager
#-------
#
*FvwmPagerGeometry +1-1
*FvwmPagerFont -adobe-helvetica-medium-r-normal-*-*-*-*-*-*-*-*-*
*FvwmPagerFore LightGray
*FvwmPagerBack black
*FvwmPagerHilight Purple4
*FvwmPagerLabel 0 Main
*FvwmPagerLabel 1 Blargh!

#------------------------------------------------------------------------------
# FvwmWinList
#-------------
#
*FvwmWinListGeometry +0-1
*FvwmWinListFont -*-helvetica-medium-r-normal-*-*-100-*-*-*-*-*-*
*FvwmWinListFore black
*FvwmWinListBack LightGray
*FvwmWinListIconFore black
*FvwmWinListAction Click1 Iconify -1,Focus
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList
*FvwmWinListLeftJustify

#------------------------------------------------------------------------------
# Restart/Logout Form
#---------------------
*RestartLogoutGrabServer
*RestartLogoutWarpPointer
*RestartLogoutFont -*-helvetica-*-r-*-*-14-*-*-*-*-*-*-*
*RestartLogoutButtonFont -*-helvetica-*-o-*-*-14-*-*-*-*-*-*-*
*RestartLogoutFore Black
*RestartLogoutBack LightGray
*RestartLogoutItemFore Wheat
*RestartLogoutItemBack Gray50
*RestartLogoutLine center
*RestartLogoutLine center
*RestartLogoutText "Restart FVWM or Quit?"
*RestartLogoutLine center
*RestartLogoutLine expand
*RestartLogoutButton quit "Restart" ^M
*RestartLogoutCommand Restart fvwm2
*RestartLogoutButton quit "Logout"
*RestartLogoutCommand Quit
*RestartLogoutButton quit "Cancel" ^[
*RestartLogoutCommand Nop
Style "RestartLogout" NoTitle,NoHandles,BorderWidth 3

#------------------------------------------------------------------------------
# This is basically just garbage that I'm playing with...
#---------------------------------------------------------
#
# MyTalk Form
*MyTalkWarpPointer
*MyTalkFont *helvetica*m*r*n*14*
*MyTalkButtonFont *helvetica*m*o*n*14*
*MyTalkInputFont *cour*m*r*n*14*
*MyTalkFore Red
*MyTalkBack Gray
*MyTalkItemFore Blue
*MyTalkItemBack Gray
*MyTalkLine center
*MyTalkText "Fvwm Function"
*MyTalkInput Func 40 ""
*MyTalkLine expand
*MyTalkButton quit "Run" ^M
*MyTalkCommand $(Func)
*MyTalkButton restart "Clear" ^R
*MyTalkButton quit "Cancel" ^C
*MyTalkCommand Nop

# MyFvwmTalk Form
*MyFvwmTalkWarpPointer
*MyFvwmTalkFont *helvetica*m*r*n*14*
*MyFvwmTalkButtonFont *helvetica*m*o*n*14*
*MyFvwmTalkInputFont *cour*m*r*n*14*
*MyFvwmTalkFore Red
*MyFvwmTalkBack Gray
*MyFvwmTalkItemFore Blue
*MyFvwmTalkItemBack Gray
*MyFvwmTalkLine center
*MyFvwmTalkText "Fvwm Function"
*MyFvwmTalkInput Func 40 ""
*MyFvwmTalkLine expand
*MyFvwmTalkButton restart "Run" ^M
*MyFvwmTalkCommand $(Func)
*MyFvwmTalkButton restart "Clear" ^R
*MyFvwmTalkCommand Nop
*MyFvwmTalkButton restart "Iconify" ^Z
*MyFvwmTalkCommand Next [MyFvwmTalk] Iconify
*MyFvwmTalkButton quit "Quit" ^C
*MyFvwmTalkCommand Nop

# Form to specify a host to telnet to
*RemoteHostWarpPointer
*RemoteHostBack Gray
*RemoteHostFore Red
*RemoteHostItemBack Gray
*RemoteHostItemFore Blue
*RemoteHostFont *helvetica*m*r*n*14*
*RemoteHostButtonFont *helvetica*m*o*n*14*
*RemoteHostInputFont *cour*m*r*n*14*
*RemoteHostLine left
*RemoteHostText "Enter Remote Host:"
*RemoteHostInput Host 40 ""
*RemoteHostLine left
*RemoteHostLine left
*RemoteHostText "Enter User (optional):"
*RemoteHostInput User 8 ""
*RemoteHostLine left
*RemoteHostLine expand
*RemoteHostButton quit "Connect" ^M
*RemoteHostCommand Exec xterm -sl 2048 -T $(Host) -e telnet \
                                        $(User?-l $(User)) $(Host)
*RemoteHostButton restart "Clear" ^U
*RemoteHostCommand Nop
*RemoteHostButton quit "Cancel" ^C
*RemoteHostCommand Nop



--
"an unbearable pain, a beating in my brain, that leaves the mark of
 cain, right here inside...what am i supposed to do, when everything
 that i've done, is leading me to conclude, i'm not the one...whatever
 i've done, i've been staring down the barrel of a gun..." -- dM.
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Jan 24 1997 - 12:31:15 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST