On Wed, 14 May 1997, Bruce Stephens wrote:
> kvarga01_at_fiu.edu said:
> > What I mean is that the .xsession or .xinitrc or WHATEVER that calls
> > fvwm2 is simply a shell script, and if you set environments within
> > that shell script, fvwm2 should make those environments available to
> > the programs that fvwm2 starts... Currently, only a few environments
> > are made available to programs... $HOME, $PATH, $LD_LIBRARY_PATH, and
> > a few other vital ones...
>
> Is that true? My understanding was that all environment variables got passed
> on (so long as the shell which runs .xsession or whatever exports them, of
> course). Is this not true? Does fvwm2 *really* pick and choose which
> variables to pass on?
In my case, yes. I don't believe I've ever been able to pass weird
environment variables. I know this because I once tried it with my IRC
environments. I set them in my .xsession hoping they'd get passed to
irc, but it never happened... I think I saw this come up on the list one
time earlier as well..... The case isn't that fvwm2 is picking and
choosing, I think the case is that it's not passing ANY... It grabs it's
PATH and LD_LIBRARY_PATH when necessary, and runs what it has to run.
> What's more likely is that the person is running xdm, which runs .xsession,
> and so never actually runs csh at all until they get an xterm up. So the
> environment variables exist in the xterms, but not in anything else, and in
> particular not in fvwm2 and modules. The trick there is to ensure that the
> variables are set (and exported) in .xsession or .xinitrc.
Well... I do tend to make sure to take care of my .xsession... It took me
1.5 years before I figured out how to make one .xsession work on Solaris,
IRIX, Linux, and whatever else you might throw my way...
-peace
--- BEGIN GEEK CODE BLOCK ------------+-----------
GAT d- s:+ !a C+(+++) UI/L/S/B++(+++) | "In the morning glad I see
P>+ L+(++) E---- W+++ N+ o? K? w++++ | My foe outstrech'd beneath the tree."
O--- M-- V PS+++_at_ PE Y-- PGP+ t++ 5 | -The Poison Tree
X++ R- tv+ b DI++ D+ G e>* h*(!) r- | William Blake
y*(+) ------ END GEEK CODE BLOCK -----+
--
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 Wed May 14 1997 - 09:35:42 BST