################################################################
#  Plamo Linux 桼ե륵ץ for AfterStep
#                       MATSUMOTO Shoji (shom@i.h.kyoto-u.ac.jp)
#          modified by  NISHII Jun   (nishi@postman.riken.go.jp)
#          modified by  MANOME Tomonori (manome@itlb.te.noda.sut.ac.jp)
#          modified by  Chisato Yamauchi (cyamauch@phyas.aichi-edu.ac.jp)
#                            Time-stamp: <2003-06-01 20:06:34 cyamauch>

# /usr/X11R6/lib/X11/afterstep/system.steprc 򥫥ޥΤǤ

# 03/08/97 sample.steprc v2.0 fsf ffejes@midway.uchicago.edu
             ############################################
             # The AfterStep v1.0 Default Configuration #
             ############################################
    ##############################################################
    # Official Web Site:                                         # 
    #             http://afterstep.edoc.com                      #
    # Official FTP Site:                                         # 
    #             ftp://afterstep.foo.net/pub/AfterStep          #
    # European Mirror Sites:                                     #
    #             ftp://ftp.asta.uni-essen.de/pub/Afterstep      #
    #             ftp://garfield.sch.bme.hu/pub/Linux/AfterStep  #
    # Additional Web Sites:                                      #
    #             http://afterstep.foo.net                       #
    #             http://apollo.gmi.edu/~kram1968/afterstep      #
    #             http://www.iis.ee.ethz.ch/~kiwi/AfterStep      #
    ##############################################################

#///////////////////////////////////#
# Distinctive Look and Feel Section #
#///////////////////////////////////#
# - StdForeColor
#    Foreground color for unfocused windows
# - StdBackColor
#    Background color for unfocused windows and handle color
# - HiForeColor
#    Text color for focused windows, menu highlights, and MenuTitle text
# - HiBackColor
#    Background Color of focused window and MenuTitle border
# - MenuBackColor
#    Menu Border Color
# - MenuForeColor
#    Menu Text Color

StdForeColor		#ffffff
StdForeShadow		#707070
StdBackColor		#bebebe
HiForeColor		#ffffff
HiForeShadow		#505050
MenuBackColor		#ffffff
MenuForeColor		#101010
MenuStippleColor	#e0e0e0
BorderColor		#e0e0e0

# Set Gradient Texture Mapping
# Define the texture type for the TitleBars, unfocused TitleBars,
# Menu TitleBars, Menu Items, etc.
#   0 - No texture
#   1 - Wharf-style gradient
#   2 - Horizontal one way gradient
#   3 - Horizontal from top/bottom to center
#   4 - Vertical one way gradient from left to right
#   5 - Vertical from left/right to center
# 128 - User specified pixmap
TextureTypes 2 2 1 1 4 0

# Set the number of colors to use on textures.
# Default is 10 on 8bpp screens and 128 on +16bpp.
# TextureMaxColors 10 10 10 10

# Texture Colors, given in Standard RGB X numbering
#
# - TitleTextureColor
#    Window TitleBar textures
# - UTitleTextureColor
#    Unfocused TitleBar textures
# - MTitleTextureColor
#    Menu TitleBar textures
# - MenuTextureColor
#    Menu Item textures

# SteelBlue
#HiBackColor			#3989e6
#TitleTextureColor	#8bbeff #3989e6
#UTitleTextureColor	#cde6ff #accef6
#MTitleTextureColor	#8bbeff #3989e6
#MenuTextureColor	#f0f3f6 #ccd9e6

# Purple
HiBackColor			#8939e6
TitleTextureColor	#be8bff #8939e6
UTitleTextureColor	#e6cdff #ceacf6
MTitleTextureColor	#be8bff #8939e6
MenuTextureColor	#f3f0f6 #d9cce6

# Sandy brown
#HiBackColor			#e68939
#TitleTextureColor	#ffbe8b #e68939
#UTitleTextureColor	#ffe6cd #f6ceac
#MTitleTextureColor	#ffbe8b #e68939
#MenuTextureColor	#f6f3f0 #e6d9cc

# HotPink
#HiBackColor			#e63989
#TitleTextureColor	#ff8bbe #e63989
#UTitleTextureColor	#ffcde6 #f6acce
#MTitleTextureColor	#ff8bbe #e63989
#MenuTextureColor	#f6f0f3 #e6ccd9

# SeaGreen
#HiBackColor			#39e689
#TitleTextureColor	#8bffbe #39e689
#UTitleTextureColor	#cdffe6 #acf6ce
#MTitleTextureColor	#8bffbe #39e689
#MenuTextureColor	#f0f6f3 #cce6d9

# Alignment  of the window title
# 1:left 2:right 3:center
TitleTextAlign 1

# Set some cursors
Cursor 6 2    # Set the WAIT cursor to the normal left_ptr
Cursor 7 34   # Set the SELECT (iconify) cursor
Cursor 8 88   # Set the DESTROY cursor

# Don't change the titlebar's highlight's upon mouse click
TitlebarNoPush
# Gives titles to icons
IconTitle

# Icon textures
ButtonMaxColors         4096
ButtonTextureType       1
ButtonTextureColor      #f7f7ff #4f4f6f

# Menu Font
#Font            -adobe-helvetica-medium-o-*-*-12-*-*-*-*-*-*-*
#Font             -adobe-helvetica-medium-o-*-*-12-*-*-*-*-*-iso8859-1,-*--14-*
Font             -adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1,-*-fixed-medium-r-normal--12-*
# Window TitleBar Font
#WindowFont      -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
WindowFont	-adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-iso8859-1,-*-fixed-bold-r-normal--12-*
# Icon Font
#IconFont        -adobe-helvetica-medium-o-*-*-12-*-*-*-*-*-*-*
IconFont	-adobe-helvetica-medium-o-*-*-10-*-*-*-*-*-iso8859-1,-*-fixed-medium-r-normal--12-*
# Area where icons should show up (RightX, RightY, LeftX, LeftY)
#IconBox 0 -64 -1 -1
IconBox 0 -82 -1 -19

#//////////////////#
# Window Placement #
#//////////////////#
# RandomPlacement prevents user interaction while placing windows:
#RandomPlacement

# SmartPlacement makes new windows pop-up in blank regions of screen 
# if possible, otherwise falls back to random or interactive placement
SmartPlacement

# Percentage of a page (horizontal, vertical) to scroll when the 
# cursor reaches the edge of a page ... 0 0 turns off scrolling
#EdgeScroll 0 0
EdgeScroll 50 50

# Amount of Resistance for moving from desk to desk with the
# mouse ... 0 0 allows for only window moves and resizes to
# reach into the next desk
#EdgeResistance 0 0
EdgeResistance 500 10

