From owner-freebsd-current@FreeBSD.ORG Fri Apr 29 04:13:25 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D026116A4CE for ; Fri, 29 Apr 2005 04:13:25 +0000 (GMT) Received: from seven.Alameda.net (seven.alameda.net [64.81.53.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28FDA43D54 for ; Fri, 29 Apr 2005 04:13:25 +0000 (GMT) (envelope-from ulf@Alameda.net) Received: by seven.Alameda.net (Postfix, from userid 1000) id 3C72E3A201; Thu, 28 Apr 2005 21:13:24 -0700 (PDT) Date: Thu, 28 Apr 2005 21:13:24 -0700 From: Ulf Zimmermann To: "M. Warner Losh" Message-ID: <20050429041323.GE24555@seven.alameda.net> References: <427196C0.5040506@chuckr.org> <42719BA0.5030901@samsco.org> <20050428.212803.78072573.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050428.212803.78072573.imp@bsdimp.com> Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 4.10-RELEASE-p2 User-Agent: Mutt/1.5.6i cc: chuckr@chuckr.org cc: FreeBSD-current@freebsd.org Subject: Re: tcsh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ulf@Alameda.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 04:13:26 -0000 On Thu, Apr 28, 2005 at 09:28:03PM -0600, M. Warner Losh wrote: > In message: <42719BA0.5030901@samsco.org> > Scott Long writes: > : Why does 'cd' have to be aliased? > > It doesn't. In historical csh implementations (eg, sunos 4, 4.2 or > 4.3 BSD) needed to alias cd to get the prompt set, but tcsh has indeed > obviated that need, with all the benefits that you describe. > > Warner I got two standard settings for tcsh: Depended on the TERM set: alias precmd 'echo -n "^[]2;$HOST^G"' And prompt: set prompt = '%B%m%b %n %C3 %# ' I do put the user in because of using more then myself and root. -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://seven.Alameda.net/~ulf/resume.html