From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93 invoked by alias); 24 Nov 2010 15:30:14 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28440 Received: (qmail 12782 invoked from network); 24 Nov 2010 15:30:12 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_RED autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Wed, 24 Nov 2010 16:30:07 +0100 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: Mac OS X Prompt Bug Message-ID: <20101124153007.GF1727@prunille.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6164-vl-r38670 (2010-10-13) Hi, On 2010-11-24 08:58:26 -0500, Sorin Ionescu wrote: > Please have a look at the screenshot at > http://i.imgur.com/huNpI.jpg. Otherwise, the following text may not > make sense. > > A % character appears before every prompt then it is replaced by the > prompt; This is a very useful feature (which can be disabled), to know when some output hasn't been followed by a newline character, e.g. try echo -n foo Other shells do not do this, hence the difference. > so, it only flashes for a fraction of a second. However, if > the buffer is empty when ZSH starts, such as when one has a > ~/.hushlogin file, it results in the behaviour in the screenshot, > which is % character followed by blank lines. I don't have such a problem under Mac OS X (using iTerm, but I hadn't noticed it with Terminal either in the past). This may come from the terminal (a bug?) or its configuration. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)