# Raise the Window when it is clicked on, but do not pass the click
# on to the application ... very handy for text editors
# Change 1 to 0 in order to get the "normal" ClickToFocus effect
ClickToFocus 1

# Raise the Window when the mouse travels into it and keep focus
# until the mouse enters a new window
SloppyFocus

# Miscellaneous voodoo commands - they may help you, they may not
#AppsBackingStore
#BackingStore
#SaveUnders

# This style of window movement draws the entire window as it
# moves, instead of the "rubber-band" outlines
# It has a number (N) attached to it (default 5).  If the 
# window occupies less than N% of the screen, OpaqueMove is 
# used. 0 <= N <= 100 
OpaqueMove 100
#OpaqueMove 0

# NoPPosition instructs fvwm to ignore the PPosition field in window 
# geometry hints.
# Emacs annoyingly sets PPosition to (0,0)!
#NoPPosition

#////////////////////////#
# Miscellaneous Settings #
#////////////////////////#
# Set windows to auto-raise after 325 milliseconds if you like it.
# Use with SloppyFocus or focus-follows-mouse mode
#Module Auto 325
#Module Auto 10

# If you don't like the default 150 msec click delay for the complex functions
# change this.
ClickTime 150

# Don't change to an icon when using Alt-Tab to page through open windows
CirculateSkipIcons

# StubbornIcons makes icons de-iconify into their original position on the
# desktop, instead of on the current page.
#StubbornIcons

# Place a TitleBar and Handles on popup windows and dialog boxes
DecorateTransients

# With AutoPlacement, icons will normally place themselves underneath active
# windows. This option changes that.
#StubbornIconPlacement

# If you want ALL you icons to follow you around the desktop (Sticky), try
# this
StickyIcons

#///////////////////////////#
# Pager and Virtual Desktop #
#///////////////////////////#
# Set up the virtual desktop and pager
# Set the desk top size in units of physical screen size
DeskTopSize 3x3
# Sets the reduction scale used for the Pager
DeskTopScale 32
# New options for Plamo-3.1
CirculateWithoutPaging
AutoActivateWhenPaging

#//////////////#
# Common Paths #
#//////////////#
# ModulePath is a colon-separated list, just like a regular unix PATH
# Any Module must be found within the path in order to be located
# and executed
ModulePath          /usr/X11R6/lib/X11/afterstep/
# Another colon-separated list pointing to your pixmaps (color icons)
PixmapPath          /usr/X11R6/include/X11/pixmaps/afterstep/:/usr/X11R6/include/X11/pixmaps/:/usr/share/pixmaps/
# Path for your ugly black&white icons
IconPath            /usr/X11R6/include/X11/bitmaps/

# Various styles which can be associated with specific applications
# Sticky -- remains "stuck" on all desks
# NoTitle -- window has NoTitle
# StaysOnTop -- a regular window will not obscure this window
# WindowListSkip -- this window will not show up in the
#   window listing which can be used with a MiddleClick in 
#   the root window (main background)
# NoHandles -- No bottom bar
Style "oclock" Sticky, NoTitle, StaysOnTop, WindowListSkip
Style "*Pager" NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
Style "XBiff" NoTitle, NoHandles, WindowListSkip
Style "Minitabx11" StaysOnTop
Style "Wharf" NoFocus,NoTitle, Sticky, WindowListSkip,StaysOnTop, NoHandles
Style "WinList" NoFocus,NoTitle, Sticky, WindowListSkip,StaysOnTop, NoHandles
Style "Banner"	NoTitle, NoHandles, WindowListSkip, Sticky, StaysOnTop
Style "XMMS*" NoTitle, NoHandles
Style "xmascot" NoTitle, NoHandles, Sticky
Style "EmiClock" NoTitle, NoHandles, Sticky
Style "Kinput2" NoFocus, NoTitle, WindowListSkip, NoHandles
Style "Jp.co.justsystem.atok12.LookupAux" NoFocus, NoTitle, WindowListSkip, NoHandles
Style "MozillaImStatus" NoTitle, WindowListSkip, NoHandles
Style "ASTIME" NoHandles, NoTitle
Style "ASAPM" NoHandles, NoTitle
Style "ASMON" NoHandles, NoTitle

##################################
# Animated Iconize Customization #
##################################
Module Animate
# Draw the lines with black
*AnimateColor Black
# Delay 1 ms in between frames of animation
*AnimateDelay 1
# Break the animation into 24 steps
*AnimateIterations 24
# Make 1 full revolution in a twisted animation
*AnimateTwist 0.5
# Width of line used to animate...0 fastest, larger numbers slower
*AnimateWidth 0
# the method of resizing (zoom or twist)
#*AnimateResize zoom
*AnimateResize twist

#/////////////////////#
# Wharf Customization #
#/////////////////////#
# Customize your Wharf -- the pushable, pullable button bar on the right 
# hand of your display
Module Wharf 
# Animate Wharf's folders
*WharfAnimate
# Animate Wharf's compression into one icon
*WharfAnimateMain
# Start on the right top side of the screen
*WharfGeometry -0+0
# One vertical column
*WharfColumns 1 
# Wharf textures
*WharfMaxColors         4096
*WharfTextureType       1
*WharfTextureColor      #f7f7ff #4f4f6f
*WharfNoBorder
#
*WharfAnimateDelay      0
*WharfAnimateSteps      5
*WharfAnimateStepsMain  5
#
*WharfBalloons
# tipLabel of Netscape :-)
*WharfBalloonBack        #ffffcc
*WharfBalloonFore        Black
*WharfBalloonBorderColor Black
*WharfBalloonBorderWidth 1
*WharfBalloonFont        -adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*,-*-fixed-medium-r-normal--12-*
*WharfBalloonYOffset     +0
*WharfBalloonDelay       200

# Create a pullout "Folder" as the first button on Wharf
*Wharf AfterStep AfterStep3.xpm Folder
  # Include all desired icons for this initial Folder here
  # The first listed will be closest to Wharf upon expansion
  # The last will be furthest
  # This first will shut down AfterStep
*Wharf Shutdown  shutdown.xpm  Quit
  # Edit this file in its own window
*Wharf config interface.xpm Exec "-" exec kterm -n "Config" -T "AfterStep Configuration" -e vi ~/.steprc &
  # Recycle your AfterStep session (Restart)
*Wharf Restart  recycler.xpm  Restart " " afterstep
  # Lock the display and use a random screensaver from the modelist
*Wharf xlock KeysOnChain.xpm Exec "-" exec xlock -modelist "braid flame grav pyro qix rock spiral spline swarm worm" -mode random -duration 0 -allowroot -usefirst &
  # Close the Folder
*Wharf ~Folder
  # Add a "Beat"iful little timepiece 
  # MaxSwallow it in order to fit the full button
