Re: FVWM: fvwm2 crash using Wabi...

From: Eric S. Raymond <esr_at_snark.thyrsus.com>
Date: Thu, 10 Jul 1997 09:39:58 -0400 (EDT)

> > Although everything else is working fine both myself and colleagues have
> > come across one lethal bug/ problem and that is whenever we run Wabi the
> > fvwm2 wm crashes with an error message "Broke Pipe".
> >
>
> I too am suffering from this major bug, so its unlikely fvwm was installed
> incorrectly (as I suspected until now). Its really annoying having to
> switch back to openwindows to run Wabi.

Oddly enough, I can run WABI without crashing fvwm2.

Try it with this config:

############################################################################
# Eric's Big Blue-Steel Desktop
# by Eric S. Raymond <esr_at_thyrsus.com> http://www.ccil.org/~esr
#
# $Id: .fvwm2rc,v 1.1 1997/07/09 02:59:48 esr Exp $
#
# An uncluttered desktop design for serious hacking, using tiled windows on a
# 21" 1600x1200 monitor. Requires stock RedHat 4.2 plus fvwm2 2.0.45 RPMs.
#
# This configuration sets up a one-row toolbar in the lower left hand corner
# (xterm, emacs, netscape, swallowed xclock, swallowed xbiff, swallowed xload,
# swallowed xeyes). You may want to uncomment the fvwm-reset button while
# tuning it. There is an icon box area above the toolbar sufficent for two
# rows of standard xterm icons.
#
# This configuration is designed to be used with an Emacs wired for 16-pixel
# type at 100dpi. If you set your xterm to use a 15-pixel font, you'll be able
# to fit an 80-column, 77-row xterm to the left of the Emacs. Set
#
# xterm*Font:-*-fixed-*-r-*-*-15-*-100-100-*-*-*-*
# emacs.Font:-*-courier-*-r-*-*-16-*-100-100-*-*-*-*
#
# The emacs will take up the entire right side of the screen (the toolbar and
# icon box are sized not to overlap with it). You should get 64 lines of
# Emacs buffer (and status line and minibuffer of course).
#
# These font sizes have been carefully chosen to make optimal use of screen
# space; they're the largest ones that will fit 160 columns of text on a
# 1600-pixel-wide display without overlap. The 16-pixel font goes to Emacs,
# on the assumption that the Emacs window will usually contain large
# amounts of complex text and therefore needs the edge in size and readability.
#
# No pager (with this big a screen, who needs one?). No window list (that's
# what the mouse and border decorations are for). SloppyFocus and a 25msec
# AutoRaise so focus changes if you linger in a window other than root.
# Simple menus -- the root menu carries nearly everything.
#
# The only site-specific stuff is the telnets to locke, sunsite etc. in
# the root menu. I have these hooked to expect scripts that do the
# login/password thing. You can remove those or replace them with your own.
#
# I use this with `xearth -pos "orbit 3 70" -label -nomarkers -night 40 &'
# set up as a background in my .xinitrc, and nothing else in there besides
# the fvwm2 startup. I also recommend replacing the ugly default xbiff
# bitmaps with the following resource lines:
#
# xbiff*flip:false
# xbiff*fullPixmap:mailfull
# xbiff*emptyPixmap:mailempty
# xbiff*fullPixmapMask:mailfullmsk
# xbiff*emptyPixmapMask:mailemptymsk
# xbiff*shapeWindow:true
#
# You may also find you need to set
#
# Netscape.Navigator.geometry: =750x920+0+0
#
# as some versions of Netscape don't do -geometry, despite their docs.
#
# Known bugs:
# * Stock RedHat 4.2 doesn't include a Netscape icon, so this makes
# do with a Mosaic one.
#
############################################################################
# FvwmButtons
#
*FvwmButtonsFore Black
*FvwmButtonsBack SteelBlue3
*FvwmButtonsFont -adobe-helvetica-bold-r-*-*-18-*-*-*-*-*-*-*
*FvwmButtonsGeometry +0-0
*FvwmButtonsRows 1

