FVWM: fvwm 2.0.42 problem with Netscape/Java

From: Jeff Holden <Jeff-Holden_at_deshaw.com>
Date: Tue, 23 Apr 1996 05:04:52 -0400

Hi there,

I have encountered a problem using Netscape 2.01 under fvwm 2.0.42. Netscape
crashes (dumps core) whenever it attempts to execute a Java applet. An
example page is http://www.sun.com/960416/index.java.html. I have observed
this behavior under both SunOS 4.1.4 and NetBSD 1.1.

If I run twm or tvtwm instead (and that is the only change I make), Netscape
2.01 executes the Java applets properly. This problem also does not seem to
occur under fvwm 1.24r (though I have only observed this to be true under
another person's environment).

To aid in debugging this problem, I have included below the following from
my NetBSD 1.1 environment:

    Output of xwininfo on the Netscape window
    Output of xprop on the Netscape window
    Output of xdpyinfo
    My .fvwm2rc file

Please contact me if you would like any further information regarding symptoms
of the problem or my environments.

Thanks much,

Jeff Holden
Jeff-Holden_at_deshaw.com

==========================================================================
OUTPUT OF XWININFO:
-------------------

xwininfo: Window id: 0x1c0022c "Netscape: Version 2.01"

  Absolute upper-left X: 5
  Absolute upper-left Y: 23
  Relative upper-left X: 0
  Relative upper-left Y: 0
  Width: 1000
  Height: 1000
  Depth: 16
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x22 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners: +5+23 -595+23 -595-177 +5-177
  -geometry 1000x1000+0+0

==========================================================================
OUTPUT OF XPROP:
----------------

_MOZILLA_URL(STRING) = "http://www.nyc.deshaw.com/"
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_MOZILLA_VERSION(STRING) = "2.01"
_MOTIF_WM_MESSAGES(ATOM) = _MOTIF_WM_OFFSET
WM_PROTOCOLS(ATOM): protocols _MOTIF_WM_MESSAGES, WM_DELETE_WINDOW
WM_CLASS(STRING) = "Navigator", "Netscape"
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
                bitmap id # to use for icon: 0x1c00125
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
                user specified size: 1000 by 1000
                window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "edible.nyc.deshaw.com"
WM_ICON_NAME(STRING) = "Netscape: D. E. Shaw & Co. Home Page"
WM_NAME(STRING) = "Netscape: D. E. Shaw & Co. Home Page"

==========================================================================
OUTPUT OF XDPYINFO:
-------------------
name of display: :0.0
version number: 11.0
vendor string: X Inside Inc.
vendor release number: 1302
maximum request size: 4194300 bytes
motion buffer size: 0
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 6
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 167
focus: window 0x180000d, revert to Parent
number of extensions: 14
    BIG-REQUESTS
    DEC-XTRAP
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    Multi-Buffering
    SHAPE
    X3D-PEX
    XI-ShmLink
    XIE
    XIdle
    XTEST
    XTestExtension1
    XsightExtension
default screen number: 0
number of screens: 1

screen #0:
  dimensions: 1600x1200 pixels (541x406 millimeters)
  resolution: 75x75 dots per inch
  depths (2): 1, 16
  root window id: 0x24
  depth of root window: 16 planes
  number of colormaps: minimum 1, maximum 1
  default colormap: 0x22
  default number of colormap cells: 64
  preallocated pixels: black 0, white 65535
  options: backing-store YES, save-unders YES
  largest cursor: 64x64
  current input event mask: 0x58003d
    KeyPressMask ButtonPressMask ButtonReleaseMask
    EnterWindowMask LeaveWindowMask SubstructureNotifyMask
    SubstructureRedirectMask PropertyChangeMask
  number of visuals: 2
  default visual id: 0x20
  visual:
    visual id: 0x20
    class: TrueColor
    depth: 16 planes
    available colormap entries: 64 per subfield
    red, green, blue masks: 0xf800, 0x7e0, 0x1f
    significant bits in color specification: 8 bits
  visual:
    visual id: 0x21
    class: DirectColor
    depth: 16 planes
    available colormap entries: 64 per subfield
    red, green, blue masks: 0xf800, 0x7e0, 0x1f
    significant bits in color specification: 8 bits

==========================================================================
FVWM2RC FILE:
-------------
#
# fvwm Setup
# ----------
#
#undefine(`include`)
#sinclude(`.fvwmdesk`)

#############################################################################

Style "*" ForeColor Black
Style "*" BackColor LightGrey
#Style "*" ClickToFocus
Style "*" SloppyFocus

#HilightColor Black #A8C8F0
HilightColor Black maroon

#
# Fonts
# -----
#
# Most fonts should be some simple sans-serif. I'll use Helvetia for
# now, but I have to learn how to convert Type-1 fonts to X fonts so I
# can customize this.
#

WindowFont -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
IconFont -adobe-helvetica-medium-r-*-*-11-*-*-*-*-*-*-*

#
# I may be biased because I'm used to Windows and the Mac, but I don't
# like Windows to come to the front for any reason except clicking on
# them or cycling through them.
#

#
# I'll try to keep the center free for applications and use the wings for
# Icons & such.
#

Style "*" IconBox -80 90 -1 -90

#
# The author of fvwm recommends that these all be used. Until I
# understand them better I'll take his advice.
#

Style "*" MWMFunctions
Style "*" HintOverride
Style "*" MWMDecor

#Set the foreground, background and stipple color and font for menus
#MenuStyle Black #A8C8F0 White -adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-*-* mwm
MenuStyle Black maroon White -adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-*-* mwm
Style "*" MWMButtons

#
# My system seems to be fast enough to do window operations in opaque
# mode.
#

OpaqueMoveSize 100

#
# I don't like to automatically scroll. I use the pager.
#

EdgeScroll 0 0
EdgeResistance 10000 0

#
# I tried various placement options, but I like Random for some reason.
#

Style "*" SmartPlacement
#Style "*" NoPPosition

#
# Set up the virtual desktop and pager.
#

DeskTopSize 6x4

#
# Window Options
# --------------
#
# Following are decoration styles and window options. I don't really like
# the way these work, but of course it's not up to me. I'd prefer many of
# these things to be controllable on a particular execution of a program
# rather than being attributes of the program. As it is some surprising
# things are likely to happen. First we have defaults for all windows.
#

Style "*" BorderWidth 5, HandleWidth 5, Color Black/LightGrey
Style "*" Icon unknown1.xpm

Style "Fvwm*" NoTitle, NoHandles, Sticky, WindowListSkip,
Style "Fvwm*" CirculateSkip
Style "*clock" NoTitle, NoHandles, Sticky, WindowListSkip,
Style "*clock" CirculateSkip
Style "xbiff" NoTitle, NoHandles, Sticky, WindowListSkip,
Style "xbiff" CirculateSkip

Style "xterm" Icon xterm.xpm

Style "FvwmButtons" NoTitle, NoHandles, Sticky, WindowListSkip,BorderWidth 0
Style "FvwmButtons" Icon toolbox.xpm
Style "Fvwm Pager" StaysOnTop

#
# Startup
# -------
#
# These functions are executed on startup or restart.
#

*FvwmPagerGeometry 300x100-0+0
*FvwmPagerFore #408080
*FvwmPagerBack #FFFFE8
*FvwmPagerHilight #408080
*FvwmPagerLabel 0 Development
*FvwmPagerLabel 1 Production

AddToFunc "InitFunction"
+ "Immediate" Module FvwmPager 0 1
#+ "Immediate" Exec exec xsetroot -solid "#408080"
#+ "Immediate" Exec exec oclock -geometry 60x60-200+0
#+ "Immediate" Exec exec xbiff -geometry 55x56-230+0
#+ "Immediate" Exec exec xterm -geometry 80x58+0-0 -fn 7x13 -fb 7x13bold -sl 1024
+ "Immediate" Exec exec xterm -geometry 80x58-0-0 -fn 7x13 -fb 7x13bold -sl 1024
#Function "I" StartupFunction

AddToFunc "RestartFunction" "Immediate" Function InitFunction


#
# Tool Menus
# ----------
#
# The following menu structure will be bound to mouse button 1. It
# executes programs I regularly use.
#

AddToMenu "Applications"
+ "Applications" Title
+ "Netscape 2.0" Exec exec netscape -geometry 1000x1000 &
+ "Applix" Exec exec applix &
+ "InOut" Exec exec xinout &
+ "Ghostview" Exec exec ghostview &
+ "Xfig" Exec exec xfig &
+ "Calculator" Exec exec xcalc &
+ "CalcTool" Exec exec calctool &

AddToMenu "Xterm_local"
+ "Xterm Local" Title
+ "80x38" Exec exec xterm -sb -fn 7x13 -geometry 80x38 -sl 1024 &
+ "80x48" Exec exec xterm -sb -fn 7x13 -geometry 80x48 -sl 1024 &
+ "80x58" Exec exec xterm -sb -fn 7x13 -geometry 80x58 -sl 1024 &
+ "140x38" Exec exec xterm -sb -fn 7x13 -geometry 140x38 -sl 1024 &
+ "150x30" Exec exec xterm -sb -fn 7x13 -geometry 150x30 -sl 1024 &

AddToFunc OpenLocalXterm "I" Exec exec xterm -sb -fn 7x13 -title $0 -name local -geometry $1 -sl 1024 &
AddToFunc OpenRemoteXterm "I" Exec exec xrsh $0 xterm -sb -fn 7x13 -title $1 -name remote -geometry $2 -display $HOSTDISPLAY -sl 1024 &
AddToFunc OpenTelnetXterm "I" Exec exec xrsh $0 xterm -sb -fn 7x13 -fb 7x13bold -title $1 -name remote -geometry $2 -display $HOSTDISPLAY -sl 1024 -e telnet $3 &

AddToMenu "Xterm_remote_cs1"
+ "Open Xterm on cs1" Title
+ "" Nop
+ "80x38" OpenRemoteXterm cs1 cs1 80x38
+ "80x48" OpenRemoteXterm cs1 cs1 80x48
+ "80x58" OpenRemoteXterm cs1 cs1 80x58
+ "140x38" OpenRemoteXterm cs1 cs1 140x38
+ "150x30" OpenRemoteXterm cs1 cs1 150x30
AddToMenu "Xterm_remote_cs2"
+ "Open Xterm on cs2" Title
+ "" Nop
+ "80x38" OpenRemoteXterm cs2 cs2 80x38
+ "80x48" OpenRemoteXterm cs2 cs2 80x48
+ "80x58" OpenRemoteXterm cs2 cs2 80x58
+ "140x38" OpenRemoteXterm cs2 cs2 140x38
+ "150x30" OpenRemoteXterm cs2 cs2 150x30
AddToMenu "Xterm_remote_cs3"
+ "Open Xterm on cs3" Title
+ "" Nop
+ "80x38" OpenRemoteXterm cs3 cs3 80x38
+ "80x48" OpenRemoteXterm cs3 cs3 80x48
+ "80x58" OpenRemoteXterm cs3 cs3 80x58
+ "140x38" OpenRemoteXterm cs3 cs3 140x38
+ "150x30" OpenRemoteXterm cs3 cs3 150x30
AddToMenu "Xterm_remote_cs4"
+ "Open Xterm on cs4" Title
+ "" Nop
+ "80x38" OpenRemoteXterm cs4 cs4 80x38
+ "80x48" OpenRemoteXterm cs4 cs4 80x48
+ "80x58" OpenRemoteXterm cs4 cs4 80x58
+ "140x38" OpenRemoteXterm cs4 cs4 140x38
+ "150x30" OpenRemoteXterm cs4 cs4 150x30
AddToMenu "Xterm_remote_cs6"
+ "Open Xterm on cs6" Title
+ "" Nop
+ "80x38" OpenRemoteXterm cs6 cs6 80x38
+ "80x48" OpenRemoteXterm cs6 cs6 80x48
+ "80x58" OpenRemoteXterm cs6 cs6 80x58
+ "140x38" OpenRemoteXterm cs6 cs6 140x38
+ "150x30" OpenRemoteXterm cs6 cs6 150x30
AddToMenu "Xterm_remote_js1"
+ "Open Xterm on js1" Title
+ "" Nop
+ "80x38" OpenRemoteXterm js1 js1 80x38
+ "80x48" OpenRemoteXterm js1 js1 80x48
+ "80x58" OpenRemoteXterm js1 js1 80x58
+ "140x38" OpenRemoteXterm js1 js1 140x38
+ "150x30" OpenRemoteXterm js1 js1 150x30
AddToMenu "Xterm_remote_js2"
+ "Open Xterm on js2" Title
+ "" Nop
+ "80x38" OpenRemoteXterm js2 js2 80x38
+ "80x48" OpenRemoteXterm js2 js2 80x48
+ "80x58" OpenRemoteXterm js2 js2 80x58
+ "140x38" OpenRemoteXterm js2 js2 140x38
+ "150x30" OpenRemoteXterm js2 js2 150x30
AddToMenu "Xterm_remote_js3"
+ "Open Xterm on js3" Title
+ "" Nop
+ "80x38" OpenRemoteXterm js3 js3 80x38
+ "80x48" OpenRemoteXterm js3 js3 80x48
+ "80x58" OpenRemoteXterm js3 js3 80x58
+ "140x38" OpenRemoteXterm js3 js3 140x38
+ "150x30" OpenRemoteXterm js3 js3 150x30
AddToMenu "Xterm_remote_js4"
+ "Open Xterm on js4" Title
+ "" Nop
+ "80x38" OpenRemoteXterm js4 js4 80x38
+ "80x48" OpenRemoteXterm js4 js4 80x48
+ "80x58" OpenRemoteXterm js4 js4 80x58
+ "140x38" OpenRemoteXterm js4 js4 140x38
+ "150x30" OpenRemoteXterm js4 js4 150x30
AddToMenu "Xterm_remote_js6"
+ "Open Xterm on js6" Title
+ "" Nop
+ "80x38" OpenRemoteXterm js6 js6 80x38
+ "80x48" OpenRemoteXterm js6 js6 80x48
+ "80x58" OpenRemoteXterm js6 js6 80x58
+ "140x38" OpenRemoteXterm js6 js6 140x38
+ "150x30" OpenRemoteXterm js6 js6 150x30
AddToMenu "Xterm_remote_tm1"
+ "Open Xterm on tm1" Title
+ "" Nop
+ "80x38" OpenRemoteXterm tm1 tm1 80x38
+ "80x48" OpenRemoteXterm tm1 tm1 80x48
+ "80x58" OpenRemoteXterm tm1 tm1 80x58
+ "140x38" OpenRemoteXterm tm1 tm1 140x38
+ "150x30" OpenRemoteXterm tm1 tm1 150x30
AddToMenu "Xterm_remote_tm2"
+ "Open Xterm on tm2" Title
+ "" Nop
+ "80x38" OpenRemoteXterm tm2 tm2 80x38
+ "80x48" OpenRemoteXterm tm2 tm2 80x48
+ "80x58" OpenRemoteXterm tm2 tm2 80x58
+ "140x38" OpenRemoteXterm tm2 tm2 140x38
+ "150x30" OpenRemoteXterm tm2 tm2 150x30
AddToMenu "Xterm_remote_tms1"
+ "Open Xterm on tms1" Title
+ "" Nop
+ "80x38" OpenRemoteXterm tms1 tms1 80x38
+ "80x48" OpenRemoteXterm tms1 tms1 80x48
+ "80x58" OpenRemoteXterm tms1 tms1 80x58
+ "140x38" OpenRemoteXterm tms1 tms1 140x38
+ "150x30" OpenRemoteXterm tms1 tms1 150x30
AddToMenu "Xterm_remote_tms2"
+ "Open Xterm on tms2" Title
+ "" Nop
+ "80x38" OpenRemoteXterm tms2 tms2 80x38
+ "80x48" OpenRemoteXterm tms2 tms2 80x48
+ "80x58" OpenRemoteXterm tms2 tms2 80x58
+ "140x38" OpenRemoteXterm tms2 tms2 140x38
+ "150x30" OpenRemoteXterm tms2 tms2 150x30
AddToMenu "Xterm_remote_stratus"
+ "Open Xterm to Stratus" Title
+ "" Nop
+ "80x38" OpenTelnetXterm cs1 Stratus 80x38 stratus1
+ "80x48" OpenTelnetXterm cs1 Stratus 80x48 stratus1
+ "80x58" OpenTelnetXterm cs1 Stratus 80x58 stratus1
+ "140x38" OpenTelnetXterm cs1 Stratus 140x38 stratus1
+ "150x30" OpenTelnetXterm cs1 Stratus 150x30 stratus1

AddToMenu "Xterm_remote"
+ "Xterm Remote" Title
+ "" Nop
+ "cs1" Popup Xterm_remote_cs1
+ "cs2" Popup Xterm_remote_cs2
+ "cs3" Popup Xterm_remote_cs3
+ "cs4" Popup Xterm_remote_cs4
+ "cs6" Popup Xterm_remote_cs6
+ "js1" Popup Xterm_remote_js1
+ "js2" Popup Xterm_remote_js2
+ "js3" Popup Xterm_remote_js3
+ "js4" Popup Xterm_remote_js4
+ "js6" Popup Xterm_remote_js6
+ "tm1" Popup Xterm_remote_tm1
+ "tm2" Popup Xterm_remote_tm2
+ "tms1" Popup Xterm_remote_tms1
+ "tms2" Popup Xterm_remote_tms2
+ "Stratus" Popup Xterm_remote_stratus

AddToMenu "Xterm"
+ "Xterm" Title
+ "" Nop
+ "Local" Popup Xterm_local
+ "Remote" Popup Xterm_remote

#
# This is the main menu, which should pop up on left mouse button if the
# button is not on a window.
#

AddToMenu "Tools" "Tools" Title
+ "Xterm" Popup Xterm
#+ "Crisp" Exec exec /usr/local/crisp/bin/mcr -geometry 80x41+134+5 &
+ "Xman" Exec exec xman -pagesize 640x723+171+7 &
+ "Applications" Popup Applications
+ "Exit Fvwm" Quit
+ "Restart Fvwm" Restart fvwm2
+ "Save Desktop" Module FvwmSaveDesk
+ "Identify Window" Module FvwmIdent
+ "Refresh Screen" Refresh

#
# Window Operations
# -----------------
#
# We have two kinds of window operations menus. The first is bound to a
# mouse button on the root window, the second is appropriate for a title
# bar, since we assume a window is already selected.
#

AddToMenu "Window-Ops" "Window Ops" Title
+ "" Nop
+ "Move" Move
+ "Resize" Resize
+ "Raise" Raise
+ "Lower" Lower
+ "(De)Iconify" Iconify
+ "(Un)Stick" Stick
+ "(Un)Maximize" Maximize 0 100
+ "Destroy" Destroy
+ "Delete" Delete
+ "Refresh Screen" Refresh
+ "Print" Exec exec xwd | xpr | lpr &

AddToMenu "Window-Ops-Title" "Move" Move
+ "Resize" Resize
+ "Raise" Raise
+ "Lower" Lower
+ "Iconify" Iconify
+ "(Un)Stick" Stick
+ "Destroy" Destroy
+ "Delete" Delete
+ "Print" Exec exec xwd | xpr | lpr &

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

#
# Main Button Functions
# ---------------------
#
# This defines the Popups called by mouse buttons on the root.
#

Mouse 1 R A Menu "Tools" Nop
Mouse 2 R A Menu "Window-Ops" Nop
Mouse 3 R A WindowList

#
# Title Bar Buttons
# -----------------
#
# I changed the title bar buttons to look something like those in
# Windows. The functions should also mimic Windows somewhat.
#

ButtonStyle 2 4 50x35_at_1 65x65_at_0 35x65_at_0 50x35_at_1
ButtonStyle 4 4 50x65_at_1 35x35_at_1 65x35_at_1 50x65_at_0

Mouse 0 1 A Menu "Window-Ops-Title" Nop
Mouse 0 2 A Maximize 0 100
Mouse 0 4 A Iconify

#
# Frame
# -----
#
# The left button in the frame area moves or resizes.
#

Mouse 1 FS A Resize
Mouse 1 T A Raise
Mouse 1 W S Raise
Mouse 2 FTS A Move-or-Raise

#
# Icon Button Functions
# ---------------------
#

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

Mouse 1 I A Function "Move-or-Iconify"
Mouse 2 I A Iconify

#
# Keyboard Accelerators
# ---------------------
#
# I don't have very many keyboard accelerators, since I like to do most
# things with the mouse.
#
# I really use the mouse to manipulate the pager, but it's possible I
# might screw up this file and lose the pager. I'll use odd key
# combinations to jump around, just in case that happens.
#

Key SunFront A N Scroll -100 0
Key SunCopy A N Scroll +100 +0
Key SunProps A N Scroll +0 -100
Key SunOpen A N Scroll +0 +100

Key F1 A N Scroll -100 0
Key F2 A N Scroll 0 -100
Key F3 A N Scroll 0 +100
Key F4 A N Scroll +100 0

#
# I don't generally move by fractional pages, but it might be useful
# sometime.
#

Key SunFront A C Scroll -10 +0
Key SunCopy A C Scroll +10 +0
Key SunProps A C Scroll +0 -10
Key SunOpen A C Scroll +0 +10

Key F1 A C Scroll -10 +0
Key F2 A C Scroll +10 +0
Key F3 A C Scroll +0 -10
Key F4 A C Scroll +0 +10

Key Cancel A N Desk 0 0
Key Redo A N Desk 0 1
Key Help A N Desk 1

Key KP_F1 A N Desk 0 0
Key KP_F2 A N Desk 0 1
Key KP_F3 A N Desk 1
Key KP_F3 W A Raise
Key KP_F4 W A Lower

Key F9 A N Desk 0 0
Key F10 A N Desk 0 1
Key F11 A N Desk 1
Key F11 W A Raise
Key F12 W A Lower


#
# It might be nice to have a way to jump from application to application
# from the keyboard, and it's useful to have an emergency exit.
#

Key Tab A M Next [!iconic] Focus
Key Tab A SM Prev [!iconic] Focus
Key x A SCM Quit
==========================================================================

--
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 Tue Apr 23 1996 - 04:02:07 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST