Re: clisp screws my enviromnent



Rob Warnock wrote:
Daniel Albuschat <daniel@xxxxxxxxxxxxxxx> wrote:
+---------------
| What is going on, and how can I stop it from happening?
| It seems that my environment settings are overridden or discarded.
+---------------

What does (OS-SYSTEM "env") give you?
Compare that to running "env" in a shell.

Hello Rob,

when comparing the output of my lisp program that calls "env"
and "env" from a shell, there're only two differences:
SHLVL is "1" when called from the shell and "2" when called from
lisp and "OLDPWD" is missing in the lisp-env.
This doesn't sound like a serious issue at all.

I still (or even more so) can't imagine where that erroneous behaviour
might come from.

Regards,

Daniel Albuschat
.



Relevant Pages

  • Re: Problem wih characters (was Problem with IME)
    ... even *heard* of an "env" utility. ... LANG=ja_JP.UTF-8 environment, although I suspect it wouldn't have any ... When I tried running it in a shell, ... But I am going to study Tobias Diedrich's suggestion very hard. ...
    (sci.lang.japan)
  • Re: Thunderbird 2.0.0.16 doesnt launch firefox?
    ... interactive shell has PATH set up differently from what ff inherits, or you export DISPLAY and it does not, etc. Remember that FF is being started from TB which is a child of one of the GUI processes. ... Then do the same thing from your shell prompt, dumping the output into /tmp/my.env and then diff the two files. ... Look for suspicious differences. ... You could then test out those suspicions by reading in your own env. ...
    (comp.unix.solaris)
  • Re: ksh issues...
    ... i use /bin/ksh for my shell and I have the following problem. ... That's because csh has a defined filename to source, while ksh ... env will find rmtcmd from the PATH you supply. ...
    (comp.unix.shell)
  • Re: Env vars
    ... So I was NOT in the primary shell. ... env as well. ... seems you would have to check every single time you do a set command ...
    (comp.os.msdos.4dos)
  • Re: how to make colour prompts for pdksh
    ... Or launch konsole, and do: ... The .profile is always gets parsed (both in a login and a non-login ... your login shell, so your prompts will still be set, etc. ... You need to export ENV. ...
    (Debian-User)