#*Wharf clock nil Swallow "asclock" asclock -12 -shape -position -1-1 &
*Wharf clock nil Swallow "astime" astime -geometry -4+69 -min magenta -exe emiclock &
  # APM Monitor
*Wharf APM nil Swallow "asapm" asapm -position -4+136 & 
  # CPU Load Monitor
#*Wharf Load nil Swallow "ascpu" ascpu -position -1-1 &
  # Memory Monitor
#*Wharf Memory nil Swallow "asmem" asmem -position -1-1 &
  # System Monitor
*Wharf System nil Swallow "asmon" asmon -position -0+192 -u -e 'xload -bw 5 -bg grey75 -fg grey25 -hl black -hl red' &
  # Mixer
#*Wharf Volume nil Swallow "asmix" asmix -geometry -55+306 -shape -exec smix &
  # Examine your computer's load
#*Wharf xload nil  Swallow "xload" xload -nolabel -hi red -fg "#282828" -bg "#8e8a9e" -geometry 48x48-1-1 &
  # Check for mail ... this time only use a regular Swallow in order
  # to capture the application in a 48x48 frame
#*Wharf xbiff   nil   Swallow "xbiff" xbiff -bg "#8e8a9e" -fg "#00003f" -geometry 45x45-1-1 &
  # Swallow a pager to quickly get an outlook on your virtual desktop
  # Click on the different "desks" to change in between them
*Wharf pager nil SwallowModule "Pager" Pager 0 0
  # Open up an kterm
*Wharf kterm GNUterm.xpm   Exec "-" exec kterm -geometry 80x25 &
  ##
  ## Netscape
  ##
*Wharf netscape netscape5.xpm FolderN
  # Start up Communicator
*Wharf communicator communicator5.xpm Exec "-" exec netscape &
  # Start up Mozilla
*Wharf mozilla mozilla5.xpm Exec "-" exec mozilla &
  # Start up Konqueror
*Wharf Konqueror konqueror1.xpm Exec "-" exec /opt/kde/bin/konqueror http://www.google.com/ &
  #
*Wharf ~FolderN
  ##
  ##
#*Wharf netscape netscape4.xpm Exec "-" exec netscape &
#*Wharf xload nil  Exec "" exec xterm -ut -T top -e top &
  ##
  ## MUA
  ##
*Wharf e-mail writeletter.xpm Folder2
  # Start up Mew
*Wharf mew mew.xpm Exec "-" exec emacs -f mew &
  # Start up Sylpheed
*Wharf sylpheed sylpheed.xpm Exec "-" exec sylpheed &
  ##
*Wharf ~Folder2
  ##
  ##
*Wharf Applications FileFolders.xpm Folder1
  # Start up xplns
#*Wharf xplns XPlns.xpm Exec "-" exec xplns &
  # Start up Konqueror
*Wharf filer paths.xpm Exec "-" exec /opt/kde/bin/konqueror &
  # Start up StarSuite
*Wharf StarSuite staroffice6.xpm Exec "-" exec soffice &
  # Start up Grip
*Wharf grip grip.xpm Exec "-" exec grip &
  # Start up smix
*Wharf smix mixer.xpm Exec "-" exec smix &
  # Start up tkNamazu
*Wharf tknamazu tk_namazu.xpm Exec "-" exec tknamazu &
  # Start up GNU Emacs
*Wharf emacs text.xpm Exec "-" exec emacs &
  #
*Wharf xv xv.xpm Exec "-" exec xv &
  # Create amazing art with the freeware masterpiece, The GIMP
*Wharf gimp wilber.xpm Exec "-" exec gimp &
  #
*Wharf xpaint 3dpaint.xpm Exec "-" exec xpaint &
  #
*Wharf tgif draw.xpm Exec "-" exec tgif &
  #
*Wharf gv Ghost.xpm Exec "-" exec gv &
  ##
*Wharf ~Folder1
  ##
  ##
#  # Read some mail
#*Wharf pine writeletter.xpm Exec "-" exec xterm -T "pine" -e pine &
#  # Surf the web
#*Wharf Netscape netscape4.xpm Exec "-" exec netscape &

#////////////////#
# Icon Selection #
#////////////////#
# Select some common icon bitmaps for applications named in
# column number two ... each icon file must be located in 
# your PixmapPath (color) or IconPath (b/w) as defined above 
Icon "*"	    YellowBlueRedGeometry.xpm
Icon "*Term"	    GNUterm.xpm
Icon "XGterm"	    monitor.xpm
Icon "Emacs"	    text.xpm
Icon "Netscape"	    communicator5.xpm
Icon "RealPlayer"   real.xpm
Icon "AcroRead"     pdf.xpm
Icon "xpdf"	    PDF.xpm
Icon "XMMS"         sound.xpm
Icon "pine"	    writeletter.xpm
Icon "ghostview"    Ghost.xpm
Icon "Celestia"	    celestia.xpm
Icon "Grip"	    grip.xpm
Icon "GV"	    Ghost.xpm
Icon "Gentoo"	    paths.xpm
Icon "smix*"	    mixer.xpm
Icon "Sylpheed"     sylpheed.xpm
Icon "Sketch"	    Draw.xpm
Icon "SKPanel"	    Draw.xpm
Icon "Tgif"	    draw.xpm
Icon "idraw"	    draw.xpm
Icon "TkNamazu"	    tk_namazu.xpm
Icon "Gimp"	    wilber.xpm
Icon "XConsole"	    linuxterm.xpm
Icon "Fig"	    draw.xpm
Icon "xmmix"	    mixer.xpm
Icon "XPaint"	    3dpaint.xpm
Icon "xli"	    monalisa.xpm
Icon "xv"	    xv.xpm
Icon "XDvi"	    xdvi.xpm
Icon "Xmaxima"	    Equation.xpm
Icon "Mozilla"      mozilla5.xpm
Icon "konqueror"    konqueror1.xpm
Icon "XPlns"	    XPlns.xpm
#Icon "xman"	    xman.xpm
#Icon "moxfm*"	    FileFolders.xpm
#Icon "Untitled*"    YellowBlueRedGeometry.xpm

#/////////////////////////#
# Initialization Function #
#/////////////////////////#
# Here we will put programs and modules that we wish to
# load up automatically upon startup
Function "InitFunction"
        # Wait until Wharf is done loading so that our kterm will have 
        # the focus when it is first created
	Wait	"I"	Wharf
	# Exec	"I"	exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/darkwood.jpg
	# Exec	"I"	exec kterm -geometry +4+4 -sl 256 -sb -ls -T 'kterm@afterstep.org' &
        # Place the green carpet image onto the background upon startup
        # I personally recommend xli/xloadimage, but xv seems to be
        # ubiquitous in the unix world so I'll use that 
	# Exec	"I"	exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/carpet.green.jpg
	#Exec	"I"	exec xsetroot -solid DarkGrey
