From owner-freebsd-current@FreeBSD.ORG Fri Apr 29 08:19:59 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 75ACE16A4CE for ; Fri, 29 Apr 2005 08:19:59 +0000 (GMT) Received: from fast.dnswatch.com (fast.dnswatch.com [216.177.243.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03C1143D39 for ; Fri, 29 Apr 2005 08:19:59 +0000 (GMT) (envelope-from null@dnswatch.com) Received: from fast.dnswatch.com (localhost.dnswatch.com [127.0.0.1]) by fast.dnswatch.com (8.12.6/8.12.6) with ESMTP id j3T8Jrrt014135; Fri, 29 Apr 2005 01:19:57 -0700 (PDT) (envelope-from null@dnswatch.com) Received: (from www@localhost) by fast.dnswatch.com (8.12.6/8.12.6/Submit) id j3T8JqCE014134; Fri, 29 Apr 2005 01:19:53 -0700 (PDT) (envelope-from null@dnswatch.com) X-Authentication-Warning: fast.dnswatch.com: www set sender to null@dnswatch.com using -f Received: from mail.1command.com ([216.177.243.35]) (DNSwatch.com_WebMail authenticated user null) by webmail.dnswatch.com with HTTP; Fri, 29 Apr 2005 01:19:51 -0700 (PDT) Message-ID: <52053.216.177.243.35.1114762792.localmail@webmail.dnswatch.com> In-Reply-To: <427196C0.5040506@chuckr.org> References: <427196C0.5040506@chuckr.org> Date: Fri, 29 Apr 2005 01:19:51 -0700 (PDT) From: "/dev/null" To: "Chuck Robey" , freebsd-current@freebsd.org User-Agent: DNSwatch.com_WebMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Re: tcsh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 08:19:59 -0000 > The first thing I do, after I've installed a new system (just before I > copy over the ssh data) is to copy my .cshrc to my home dir. What's so > important? I really like the two statements, which I show below, which > give me my prompt: > > set prompt="%m:%{^[[34m%}`id -nu`%{^[[0m%}:%~:%{^[[31m#%h^[[0m%}%#" > alias cd 'cd \!*;set prompt="%m%{^[[32m%}:`id > -nu`%{^[[0m%}:%~:%{^[[31m#%h^[[0m%}%#"' > FWIW here's mine: set prompt = "\n%~\n%t\n%d, %D `/bin/hostname -s`# " Short and sweet. As you can see it leaves little doubt as to where I am or what day and time it is. -Chris > My mailer is adding carriage returns to the cd line, maybe even to the > prompt line, live with it. > > Any chance that something so basic as this, that improves things so > awfully much, could be added to the .tcshrc? If the idea is liked well > enough, I will edit it enough so that the special use of prompt strings > that are specific to tcsh is made conditional. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > //////////////////////////////////////////////////// If only Western Electric had found a way to offer binary licenses for the UNIX system back in 1974, the UNIX system would be running on all PC's today rather than DOS/Windows. ////////////////////////////////////////////////////