From owner-freebsd-questions Wed Aug 8 16:34:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.austclear.com.au (ns2.austclear.com.au [192.43.185.70]) by hub.freebsd.org (Postfix) with ESMTP id BED4D37B405 for ; Wed, 8 Aug 2001 16:34:18 -0700 (PDT) (envelope-from ahl@austclear.com.au) Received: from tungsten.austclear.com.au (tungsten.austclear.com.au [192.168.166.65]) by ns2.austclear.com.au (8.11.2/8.11.3) with ESMTP id f78NYG415780; Thu, 9 Aug 2001 09:34:17 +1000 (EST) (envelope-from ahl@austclear.com.au) Received: from tungsten (tungsten [192.168.166.65]) by tungsten.austclear.com.au (8.9.3/8.9.3) with ESMTP id JAA25764; Thu, 9 Aug 2001 09:34:16 +1000 (EST) Message-Id: <200108082334.JAA25764@tungsten.austclear.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: Drew Tomlinson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to Echo Newline in tcsh? In-Reply-To: Message from Drew Tomlinson of "Wed, 08 Aug 2001 08:04:43 MST." <5CD46247635BD511B6B100A0CC3F023925A049@ldcmsx01.lc.ca.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 09 Aug 2001 09:34:16 +1000 From: Tony Landells 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 drewt@writeme.com said: > Thank you for the informative explanation. Where is the proper place > to set environment variables so they are there between logins? And > where should I set it if I want it to be the default for all users and > any new users I might create? Actually, this isn't an environment variable (to be pedantic); it's just a shell variable. If you run "printenv" you will see that it's not listed. Also freddo# echo $echo_style both freddo# tcsh You have mail. freddo# echo $echo_style bsd freddo# exit exit freddo# which suggests that it isn't being inherited by child processes (unless it's being reset, but I can't see anything to indicate that). If you look at the man page for tcsh it has a section on startup files. For what you want, it probably should go in /etc/csh.cshrc in something like: if ($?tcsh) then # tcsh-specific stuff set echo_style=both endif Since FreeBSD doesn't have the "vanilla" csh, you're probably okay with just putting set echo_style=both in /etc/csh.cshrc, but I generally prefer to spell things out. Cheers Tony -- Tony Landells Senior Network Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message