From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id EAA16956 for ; Fri, 12 Jul 1996 04:24:41 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id NAA24334; Thu, 11 Jul 1996 13:55:14 -0400 (EDT) Resent-Date: Thu, 11 Jul 1996 13:52:58 -0400 (EDT) Date: Thu, 11 Jul 1996 13:51:48 -0400 (EDT) From: DeWitt Clinton To: zsh-users@math.gatech.edu Subject: On the topic of prompts In-Reply-To: <199607111647.MAA17121@nerc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"fTbdO2.0.5x5.wzJvn"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/285 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hi, I've been lurking here for a while, and while I don't take full advantage of everything zsh offers, I am still a strong supporter. I just recently switched to a two line prompt (embedding a literal newline works fine for me) and I have a question. I used to use rprompt to place the time on the right hand side. Now I would like the time to be right justified on the first line of the prompt. So it would look something like: - history hostname username cwd date time - % Simply using rprompt would give me: - history hostname username cwd date % time - Since there is probably no way to justify a section of the prompt, perhaps there is a way to tell rprompt to write to the line just above using control characters? Just wondering... Also, is there a way to pad the variables with spaces? If so, that would solve this problem entirely. While I am thinking about it, what I am really looking for is a status bar that would just sit at the top of the screen and hold certain useful information. Anyone know of how to achieve this? -DeWitt DeWitt Clinton dewitt@siva.tripod.com (413) 458-2265 at Tripod, Inc. (413) 458-2107 at home.