Date: Sun, 26 Mar 1995 23:11:27 -0700 From: Steve Passe <fbsd@clem.systemsix.com> To: questions@FreeBSD.org Cc: Jeff <jeffh@cybernetics.net> Subject: Re: New Snapshot - Thanks! Message-ID: <199503270611.XAA01331@clem.systemsix.com> In-Reply-To: Your message of "Sun, 26 Mar 1995 15:01:29 EST." <Pine.SUN.3.91.950326150004.8096A-100000@server0>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503270611.XAA01331>