From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Anthony Pilley Newsgroups: gmane.os.tru64.managers Subject: Enivronment Variables csh Date: Wed, 18 Dec 2002 14:10:01 +1100 Organization: University of Sydney, Orange Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <005b01c2a642$f483dcd0$d2344e81@oac> Reply-To: apilley@orange.usyd.edu.au NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1040181020 12988 80.91.224.249 (18 Dec 2002 03:10:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 18 Dec 2002 03:10:20 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18OUbA-0003NI-00 for ; Wed, 18 Dec 2002 04:10:16 +0100 Original-Received: (qmail 31473 invoked by uid 5); 18 Dec 2002 03:10:28 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 31464 invoked by uid 49493); 18 Dec 2002 03:10:28 -0000 Original-Received: from apilley@oac.usyd.edu.au by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.0/5.0):. Processed in 0.358926 secs); 18 Dec 2002 03:10:28 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 18 Dec 2002 03:10:27 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H7A00LQ4OTDHG@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 17 Dec 2002 22:10:27 -0500 (EST) Original-Received: from banjo.orange.usyd.edu.au (banjo.oac.usyd.edu.au [129.78.52.5]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H7A001B8OSOYI@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 17 Dec 2002 22:10:02 -0500 (EST) Original-Received: from apilley (apilley.oac.usyd.edu.au [129.78.52.210]) by banjo.orange.usyd.edu.au (8.10.0/8.10.0) with ESMTP id gBI39xR19198 for ; Wed, 18 Dec 2002 14:09:59 +1100 (EST) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:2758 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2758 Hi All I want to run a script to set some enviroment variables for the current csh session. By just running the script, they are available inside the scripts session, until the script ends, and then they are gone. In ksh I am able to use: . scriptname ie (dot) scriptname and it works fine. How do I do this for csh Regards Anthony Pilley Computer System Officer Lan Manager University of Sydney Orange Faculty of Rural Management email: apilley@orange.usyd.edu.au