Scheithauer, Lars (FH) wrote:
Hi Bjoern,

I did, but the error was somewhere else. I set the proxy through
        set http_proxy="http://proxy.example.com:8080";
while the correct version would be
        setenv http_proxy http://proxy.example.com:8080

In both cases, "echo $http_proxy" returns the correct entry. Could you explain 
the difference between set and setenv?

The differenc is, that 'set' is for shell variables (in scope of current shell) and 'setenv' is for environment variables.

If you use 'set' and then try to print the value from forked shell script, it will be empty. If you use 'setenv', the shell script will print the value.

See 'man tcsh' (if you are using tcsh as your login shell)

Miroslav Lachman
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[email protected]"

Reply via email to