On 2001-02-11 15:16 +0100, Erdmut Pfeifer <[EMAIL PROTECTED]> wrote: > On Sun, Feb 11, 2001 at 02:26:51PM +0100, Andre Berger wrote: > > I wrote a shell script "/usr/local/bin/mailcheck" (/usr/local/bin/ is in > > $PATH of my potato bash) that gives a list of pon "targets" (diff. > > ISPs), and is owned by root., perms 755. I've virtually no experience > > with shell scripting, so it may be poor quality. Anyway: If the script > > is invoked from a command line within or outside X, it works. If it's > > invoked via "rxvt -e mailcheck" or "rxvt -ls -e mailcheck", everything > > looks normal, but nothing's dialed. > > just guessing...: maybe you have different sets of environment > variables for the different invocations. From where do you execute the > "rxvt ..."?
icewm's menu. > You might want to put a "set >/tmp/somefile" in your script > and see if the relevant env settings differ from where you can invoke > it successfully... > > Erdmut < is from the command line, > from the script via icewm's menu/rxvt. < BASH=/bin/bash > BASH=/bin/sh < LC_MESSAGES=POSIX > LC_MESSAGES=en_US < PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/local/lib/wp/wpbin > PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games < SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comments:emacs > SHELLOPTS=braceexpand:hashall:interactive-comments < _=LC_MESSAGES < i=LC_IDENTIFICATION=de_DE > _=sh Can you see from this what's wrong? Andre Berger [EMAIL PROTECTED]