From owner-freebsd-jail@FreeBSD.ORG Tue Nov 17 14:12:57 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0F301065676 for ; Tue, 17 Nov 2009 14:12:57 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id A431B8FC17 for ; Tue, 17 Nov 2009 14:12:57 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 58B6E19E027; Tue, 17 Nov 2009 15:12:56 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 18D1019E023; Tue, 17 Nov 2009 15:12:54 +0100 (CET) Message-ID: <4B02AF65.6080007@quip.cz> Date: Tue, 17 Nov 2009 15:12:53 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.4) Gecko/20091017 SeaMonkey/2.0 MIME-Version: 1.0 To: "Scheithauer, Lars (FH)" References: <26040005B7F3AA41A0345BCE386CA09701C62A79@FHCLUSRV-EX.dcs.fh-heidelberg.de><26040005B7F3AA41A0345BCE386CA09701C62A7A@FHCLUSRV-EX.dcs.fh-heidelberg.de> <20091117103601.G37440@maildrop.int.zabbadoz.net> <26040005B7F3AA41A0345BCE386CA09701C62A7D@FHCLUSRV-EX.dcs.fh-heidelberg.de> <20091117112535.L37440@maildrop.int.zabbadoz.net> <26040005B7F3AA41A0345BCE386CA09701C62A80@FHCLUSRV-EX.dcs.fh-heidelberg.de> In-Reply-To: <26040005B7F3AA41A0345BCE386CA09701C62A80@FHCLUSRV-EX.dcs.fh-heidelberg.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Bjoern A. Zeeb" , freebsd-jail@freebsd.org Subject: Re: AW: AW: Networking from jail - errata X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 14:12:58 -0000 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