---
> PPID=906
30,31c30,31
< SHLVL=1
< TERM=linux
---
> SHLVL=2
> TERM=xterm
34c34,35
< _=more
---
> WINDOWID=8388622
> _=sh
mynewprompt>
running 'xinit /usr/bin/X11/fvwm2' and then starting an xterm and in the xterm
running 'set > /tmp/fvwm2.env' and then diffing the environments:
mynewprompt> diff /tmp/console.env /tmp/fvwm2.env
4a5
> DISPLAY=:0.0
10a12
> HOSTDISPLAY=danae:0.0
22,24c24,25
< PIPESTATUS=([0]="0" [1]="0")
< PPID=208
< PS1='mynewprompt> '
---
> PPID=917
> PS1='\s-\v\$ '
30,31c31,32
< SHLVL=1
< TERM=linux
---
> SHLVL=3
> TERM=xterm
34c35,36
< _=more
---
> WINDOWID=16777230
> _=sh
mynewprompt>
... and there is PS1 being set to it's the default (as mentioned in the
bash man page), suggesting to me that it's *not* actully being explicitly
*set*, but rather explicitly *unset*.
I have no .profile, no .fvwm2rc, no .Xresource, no .bashrc. The is no
/etc/bashrc, but there is a /etc/profile, which sets PS1:
mynewprompt> grep PS1 /etc/profile
PS1="\\$ "
export PATH PS1
mynewprompt>
But since I neither start off with that value, nor does it change to that
in either the xinit'ed xterm or the xinit'ed-fvwm2'ed xterm, I don't believe
/etc/profile is getting sourced.
Going back to my process diagram tree:
login shell (I set PS1)
|
startx
|
xinit
|
.xinitrc/.xsession/global-equivalents (PS1 still set)
/ \
/ \
/ \
fvwm2/twm xterm (PS1 still set)
| |
xterm (PS1 lost) bash (PS1 still set)
|
bash (PS1 set to bash's default)
Notice that when .xinitrc is executing the environment is still set correctly,
but the two bashes under them, one is right and one is wrong. And the only
difference in the two branches is that one comes through fvwm2 and the other
doesn't. I'm convinced that it is something fvwm2 is doing - perhaps
indirectly (sourcing some file I don't know about perhaps).
> Bye
>
> Dominik
Dominik, please, just for my sanity, could you move your dot-files out of the
way and try it? I mean, just to hear that someone had reproduced exactly
what I have done and *didn't* get the same results would at least give me
the confidence to keep struggling with it.
Thanks!
Alexis
Alexis Huxley
alexis_at_danae.demon.co.uk
email key: 549812
--
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 Sat Oct 31 1998 - 08:07:14 GMT
This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST