From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25212 invoked from network); 9 Nov 1998 13:32:57 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 9 Nov 1998 13:32:57 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id IAA16837; Mon, 9 Nov 1998 08:29:08 -0500 (EST) Resent-Date: Mon, 9 Nov 1998 08:28:59 -0500 (EST) Date: Mon, 9 Nov 1998 13:27:28 +0000 (GMT) From: "Owen M. Astley" X-Sender: oma1000@alpha2.poco.phy.cam.ac.uk Reply-To: "Owen M. Astley" To: zsh-users@math.gatech.edu Subject: New-line in prompt Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Owen Astley Resent-Message-ID: <"jhxk23.0.a64.QukHs"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1931 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I am trying to get a new line (\n) in a prompt (actually I only want the new line if the current one is too long). Has anybody got any idea about how to do this? %{\n%} works but, as the man page says, it shouldn't change the cursor position (for obvious reasons if you use it). Thanks, Owen