EndFunction

# These will load up upon every subsequent Restart
#Function "RestartFunction"
#        Module  "I"     FvwmPager 0 0
#EndFunction

#///////////#
# Functions #
#///////////#
# Now define some handy complex functions
# Each function can be bound to a specific Mouse Button and
# a specific window location (Title, TitleButton, Root Window, 
# etc.) later on

# This one will Raise the window on a Single Click, Shade 
# (display only the TitleBar) on a DoubleClick, and make 
# the window uncoverable by all other non-OnTop windows 
# with a TripleClick.  A Click+Motion will move the
# window around
Function "Shade-or-Raise"
	Move		"Motion"
	Raise		"Click"
	Shade		"DoubleClick"
	PutOnTop	"TripleClick"
EndFunction

# This will move the window on mouse motion, maximize the
# window (while leaving space for Wharf on the right) with a 
# single MouseClick, roll up the window for a Shade with a 
# DoubleClick, and put the window on top of all other windows
# with a TripleClick (no regular window can be placed on top
# of this window until the ontop window has been taken 
# another PutOnTop TripleClick
Function "Maximize_Function"
	Move		"Motion"
	Maximize	"Click" 94 97
	Maximize	"DoubleClick" 0 97
	Maximize	"TripleClick" 94 0
#	Shade		"DoubleClick"
# 	PutOnTop	"TripleClick"
EndFunction

# This one moves or (de)iconifies:
# Icons will restore to full size with a single mouse click
# Change "Click" to "DoubleClick" or "TripleClick" as desired
Function "Move-or-Iconify"
	Move 		"Motion"
	Iconify		"Click"
EndFunction

# Pretty Simple...Mouse Motion Raises and Resizes the given
# window.   A mouse click will also Raise it.  DoubleClick
# will perform a Shade while TripleClick grants unobscurable
# status
Function "Resize-or-Raise"
	Resize 		"Motion"
	Raise		"Motion"
	Raise		"Click"
	Shade		"DoubleClick"
	PutOnTop	"TripleClick"
EndFunction

# This is provided as a hint only.
# Move to a known page on the desktop, then start an application in a
# known location. Could also switch to a known desktop, I guess
#Function "abs_coord"
#       GoToPage "Immediate"    1,1
#       Exec    "Immediate"     exec xcalc -geometry +100+100&
#EndFunction

#///////#
# Menus #
#///////#
# Now define the menus - defer bindings until later

# Here are some common applications...we will add this and the 
# following menus to our main HotList menu
Popup "Applications"
	Title "Applications"
	Exec   "Web֥饦 Netscape"	exec netscape &
	Exec   "Web֥饦 Mozilla"	exec mozilla &
	Exec   "KDE֥饦 Konqueror"	exec /opt/kde/bin/konqueror http://www.google.com/ &
	Exec   "RealPlayer"		exec realplay &
	Exec   "AcrobatReader"		exec acroread &
	Exec   "xpdf"			exec xpdf &
	Exec   "mp3ץ쥤䡼 XMMS"	exec xmms &
	Exec   "MIDIץ쥤䡼 TiMidity++"	exec timidity -iat &
#	Exec   "MIDIץ쥤䡼 TiMidity++"	exec timidity -igt &
#	Exec   "MIDIץ쥤䡼 TiMidity++"	exec timidity -ikt &
#	Exec   "MIDIץ쥤䡼 TiMidity++"	exec emacs -f timidity &
	Exec   "ե FD"		exec kterm -bg black -fg white +sb -T FD -e fd &
	Exec   "եޥ͡ Konqueror"	exec /opt/kde/bin/konqueror &
	Exec   "2̥ե gentoo"	exec gentoo &
	Exec   "ŷʸߥ졼 Xplns"	exec xplns &
	Exec   "ڡߥ졼 Celestia"	exec celestia &
	Exec   "pspdfӥ塼 gv"	exec gv &
	Exec   "ɥġ Tgif"	exec tgif &
	Exec   "ɥġ Sketch"	exec sketch &
	Exec   "ɥġ idraw"	exec idraw &
	Exec   "ɥġ Xfig"	exec xfig &
	Exec   "¿ǽ xv"	exec xv &
	Exec   "쥿åġ Gimp"	exec gimp &
	Exec   "ڥȥġ Xpaint"	exec xpaint &
        Exec   "Emacs (6x12 font)"	exec emacs -fn a12 -geometry 96x42 &
        Exec   "Emacs (7x14 font)"	exec emacs -fn a14 -geometry 96x38 &
        Exec   "Emacs (8x16 font)"	exec emacs -fn "-sony-fixed-medium-r-normal--16-*" -geometry 80x26 &
#	Exec	"WorkMan"	exec workman &
#	Exec   "vi"             exec xterm -T vi -e vi &
#	Exec   "The Gimp"       exec gimp &
#	Exec   "GNU Emacs"      exec emacs &
#	Exec   "Xxgdb"          exec xxgdb &
#	Exec   "Calculator"     exec xcalc &
EndPopup

Popup "ScientificApplications"
	Title "Scientific Applications"
	Exec   " Maxima"	exec xmaxima &
	Exec   "պ Gnuplot"	exec kterm -n gnuplot -e gnuplot &
	Exec   "պ Ngraph"	exec ngraph &
	Exec   "պ Grace"       exec xmgrace &
	Exec   "IRAFӥ塼 SAOImage DS9"	exec ds9 &
	Exec   "IRAFü xgterm"		exec xgterm &
EndPopup

Popup "Oneko"
	Title "Oneko"
	Exec	"ͥ"		exec oneko -neko &
	Exec	"ȥ"		exec oneko -tora &
	Exec	""		exec oneko -dog &
	Exec	"BSDǡ"	exec oneko -bsd_daemon &
	Exec	"Sakura"	exec oneko -sakura &
	Exec	"Tomoyo"	exec oneko -tomoyo &
	Exec	"λ"		exec killall oneko &
EndPopup

Popup "Accessories"
	Title "Accessories"
	Exec	"CDץ졼 grip"	exec grip &
	Exec	"ߥ smix"		exec smix &
