From owner-freebsd-questions Mon Jan 6 17:11:21 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A85BA37B401 for ; Mon, 6 Jan 2003 17:11:19 -0800 (PST) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A0E643E4A for ; Mon, 6 Jan 2003 17:11:18 -0800 (PST) (envelope-from kkb@breathhost.net) Received: from [192.168.1.63] (12-240-247-89.client.attbi.com[12.240.247.89]) by rwcrmhc53.attbi.com (rwcrmhc53) with SMTP id <2003010701111805300k8k1ne>; Tue, 7 Jan 2003 01:11:18 +0000 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.3 Date: Mon, 06 Jan 2003 17:11:23 -0800 Subject: Re: Export variables From: Kurt Bigler To: Gerard Samuel , Message-ID: In-Reply-To: <3E1A2030.8010809@trini0.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG on 1/6/03 4:32 PM, Gerard Samuel wrote: > How does one "export" variables in root's shell. > Im trying to set some variables trying to get mailman from the ports to > install. > > Thanks If I get right what you're asking... Root's shell is csh by default. Csh does not have an exact equivalent to the sh export command. Instead you must use setenv variable value Note the lack of the = sign. This basically combines the functions of sh's set and export. (Maybe there are some subtle differences if you subsequently set the non-exported variable by the same name? But you probably don't need to worry about this.) -Kurt Bigler To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message