Re: Environment vanishing (was Re: FVWM: Emacs does not...)

From: Kendrick Vargas <kvarga01_at_fiu.edu>
Date: Wed, 14 May 1997 13:09:37 -0400 (EDT)

On Wed, 14 May 1997, Richard A. Guay wrote:

> It not that fvwm is not passing the environment variable. What I
> have found is that if the script that launches fvwm is different than
> the shell that you have your environment variables set, then you will
> not get the environment in fvwm that you thought you were. For
> example, for a while a bourne shell was used to execute my .xinitrc
> file while I use zsh for my main shell. In this case, I did not get
> my environment variables set because they are set in my .zshrc file
> and not my .profile file. When I switch my .xinitrc file to run as a
> zsh program, then I got the environment that I expected to get.
> Therefore, if you are using a csh, make sure that the script that
> launches your fvwm session is also a csh script!

well, this can be a problem. Sun OS's (in my experience) don't care what
shell you specify for your .xinitrc or .xsession, Solaris will always
process it as a /bin/sh script. Besides, you can set environment variables
inside a shell script. It's not hard to add a line like

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

or something like that, but even doing this, it doesn't work...
                        -peace

PS> Please don't CC me, I'm on the mailing list, thanx :)

--- 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 - 12:09:54 BST

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