#	Exec	"WorkMan"		exec workman &
	Exec	" xcalc"		exec xcalc &
	Exec	" xmag"		exec xmag &
	Exec	"ץ Emiclock"	exec emiclock &
	Exec	"ɥå xosmulti"   exec xosmulti &
	Exec	"ޥå xmascot"		exec xmascot &
	Popup	"ǭ oneko"			Oneko
	Exec	"顼ӥ塼 xcolorsel"	exec xcolorsel &
	Exec	"եȥӥ塼 xfontsel"	exec xfontsel -scale &
	Exec	"ǥ xedit"		exec xedit &
	Exec	"åץܡ xclipboard"	exec xclipboard &
	Exec	"ӥåȥޥåץǥ bitmap"	exec bitmap &
	Exec	"꥽ǥ editres"	exec editres &
	Exec	"꥽ӥ塼 viewres"	exec viewres &
	Exec	"ܶ xeyes"			exec xeyes &
	Exec	" xclock"			exec xclock &
	Exec	"顼ޥå xcmap"		exec xcmap &
	Exec	"եåǥ xgc"	exec xgc &
	Exec	"եޥ͡ xfm"	exec xfm &
EndPopup

Popup "Email"
        Title "e-mail"
        Exec   "Mew"		exec emacs -f mew &
        Exec   "Sylpheed"	exec sylpheed &
EndPopup

Popup "Proc"
	Title "Proc"
	Exec	"apm"		exec cat /proc/apm | xmessage -center -title '/proc/apm' -file - &
	Exec	"cmdline"	exec cat /proc/cmdline | xmessage -center -title '/proc/cmdline' -file - &
	Exec	"cpuinfo"	exec cat /proc/cpuinfo | xmessage -center -title '/proc/cpuinfo' -file - &
	Exec	"devices"	exec cat /proc/devices | xmessage -center -title '/proc/devices' -file - &
	Exec	"dma"		exec cat /proc/dma | xmessage -center -title '/proc/dma' -file - &
	Exec	"filesystems"	exec cat /proc/filesystems | xmessage -center -title '/proc/filesystems' -file - &
	Exec	"interrupts"	exec cat /proc/interrupts | xmessage -center -title '/proc/interrupts' -file - &
	Exec	"ioports"	exec cat /proc/ioports | xmessage -center -title '/proc/ioports' -file - &
	Exec	"meminfo"	exec cat /proc/meminfo | xmessage -center -title '/proc/meminfo' -file - &
	Exec	"modules"	exec cat /proc/modules | xmessage -center -title '/proc/modules' -file - &
	Exec	"mounts"	exec cat /proc/mounts | xmessage -center -title '/proc/mounts' -file - &
	Exec	"mtrr"		exec cat /proc/mtrr | xmessage -center -title '/proc/mtrr' -file - &
	Exec	"partitions"	exec cat /proc/partitions | xmessage -center -title '/proc/partitions' -file - &
	Exec	"pci"		exec cat /proc/pci | xmessage -center -title '/proc/pci' -file - &
	Exec	"rtc"		exec cat /proc/rtc | xmessage -center -title '/proc/rtc' -file - &
	Exec	"scsi/scsi"	exec cat /proc/scsi/scsi | xmessage -center -title '/proc/scsi/scsi' -file - &
	Exec	"slabinfo"	exec cat /proc/slabinfo | xmessage -center -title '/proc/slabinfo' -file - &
	Exec	"stat"		exec cat /proc/stat | xmessage -center -title '/proc/stat' -file - &
	Exec	"swaps"		exec cat /proc/swaps | xmessage -center -title '/proc/swaps' -file - &
	Exec	"uptime"	exec cat /proc/uptime | xmessage -center -title '/proc/uptime' -file - &
	Exec	"version"	exec cat /proc/version | xmessage -center -title '/proc/version' -file - &
EndPopup

Popup "Info"
	Title "Informations"
	Exec	"ƥ xosview"		exec xosview &
	Exec	"ץ top"		exec kterm -n top -e top &
	Exec	"ǥ df"		exec df -a | xmessage -center -title 'df' -file - &
	Exec	"ͥåȥ ifconfig"	exec /sbin/ifconfig | xmessage -center -title 'ifconfig' -file - &
	Exec	"ͥåȥ netstat"	exec netstat -a | xmessage -center -title 'netstat' -file - &
	Exec	"ͥ󥰥Хåե dmesg"	exec dmesg | xmessage -center -title 'dmesg' -file - &
	Exec	"ɺѥ⥸塼 lsmod"	exec /sbin/lsmod | xmessage -center -title 'lsmod' -file - &
	Exec	"ۥ vmstat"		exec vmstat | xmessage -center -title 'vmstat' -file - &
	Exec	"PCIǥХ lspci"	exec /sbin/lspci | xmessage -center -title 'lspci' -file - &
	Exec	"ϡɥ lsdev"	exec lsdev | xmessage -center -title 'lsdev' -file - &
	Exec	"ƥ procinfo"		exec procinfo -a | xmessage -center -title 'procinfo' -file - &
	Popup	"ƥ(ܺ) /proc"	Proc
	Exec	"Xǥץ쥤 xdpyinfo"	exec xdpyinfo | xmessage -center -title 'xdpyinfo' -file - &
	Exec	"X饤Ȱ xlsclients"	exec xlsclients | xmessage -center -title 'xlsclients' -file - &
	Exec	"XեȰ xlsfonts"	exec xlsfonts | xmessage -center -title 'xlsfonts' -file - &
	Exec	"ɥΥץѥƥ xprop"	exec xprop | xmessage -center -title 'xprop' -file - &
	Exec	"ɥ xwininfo"	exec xwininfo | xmessage -center -title 'xwininfo' -file - &
EndPopup

Popup "Help"
        Title "Help"
	Exec   "ʸƥ Tknamazu"	exec tknamazu &
EndPopup

Popup "Rlogin"
        Title "telnet"
        Exec   "telnet hogehost"	exec kterm -bg LightSteelBlue -fg black -title 'telnet hogehost' -e telnet hogehost &
        Exec   "ssh sechost"        exec kterm -bg LightSteelBlue -fg black -title 'ssh sechost' -e ssh sechost &
EndPopup

Popup "ncftp"
        Title "ftp"
        Exec  "ncftp sv.linet.gr.jp"	exec kterm -bg Thistle -fg black -title 'ncftp sv.linet.gr.jp' -e ncftp sv.linet.gr.jp &
#        Exec  "ncftp plamo.linet.gr.jp"	exec kterm -bg Thistle -fg black -title 'ncftp plamo.linet.gr.jp' -e ncftp plamo.linet.gr.jp &
        Exec  "ncftp sunsite.sut.ac.jp"	exec kterm -bg Thistle -fg black -title 'ncftp sunsite.sut.ac.jp' -e ncftp sunsite.sut.ac.jp &
        Exec  "ncftp ftp.lab.kdd.co.jp"	exec kterm -bg Thistle -fg black -title 'ncftp ftp.lab.kdd.co.jp' -e ncftp ftp.lab.kdd.co.jp &
        Exec  "ncftp ftp.ring.gr.jp"	exec kterm -bg Thistle -fg black -title 'ncftp ftp.ring.gr.jp' -e ncftp ftp.ring.gr.jp &
        Exec  "ncftp ftp.dnsbalance.ring.gr.jp"	exec kterm -bg Thistle -fg black -title 'ftp.dnsbalance.ring.gr.jp' -e ncftp ftp.dnsbalance.ring.gr.jp &
