From owner-freebsd-questions Sun Mar 26 22:10:19 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA05217 for questions-outgoing; Sun, 26 Mar 1995 22:10:19 -0800 Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA05208 for ; Sun, 26 Mar 1995 22:10:07 -0800 Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.8/8.6.6) with SMTP id XAA01331; Sun, 26 Mar 1995 23:11:29 -0700 Message-Id: <199503270611.XAA01331@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol To: questions@FreeBSD.org cc: Jeff Subject: Re: New Snapshot - Thanks! In-reply-to: Your message of "Sun, 26 Mar 1995 15:01:29 EST." Date: Sun, 26 Mar 1995 23:11:27 -0700 From: Steve Passe Sender: questions-owner@FreeBSD.org Precedence: bulk Hello, >> Thanks for the hint. I gave it a try, but it still has the problem. I >> had XKeysymDB previously in /usr/X11R6/lib/X11. Or is there a newer >> XKeysymDB out there some where? This problem also exists with the moxftp I just built for 2.0-950322-SNAP. > directory, I had to set the XKEYSYMDB environment variable. Make sure > that you set that, and that you start netscape from a shell that has it > defined. (ie: I cannot start netscape from my fvwm root window menu > because it doesn't read my .cshrc (BTW, anyone know how to fix this? :-))) The following techniques may be overkill, but I find them quite usefull. I setup a shell script that gets invoked by different names. The script uses that name to take on a unique personality, ie, its own 'home' directory 'home page' etc. This allows you to keep separate hot-lists and histories, as well as launch multiple copies simultaniously. While that globe is spinning you can use another for surfing elsewhere... Note that you can use unique exports/args for each, in your case XKEYSYMDB. ############################################################################## # Here are things from my .fvwmrc, # change all instances of "HOME" as appropriate: # Provides a list of Mosaics Popup "Mosaic-Popup" Title "Mosaic" Exec "Red mosaic" exec /usr/HOME/Mmosaic/bin/rmosaic & Exec "Green mosaic" exec /usr/HOME/Mmosaic/bin/gmosaic & Exec "Blue mosaic" exec /usr/HOME/Mmosaic/bin/bmosaic & EndPopup ... # This menu will fire up some very common utilities Popup "Utilities" Title "Utilities" ... Popup "Mosaic" Mosaic-Popup Nop "" ... EndPopup ... # GoodStuff buttons for mosaic *GoodStuff Red xmosaic.xpm Exec "" /usr/HOME/Mmosaic/bin/rmosaic & *GoodStuff Green xmosaic.xpm Exec "" /usr/HOME/Mmosaic/bin/gmosaic & *GoodStuff Blue xmosaic.xpm Exec "" /usr/HOME/Mmosaic/bin/bmosaic & ############################################################################## # the directory structure in my home: HOME/Mmosaic: bin/ redM/ greenM/ blueM/ HOME/Mmosaic/bin: mosaic rmosaic@ -> mosaic gmosaic@ -> mosaic bmosaic@ -> mosaic ############################################################################## # the contents of HOME/Mmosaic/bin/mosaic, # [rgb]mosaic are all soft links to it (ie, this mosaic script) # note use of ksh, csh/sh will require a little work: #!/bin/ksh # # this script allows running multiple copies of Mosaic, # each with its own set of ".mosaic-*" files. # path=$HOME/Mmosaic # the real Mosaic: defaultmosaic=/usr/X11R6/bin/Mosaic # strip path from filename x=$0 y=${x##*/} # select subset based on filename case $y in rmosaic) # echo "running red Mosaic" cd $path/redM export HOME=$PWD # setup local HOME export WWW_HOME=http://foo.domain/zippo.html $defaultmosaic -title Red ;; gmosaic) # echo "running green Mosaic" cd $path/greenM export HOME=$PWD # setup local HOME $defaultmosaic -title Green ;; bmosaic) # echo "running blue Mosaic" cd $path/blueM export HOME=$PWD # setup local HOME export WWW_HOME=http://bar.domain/barf/ $defaultmosaic -title Blue ;; *) echo "unknown flavor of xmosaic" exit 1 ;; esac # fini OK exit 0 Steve Passe smp@clem.systemsix.com