Re: FVWM: Emacs does not print when started from FVWM-Buttons

From: Carvel Baus <c_baus_at_fujitsu-fnc.com>
Date: Wed, 14 May 1997 08:53:32 -0400

I agree with Bruce. I had a similar problem with emacs and Fvwm not
recognizing my environment variables and it was because I had a check
in my .cshrc that looked to see if it was being 'executed' in an
interactive shell or not. If not (which is the case when I first
login), then it would exit at that point and not finish the stuff
below it. A lot of my environment variables happened to be set below
this checkpoint so I was losing them in Fvwm and anything else that was
started from the .xinitrc. My xterms were fine because they were
interactive.

I would suggest reading the man pages for login and csh or whatever
shell you use to really understand the order of things.

Carvel


>>>>> "Bruce" == Bruce Stephens <B.Stephens_at_isode.com> writes:

Bruce> 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...

Bruce> Is that true? My understanding was that all environment
Bruce> variables got passed on (so long as the shell which runs
Bruce> .xsession or whatever exports them, of course). Is this not
Bruce> true? Does fvwm2 *really* pick and choose which variables to
Bruce> pass on?

Bruce> What's more likely is that the person is running xdm, which
Bruce> runs .xsession, and so never actually runs csh at all until
Bruce> they get an xterm up. So the environment variables exist in
Bruce> the xterms, but not in anything else, and in particular not in
Bruce> fvwm2 and modules. The trick there is to ensure that the
Bruce> variables are set (and exported) in .xsession or .xinitrc.


Bruce> -- Visit the official FVWM web page at
Bruce> <URL:http://www.hpc.uh.edu/fvwm/>. To unsubscribe from the
Bruce> list, send "unsubscribe fvwm" in the body of a message to
Bruce> majordomo_at_hpc.uh.edu. To report problems, send mail to
Bruce> fvwm-owner_at_hpc.uh.edu.

--
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 - 07:55:12 BST

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