EndPopup

Popup "Shells"
        Title "Shells"
        Exec   "Kterm12 (6x12 font)"	exec kterm -fl "-*-fixed-medium-r-normal--12-*" -flb "-*-fixed-bold-r-normal--12-*" -title kterm12 &
        Exec   "Kterm14 (7x14 font)"	exec kterm -fl "-*-fixed-medium-r-normal--14-*" -flb "-*-fixed-bold-r-normal--14-*" -title kterm14 &
        Exec   "Kterm16 (8x16 font)"	exec kterm -fl "-*-fixed-medium-r-normal--16-*" -flb "-*-fixed-bold-r-normal--16-*" -title kterm16 &
        Exec   "Kterm24 (12x24 font)"	exec kterm -fl "-*-fixed-medium-r-normal--24-*" -flb "-*-fixed-bold-r-normal--24-*" -title kterm24 &
        Exec   "Xterm (7x14 font)"	exec xterm -fn 7x14 &
        Exec   "Large Xterm (10x20 font)"	exec xterm -fn 10x20 &
EndPopup

# Some diversionary tactics...xsnow is a personal favorite of mine
Popup "Games"
	Title "Games"
	Exec	" xshisen"	exec xshisen &
	Exec	"ѥ륲 xhakom"	exec xhakom &
	Exec	"᤬ sxsame"	exec sxsame &
	Exec	"Ѥ뤿 xpuzzletama"	exec xpuzzletama &
	Exec	"Υ x777"	exec x777 &
	Exec	"⤰餿 xmogura"	exec xmogura &
	Exec	"塼ƥ shoot"	exec shoot &
	Exec	"塼ƥ xkobo"	exec xkobo &
	Exec	"塼ƥ xsoldier"	exec xsoldier &
	Exec	"ޥ󥹥 yamsweeper"	exec yamsweeper &
	Exec	"Ϣ xrenju"	exec xrenju &
	Exec	" xnetmaj1"		exec xnetmaj1 &
	Exec	" knetmaj1"		exec knetmaj1 &
	Exec	"JNetHack"	exec jnethack &
#	Exec	"Xsnow"	 exec xsnow -nonopopup &
#	Exec	"Xboard"	exec xboard &
#	Exec	"XTetris"       exec xtetris &
#	Exec	"Xvier"	 exec xvier &
EndPopup

# Various ScreenSavers that lock the display
Popup "Xlock"
	Title	"Xlock"
	Exec	"Braid"		exec xlock -allowroot -usefirst -mode braid &
	Exec	"Flame"		exec xlock -allowroot -usefirst -mode flame &
	Exec	"Grav"		exec xlock -allowroot -usefirst -mode grav &
	Exec	"Pyro"		exec xlock -allowroot -usefirst -mode pyro &
	Exec	"Qix"		exec xlock -allowroot -usefirst -mode qix &
	Exec	"Rock"		exec xlock -allowroot -usefirst -mode rock &
	Exec	"Slip"		exec xlock -allowroot -usefirst -mode spiral &
	Exec	"Spline"	exec xlock -allowroot -usefirst -mode spline &
	Exec	"Swarm"		exec xlock -allowroot -usefirst -mode swarm &
	Exec	"Worm"		exec xlock -allowroot -usefirst -mode worm &
EndPopup

# Some administrative tasks...note that Config opens up an
# xterm and automatically edits this file
Popup "Utilities"
	Title  "Utilities"
        Exec    "Config"        exec kterm -T "AfterStep Configuration" -e vi ~/.steprc &
        Exec    "Top"           exec rxvt -T Top -n Top -e top &
	Popup	"Xlock"		Xlock
EndPopup

# This menu allows you to quit, although why you would want
# to do such a thing is beyond me
Popup "Quit-Verify"
	Title	"Quit?"
	Quit	"λ"
	Restart "ꥹ"	afterstep
	Nop	"λʤ"
	Nop	""
	Restart "WindowMakerư"	wmaker
	Restart "qvwmư"	qvwm
	Restart "fvwm2ư"	fvwm2
	Restart "mwmư"	mwm
	Restart "twmư"	twm
	Restart "ߡüư"	kterm
EndPopup

# Modules ... technically, asclock is a fully functioning
# program, but I like to think of it as a nice module 
Popup "Module-Popup"
	Title	"Modules"
	Exec    "asclock" exec asclock -12 -shape &
	Module  "Banner"  Banner
  Module  "Pager"   Pager 0 0
  Module  "Wharf"   Wharf
  Module  "WinList"   WinList
EndPopup

# Animations ... screen savers run as the default background
Popup "Animations"
	Title	"Animations"
	Exec	"Braid"		exec xlock -inroot -mode braid &
	Exec	"Flame"		exec xlock -inroot -mode flame &
	Exec	"Grav"		exec xlock -inroot -mode grav &
	Exec	"Pyro"		exec xlock -inroot -mode pyro &
	Exec	"Qix"		exec xlock -inroot -mode qix &
	Exec	"Rock"		exec xlock -inroot -mode rock &
	Exec	"Slip"		exec xlock -inroot -mode spiral &
	Exec	"Spline"	exec xlock -inroot -mode spline &
	Exec	"Swarm"		exec xlock -inroot -mode swarm &
	Exec	"Worm"		exec xlock -inroot -mode worm &
  # Stop the animation in the background
	Exec	"Stop It"	exec kill -9 $(ps aux | grep xlock | grep -v grep | awk '{print $2}')
EndPopup

