From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from math.gatech.edu (euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with SMTP id BAA07132 for ; Sat, 11 Nov 1995 01:58:54 +1100 (EST) Received: by math.gatech.edu (5.x/SMI-SVR4) id AA11194; Fri, 10 Nov 1995 09:27:31 -0500 Old-Return-Path: Resent-Date: Fri, 10 Nov 1995 14:23:12 +0000 (GMT) Old-Return-Path: From: Zefram Message-Id: <26896.199511101423@stone.dcs.warwick.ac.uk> Subject: Re: Prompt ending with a "\n" To: vlefevre@ens.ens-lyon.fr Date: Fri, 10 Nov 1995 14:23:12 +0000 (GMT) Cc: zsh-users@math.gatech.edu In-Reply-To: <9511101203.AA05778@brotteaux.ens-lyon.fr> from "Vincent Lefevre" at Nov 10, 95 01:03:37 pm X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]6572.99 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-Id: <"LdVG83.0.0k2.61sem"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/127 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >But there's another bug: when a prompt ends with a newline, a space >is always displayed after this newline. Is it also a known bug? When I revised the prompt code recently I queried this. It seems to be intentional. A space is added to the end of a prompt if it ends one column before the edge of the screen to avoid trouble on some terminals, though I'm not aware of any where this is a problem. A space is also added if the prompt takes up an integral number of rows, possibly to avoid trouble with automatic margins? It could be safely disabled in the case of an explicit newline being used. -zefram