[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] more with the scripts...
From: |
Joe Corneli |
Subject: |
Re: [RP] more with the scripts... |
Date: |
Thu, 10 Feb 2005 11:32:44 -0600 |
Hey! Emacs is involved, no wonder it's not working! ;)
Seriously,
I'm not sure what might be the problem, but it seems to be occuring as
soon as you use :exec, right? Assuming your /bin/sh is not tcsh the
commands get run with different parent shells, different environments
and stuff.
Could you try executing env in your zippy script so that the environment
can be compared between the two launching methods?
Well, I found a quick way to fix things up was to do the opposite of
the getenv that Shawn suggested:
[~]% ratpoison -c "getenv PATH"
/usr/bin:/bin:/usr/sbin:/sbin:/Users/arided:/usr/X11R6/bin
[~]% ratpoison -c "setenv PATH $HOME/bin/:/sw/bin/:/usr/local/bin/:{$PATH}"
[~]% ratpoison -c "getenv PATH"
/Users/arided/bin/:/sw/bin/:/usr/local/bin/:{/sw/bin:/sw/sbin:/Users/arided/bin/:/sw/bin/:/usr/local/bin/:/Users/arided/bin/:/sw/bin/:/usr/local/bin/:/Users/arided/bin/:/sw/bin/:/usr/local/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/Users/arided:/usr/X11R6/bin}
I don't think I can do this in the .ratpoisonrc, because I'd need an
"exec" which I can't use at that point (and maybe the syntax I used is
wrong b/c I don't like the look of those braces).
But whatever, I can run stuff in my home directory now.
So yay!
Joe
PS. I'll try your suggestion about env later, to have that on record.
- Re: [RP] Sending of any key in top keymap, (continued)
- Re: [RP] Sending of any key in top keymap, Joe Corneli, 2005/02/08
- [RP] printing output to terminal?, Joe Corneli, 2005/02/08
- Re: [RP] printing output to terminal?, Trent Buck, 2005/02/08
- Re: [RP] printing output to terminal?, Joshua Neuheisel, 2005/02/09
- Re: [RP] printing output to terminal?, Shawn Betts, 2005/02/09
- Re: [RP] printing output to terminal?, Joe Corneli, 2005/02/09
- Re: [RP] printing output to terminal?, Joe Corneli, 2005/02/09
- Re: [RP] printing output to terminal?, Shawn Betts, 2005/02/10
- [RP] more with the scripts..., Joe Corneli, 2005/02/08
- Re: [RP] more with the scripts..., Martin Samuelsson, 2005/02/10
- Re: [RP] more with the scripts...,
Joe Corneli <=
- Re: [RP] more with the scripts..., Trent Buck, 2005/02/10
- Re: [RP] more with the scripts..., Joe Corneli, 2005/02/10
Re: [RP] Sending of any key in top keymap, Martin Samuelsson, 2005/02/26