# Colors ... quick way to chage desktop coloring
Popup "Colors_1"
	Title	"Colors(1)"
	Exec	"GreenYellow"		exec xsetroot -solid GreenYellow
	Exec	"Yellow"		exec xsetroot -solid Yellow
	Exec	"White"			exec xsetroot -solid White
	Exec	"Wheat"			exec xsetroot -solid Wheat
	Exec	"BlueViolet"		exec xsetroot -solid BlueViolet
	Exec	"Violet"		exec xsetroot -solid Violet
	Exec	"MediumTurquoise"	exec xsetroot -solid MediumTurquoise
	Exec	"DarkTurquoise"		exec xsetroot -solid DarkTurquoise
	Exec	"Turquoise"		exec xsetroot -solid Turquoise
	Exec	"Thistle"		exec xsetroot -solid Thistle
	Exec	"Tan"			exec xsetroot -solid Tan
	Exec	"Sienna"		exec xsetroot -solid Sienna
	Exec	"Salmon"		exec xsetroot -solid Salmon
	Exec	"VioletRed"		exec xsetroot -solid VioletRed
	Exec	"OrangeRed"		exec xsetroot -solid OrangeRed
	Exec	"MediumVioletRed"	exec xsetroot -solid MediumVioletRed
	Exec	"IndianRed"		exec xsetroot -solid IndianRed
	Exec	"Red"			exec xsetroot -solid Red
	Exec	"Plum"			exec xsetroot -solid Plum
	Exec	"Pink"			exec xsetroot -solid Pink
	Exec	"MediumOrchid"		exec xsetroot -solid MediumOrchid
	Exec	"DarkOrchid"		exec xsetroot -solid DarkOrchid
	Exec	"Orchid"		exec xsetroot -solid Orchid
	Exec	"Orange"		exec xsetroot -solid Orange
	Exec	"Maroon"		exec xsetroot -solid Maroon
	Exec	"Magenta"		exec xsetroot -solid Magenta
	Exec	"Khaki"			exec xsetroot -solid Khaki
	Exec	"Grey"			exec xsetroot -solid Grey
	Exec	"LightGray"		exec xsetroot -solid LightGray
	Exec	"DimGray"		exec xsetroot -solid DimGray
	Exec	"DarkSlateGray"		exec xsetroot -solid DarkSlateGray
	Exec	"YellowGreen"		exec xsetroot -solid YellowGreen
EndPopup

Popup "Colors_2"
	Title	"Colors(2)"
	Exec	"SpringGreen"		exec xsetroot -solid SpringGreen
	Exec	"SeaGreen"		exec xsetroot -solid SeaGreen
	Exec	"PaleGreen"		exec xsetroot -solid PaleGreen
	Exec	"MediumSpringGreen"	exec xsetroot -solid MediumSpringGreen
	Exec	"MediumSeaGreen"	exec xsetroot -solid MediumSeaGreen
	Exec	"LimeGreen"		exec xsetroot -solid LimeGreen
	Exec	"ForestGreen"		exec xsetroot -solid ForestGreen
	Exec	"DarkOliveGreen"	exec xsetroot -solid DarkOliveGreen
	Exec	"DarkGreen"		exec xsetroot -solid DarkGreen
	Exec	"Green"			exec xsetroot -solid Green
	Exec	"Goldenrod"		exec xsetroot -solid Goldenrod
	Exec	"Gold"			exec xsetroot -solid Gold
	Exec	"Brown"			exec xsetroot -solid Brown
	Exec	"Firebrick"		exec xsetroot -solid Firebrick
	Exec	"Cyan"			exec xsetroot -solid Cyan
	Exec	"Coral"			exec xsetroot -solid Coral
	Exec	"SteelBlue"		exec xsetroot -solid SteelBlue
	Exec	"SlateBlue"		exec xsetroot -solid SlateBlue
	Exec	"SkyBlue"		exec xsetroot -solid SkyBlue
	Exec	"Navy"			exec xsetroot -solid Navy
	Exec	"MidnightBlue"		exec xsetroot -solid MidnightBlue
	Exec	"MediumSlateBlue"	exec xsetroot -solid MediumSlateBlue
	Exec	"MediumBlue"		exec xsetroot -solid MediumBlue
	Exec	"LightSteelBlue"	exec xsetroot -solid LightSteelBlue
	Exec	"LightBlue"		exec xsetroot -solid LightBlue
	Exec	"DarkSlateBlue"		exec xsetroot -solid DarkSlateBlue
	Exec	"CornflowerBlue"	exec xsetroot -solid CornflowerBlue
	Exec	"CadetBlue"		exec xsetroot -solid CadetBlue
	Exec	"Blue"			exec xsetroot -solid Blue
	Exec	"Black"			exec xsetroot -solid Black
	Exec	"MediumAquamarine"	exec xsetroot -solid MediumAquamarine
	Exec	"Aquamarine"		exec xsetroot -solid Aquamarine
EndPopup

Popup "PlamoImages"
	Title	"Plamo"
	Exec	"plamoback_c1"	exec xv +noresetroot -root -quit /usr/X11R6/share/pixmaps/backgrounds/Plamo/plamoback_c1.png
	Exec	"plamoback_c2"	exec xv +noresetroot -root -quit /usr/X11R6/share/pixmaps/backgrounds/Plamo/plamoback_c2.png
	Exec	"plamoback"	exec xv +noresetroot -root -quit /usr/X11R6/share/pixmaps/backgrounds/Plamo/plamoback.jpg
	Exec	"plamo5h"	exec xv +noresetroot -root -quit /usr/X11R6/share/pixmaps/backgrounds/Plamo/plamo5h.jpg
	Exec	"plamo5i"	exec xv +noresetroot -root -quit /usr/X11R6/share/pixmaps/backgrounds/Plamo/plamo5i.jpg
	Exec	"plamo5j"	exec xv +noresetroot -root -quit /usr/X11R6/share/pixmaps/backgrounds/Plamo/plamo5j.jpg
	Exec	"sx68k_1"	exec xv +noresetroot -root -quit /usr/X11R6/share/pixmaps/backgrounds/Plamo/sx68k_root1.xpm
	Exec	"sx68k_2"	exec xv +noresetroot -root -quit /usr/X11R6/share/pixmaps/backgrounds/Plamo/sx68k_root2.xpm
EndPopup

# Images ... quick way to view the included default background images
Popup "Images"
	Title	"Images"
	Exec	"BlueImage"	exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/BlueImage.jpg
	Exec	"Brick"		exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/brick.jpg
	Exec	"Coins"		exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/coins.jpg
	Exec	"Dark Wood"	exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/darkwood.jpg
	Exec	"Eyes"		exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/eyes.jpg
	Exec	"Glass"		exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/glass.jpg
	Exec	"Green Carpet"	exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/carpet.green.jpg
	Exec	"Parquet"	exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/parquet.jpg
	Exec	"Pebbles"	exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/pebbles.jpg
	Exec	"Rock"		exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/rock.tile.jpg
	Exec	"Rope"		exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/rope.weave.jpg
	Exec	"Stucco"	exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/stucco.jpg
	Exec	"Tile"		exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/tile.check.jpg
	Exec	"Tree Bark"	exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/bark.jpg
	Exec	"Volcanic"	exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/volcanic.jpg
	Exec	"Wood"		exec xv +noresetroot -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/wood.jpg
EndPopup

# Background settings ... choose from either Solid Colors or Color Images
Popup "Backgrounds"
	Title	"Backgrounds"
	Popup	"Plamo"		PlamoImages
	Popup	"Images"	Images
	Popup 	"Colors(1)"	Colors_1
	Popup 	"Colors(2)"	Colors_2
	Popup	"Animations"	Animations
