From owner-freebsd-questions Sat Apr 20 8:51: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rhadamanth.submonkey.net (pc4-card4-0-cust162.cdf.cable.ntl.com [80.4.14.162]) by hub.freebsd.org (Postfix) with ESMTP id A196E37B400 for ; Sat, 20 Apr 2002 08:50:43 -0700 (PDT) Received: from setantae by rhadamanth.submonkey.net with local (Exim 3.36 #1) id 16yx8E-0002Ey-00; Sat, 20 Apr 2002 16:50:34 +0100 Date: Sat, 20 Apr 2002 16:50:34 +0100 From: Ceri Davies To: Todd Ross Cc: freebsd-questions@freebsd.org Subject: Re: two quick questions (man pages and tcsh) Message-ID: <20020420155034.GB575@submonkey.net> Mail-Followup-To: Ceri Davies , Todd Ross , freebsd-questions@freebsd.org References: <20020420133926.E841C37B41A@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020420133926.E841C37B41A@hub.freebsd.org> User-Agent: Mutt/1.3.28i 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 Sat, Apr 20, 2002 at 08:41:11AM -0500, Todd Ross wrote: > Howdy, > > I have two (what I hope are) quick questions. > > 1) Why does tcsh store its config files in two places (/.cshrc and > /etc/csh.cshrc). From my brief testing, it looks like one is used for root > and the other is used for all of the other accounts in the system. I'm just > wondering the reasoning behind it. I'd guess it has something to do with > when you boot into single user mode? /etc/csh.cshrc can be used by root to provide defaults for all users using tcsh. ~/.cshrc is for a user's own stuff and can override or set additional options that don't apply to all users. For instance, my account and my root account use different CVSROOT variables to other accounts on the machine, so ~setantae/.cshrc and /.cshrc have a different value for CVSROOT than /etc/csh.cshrc does. Your second question has already been answered. Ceri -- get the cool shoe shine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message