#*FvwmButtons Restart fvwm.xpm Restart
*FvwmButtons Xterm xterm.xpm Exec "xterm" xterm &
*FvwmButtons Emacs gnu-animal.xpm Exec "Emacs" emacs -geometry =80x66-0+0 &
*FvwmButtons Netscape Mosaic.xpm Exec "Netscape" netscape -geometry =750x920+0+0 &
*FvwmButtons(Swallow XClock 'Exec xclock -fg white -bg SteelBlue3 &')
*FvwmButtons(Swallow XBiff 'Exec xbiff &')
*FvwmButtons(Swallow(UseOld,NoKill) "xload" \
        `Exec xload -title xload -bg SteelBlue3 -update 3 -nolabel &`)
*FvwmButtons(Swallow XEyes 'Exec xeyes -center LightGrey &')

##############################################################################
# MENU Setup
#

# This defines the most common window operations
AddToMenu Window-Ops "Window Ops" Title
+ "Move" Move-or-Raise2
+ "Resize" Resize-or-Raise2
+ "Raise" Raise
+ "Lower" Lower
+ "(De)Iconify" Iconify
+ "(Un)Stick" Stick
+ "(Un)Maximize" maximize_func
+ "" Nop
+ "Delete" Delete
+ "Close" Close
+ "Destroy" Destroy
+ "" Nop
+ "Refresh Screen" Refresh

# A trimmed down version of "Window Ops", good for binding to decorations
AddToMenu Window-Ops2 "Move" Move-or-Raise
+ "Resize" Resize-or-Raise
+ "Raise/Lower" RaiseLower
+ "Iconify" Iconify
+ "(Un)Stick" Stick
+ "" Nop
+ "Delete" Delete
+ "Close" Close
+ "Destroy" Destroy
+ "" Nop
+ "ScrollBar" Module FvwmScroll 2 2
+ "Print" PrintFunction

# This is the root menu
AddToMenu RootMenu "Root Menu" Title
+ "Xterm" exec xterm &
+ "emacs" exec emacs &
+ "Netscape" exec netscape &
+ "Telnet to locke" exec xterm -T locke -n locke -e locke-telnet &
+ "Ssh to sunsite" exec xterm -T sunsite -n sunsite -e sunsite-ssh &
+ "Slrn" exec xterm =80x66 -T Netnews -n Netnews -e "NNTPSERVER=netnews.netaxs.com slrn &
+ "Archie" exec xterm -T archie -n archie -e archie &
+ "Xman" exec xman &
+ "" Nop
+ "Restart Fvwm2" Restart fvwm2
+ "Exit Fvwm" Quit

############################################################################
# COLORS and FONTS
#
# Set the fore and back border colors for the window that has focus
HilightColor linen Red3

# Set fore/back border colors for all other windows
Style "*" Color linen/SteelBlue3

# Set colors/font for pop-up menus
# Syntax: MenuStyle forecolor backcolor shadecolor font style(fvwm/mwm)
MenuStyle black grey slategrey -adobe-times-bold-r-*-*-18-*-*-*-*-*-*-* fvwm

# Set fonts to use on title bar and icon label
WindowFont -adobe-helvetica-bold-r-*-*-18-*-*-*-*-*-*-*
IconFont -adobe-helvetica-bold-r-*-*-18-*-*-*-*-*-*-*

############################################################################
# MISC Setup
#
# Uncomment this to make windows auto-raise after [x] milliseconds
Module FvwmAuto 25

# Auto Place Icons is a nice feature (Left Top Right Bottom)
Style "*" IconBox 0 960 750 1550

# Keep the last focus while in root window
Style "*" SloppyFocus

# Click/release must occur in <n milliseconds to be a "click"
ClickTime 250

# I have fast graphics, so always do opaque moves
OpaqueMoveSize 100

# Suppress the pager
DeskTopSize 1 1

############################################################################
# WINDOW Placement
#
# SmartPlacement makes new windows pop-up in blank regions of screen
Style "*" SmartPlacement