EndPopup

# Here is our main Menu that will be seen upon left MouseClick
# in the root window (background area) ... note that we have added
# our above Menus to this one ... also note that menus must be
# defined first before they can be placed in a different menu
Popup "HotList"
	Title 	"HotList"
	Exec    "ü kterm"         exec kterm &
	Exec    "ü Rxvt"          exec rxvt &
	Exec    " xcalc"	exec xcalc &
	Exec	" xcalendar"	exec xcalendar &
#	Exec	""	exec cxpcalen &
	Exec	"ޥ˥奢 xman"	exec xman &
	Exec	"Emacs"		exec emacs &
	Popup   "e-mail " Email
	Popup   "ץꥱ"  Applications
	Popup	"ؽѥץꥱ" ScientificApplications
	Popup   ""    Accessories
	Popup   "Ƽ"	Info
	Popup   ""	Shells
	Popup   "إ"	Help
#	Popup   "telnet"	Rlogin
	Popup   "ftp"		ncftp
	Popup	"桼ƥƥ"	Utilities
	Popup   ""         Games
	Popup	"ط"	Backgrounds
	Popup   "⥸塼"       Module-Popup
	Popup   "AfterStepλ"	Quit-Verify
EndPopup

# This defines the most common window operations
Popup "Window Ops"
        Title           "Window Ops"
        Function        "ѹ"        Resize-or-Raise
        Function        "ư"          Shade-or-Raise
        Close           "Ĥ"
        Destroy         "λ"
        Raise           ""
        Lower           ""
	PutOnTop	"˺Ǥ / "
        Iconify         " / "
        Stick           "ɽ / "
        Function        "粽 / "  Maximize_Function
        Refresh         "̤κ"
EndPopup


#////////////////#
# Mouse Bindings #
#////////////////#
# First, for the mouse in the root window
# Button 1 gives the WindowOps
# Button 2 gives the WindowList menu (Listing of current windows)
# Button 3 gives the HotList menu

# There are 4 colums to the table
# First column is the event (Mouse Click or Key Press)
#   Mouse 0 specify any click in a TitleBar box
#     Where can be 1 or 2 for first or second box
#   Mouse 1 is left button, 2 is middle, 3 is right
# Second Column is where the click takes place
#   R = Root window (main background)
#   F = Window Frame (the corners)
#   S = Bottom bar
#   I = Icon Window
#   T = TitleBar
#   W = Application Window
# Third Column is the Context (ie, modifier keys)
#   N = No modifiers
#   A = Any context except for inside the TitleBar Boxes
#   C = Control
#   S = Shift
#   M = Meta
#   Combos are allowed (eg, CS = Control+Shift)
# Fourth Column is the action to take upon click
#   Action can be a function, popup, or regular action
# Key #  # Where #  # Context#       # Action #
Mouse 0         1       A       Iconify
Mouse 0         2       A       Close
Mouse 1         R       A       PopUp "Window Ops"
Mouse 1		FS	A	Function "Resize-or-Raise"
Mouse 1		I	A	Function "Move-or-Iconify"
Mouse 1		T	A	Function "Shade-or-Raise"
Mouse 2         R       A       WindowList
Mouse 2		FST	A	PopUp "Window Ops"
Mouse 3		R   	A       PopUp "HotList"
Mouse 3		TSIF	A	Function "Maximize_Function"
Mouse 3         W       M       RaiseLower

#////////////////////#
# Keyboard Shortcuts #
#////////////////////#

Key F1		A	M	Popup "HotList"
Key F2		A	M	Popup "Window Ops"
Key F3		A	M	WindowList
# Alt-F4 will take a screenshot and save it in
# the user's home directory as screen.xwd
# Programs such as ImageMagick can then be used
# to convert the xwd file into jpg or gif format
Key F4		A	M	Exec "xwd" xwd -root -out ~/screen.xwd &
Key F5 	        A	A       Iconify
# Alt(Meta)-Tab pages through open, bordered windows
Key Tab		A	M	CirculateUp
Key Tab		A	MC	CirculateDown
Key Tab		A	MS	CirculateDown

# Arrow Keys
# Control+Arrow scrolls to the next page on the desk
Key Left        A       C       Scroll -100 0
Key Right       A       C       Scroll +100 +0
Key Up          A       C       Scroll +0   -100
Key Down        A       C       Scroll +0   +100

#////////////////////#
# Module Definitions #
#////////////////////#
# Pager Configuration -- We have Swallow-ed Pager into the Wharf
# Now let's change colors and make labels
*PagerBack #908090
*PagerFore #484048
*PagerFont -adobe-helvetica-medium-r-*-*-8-*-*-*-*-*-*-*
*PagerHilight #cab3ca
*PagerLabel 0 Pager
*PagerSmallFont 5x8
#*PagerGeometry -1-1
*PagerGeometry 54x54-5+261

#/////////////////////#
# WinList Customization #
#/////////////////////#
Module WinList
*WinListBack #a0a0b0
*WinListFore #000000
*WinListFont	-adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1,-*-fixed-medium-r-normal--12-*
*WinListAction Click1 Iconify -1, Raise, Focus
*WinListAction Click2 Shade
#*WinListAction Click3 Module "Ident" Ident
*WinListAction Click3 Function "Maximize_Function"
*WinListUseIconNames
*WinListUseSkipList
*WinListGeometry +0-0
# maxwidth for a vertical winlist or actual width for horizontal taskbar
*WinListMaxWidth 800
# down (vertical winlist) or across (horizontal titlebar) ?
*WinListOrientation across
#*WinListLeftJustify
#*WinListNoAnchor

# Start the Audio player  
Module Audio    

# Select your normal audio player
#*AudioPlayCmd /usr/bin/showaudio

# Select the directory containing your sounds
#*AudioDir /usr/X11R6/lib/X11/afterstep/sounds

#*AudioDelay 1

# Attach sounds to window manager events...some don't appear to function
# as well as they could
#*Audio startup gong.au
#*Audio shutdown clink.au
#*Audio add_window bong.au
#*Audio raise_window drip.au
#*Audio lower_window drip.au
#*Audio focus_change drip.au    
#*Audio destroy_window crash.au
#*Audio iconify ploop.au
#*Audio deiconify ploop.au
#*Audio toggle_paging fwop.au
#*Audio new_page beaming.au 
#*Audio new_desk beam_trek.au
#*Audio configure_window huh.au
#*Audio window_name bong.au
#*Audio icon_name beep.au
#*Audio res_class bong.au
#*Audio res_name beep.au
#*Audio end_windowlist twang.au

# qed
