From owner-freebsd-questions Fri Jan 11 8:14:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp-2.enteract.com (smtp-2.enteract.com [207.229.143.4]) by hub.freebsd.org (Postfix) with ESMTP id 6E70137B416 for ; Fri, 11 Jan 2002 08:14:26 -0800 (PST) Received: from jamestown.21stcentury.net (24-148-18-116.na.21stcentury.net [24.148.18.116]) by smtp-2.enteract.com (Postfix) with ESMTP id 9A0BC75FA; Fri, 11 Jan 2002 10:14:25 -0600 (CST) Received: (from jtm@localhost) by jamestown.21stcentury.net (8.11.6/8.11.3) id g0BGE9g66118; Fri, 11 Jan 2002 10:14:09 -0600 (CST) (envelope-from jtm63@enteract.com) X-Authentication-Warning: jamestown.21stcentury.net: jtm set sender to jtm63@enteract.com using -f To: "J.S." Cc: freebsd-questions@freebsd.org Subject: Re: My tcsh prompt: Where are the goodies I miss? References: <20020104135308.2005c72f.johann@broadpark.no> From: James McNaughton Date: 11 Jan 2002 10:14:09 -0600 In-Reply-To: <20020104135308.2005c72f.johann@broadpark.no> Message-ID: <86y9j4euge.fsf@jamestown.21stcentury.net> Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 J.S. writes: > This is my current tcsh prompt: > > set prompt = "<%B$user%b@%B%m%b> [%/] [%B%T%b] \n# " > > looking: > > [/home/johann] [13:47] > # > > Are there any "goodies" I am missing that would be useful in the first > line of my prompt? I'm uncertain on what letter calls the tty to be > displayed, and I'm sure there's a lot more out there. > > I used to include another linebreak in << set prompt = "\n<%B >> [...], > kinda giving my two-line prompt a little break and relaxing so it doesn't > get too close to the previous output. It seems, however, so unreal to have > it that way, violating the extra echo i have in .login after fortune -s, > making two line-spaces upon login and just.. yeah, doing unfitting things. > I'd really appreciate some nice, professional way of layouting my prompt > so that my system can have a beautiful image. :-) Has it occurred to you that you think too much about your prompt? ;) If you haven't visited it already, http://tcshrc.sourceforge.net/ may be of interest. > > Thanks. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message