# If SmartPlacement fails, this places it randomly instead of making you do it
Style "*" RandomPlacement

############################################################################
# STYLE Flag Setup
#
# (decorations and window options)
# Note: Order is important!! If compatible styles are set, styles are ORed
# together. If conflicting styles are set, the last one specified is used.

# change the default width, set a global icon, and give borders to popups
Style "*" BorderWidth 7, HandleWidth 7, Icon x.xpm, DecorateTransient

Style "Fvwm*" NoTitle, Sticky, WindowListSkip, NoHandles, BorderWidth 0
Style "*lock" NoTitle, Sticky, WindowListSkip
Style "xbiff" NoTitle, Sticky, WindowListSkip
Style "xload" NoTitle, Sticky, WindowListSkip, ClickToFocus
Style "*term" Icon xterm.xpm
Style "xman" Icon xman.xpm
Style "emacs" NoPPosition, NoTitle, NoHandles, BorderWidth 5, Icon gnu-animal.xpm

#############################################################################
# START-UP Functions
#
AddToFunc "InitFunction" "I" Module FvwmButtons
+ "I" Next [!iconic CurrentScreen xterm] Focus
+ "I" CursorMove 30 40

AddToFunc "RestartFunction" "I" Module FvwmButtons
+ "I" Next [!iconic CurrentScreen xterm] Focus
+ "I" CursorMove 30 40

############################################################################
# COMPLEX FUNCTIONS
#
AddToFunc Move-or-Raise "I" Raise
+ "M" Move
+ "D" Lower

AddToFunc Move-or-Raise2 "M" Raise
+ "M" Move
+ "D" Lower

AddToFunc Maximize-Func "C" Maximize 0 100
+ "D" Maximize 100 100

AddToFunc Move-or-Iconify "I" Raise
+ "M" Move
+ "D" Iconify

AddToFunc Resize-or-Raise "I" Raise
+ "M" Resize
+ "D" Lower

AddToFunc Resize-or-Raise2 "M" Raise
+ "M" Resize
+ "D" Lower

AddToFunc PrintFunction "I" Raise
+ "I" Exec xdpr -id $w

AddToFunc Iconify-and-Raise "I" Iconify
+ "I" Raise

############################################################################
# MOUSE Setup
#
# First, the root window. Button 1 brings up the Main Menu. B2 is the
# window operations list, and B3 is the winlist module
# Button Context Modifi Function
Mouse 1 R A Menu RootMenu Nop
Mouse 2 R A Menu Window-Ops Nop
Mouse 3 R A WindowList

# Now, title bar buttons
# Left button is the Window-Ops2 menu, right is iconify, rightmost is maximize
# Button Context Modifi Function
Mouse 0 1 A Menu Window-Ops2 Close
Mouse 0 2 A Maximize-Func
Mouse 0 4 A Iconify
Mouse 0 3 A Stick

# Button 1 in Frame or Sides is a resize-or-raise, in Icons is a move or
# de-iconify, and on Top does a move-or-raise
# Button Context Modifi Function
Mouse 1 FS A Resize-or-Raise
Mouse 1 I A Move-or-Iconify
Mouse 1 T A Move-or-Raise

# Button 2 in an Icon is de-iconify, in Corners/Sides/Titlebar gets Ops Menu
# Button Context Modifi Function
Mouse 2 I A Iconify
Mouse 2 FST A Menu Window-Ops2 Nop

# Button 3 does a raise-lower on anything
Mouse 3 TSIF A RaiseLower

############################################################################
# KEYBOARD Setup
#
# 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 MC Popup "RootMenu"
Key F2 A MC Popup "Window-Ops"
Key F3 A MC Iconify
Key F4 A MC Move
Key F5 A MC Resize
Key F6 A MC Next [*] focus
Key F7 A MC Prev [*] focus

# .fvwm2rc ends here.
############################################################################

-- 
		<a href="http://www.ccil.org/~esr">Eric S. Raymond</a>
--
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 Thu Jul 10 1997 - 08:33:51 BST

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