From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18206 invoked from network); 19 Mar 2007 13:14:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.8 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Mar 2007 13:14:14 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 47384 invoked from network); 19 Mar 2007 13:14:08 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Mar 2007 13:14:08 -0000 Received: (qmail 16330 invoked by alias); 19 Mar 2007 13:14:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23223 Received: (qmail 16318 invoked from network); 19 Mar 2007 13:14:05 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 19 Mar 2007 13:14:05 -0000 Received: (qmail 47105 invoked from network); 19 Mar 2007 13:14:05 -0000 Received: from cluster-c.mailcontrol.com (168.143.177.190) by a.mx.sunsite.dk with SMTP; 19 Mar 2007 13:13:58 -0000 Received: from rly14c.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly14c.srv.mailcontrol.com (MailControl) with ESMTP id l2JDDlnM032506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 19 Mar 2007 13:13:51 GMT Received: from submission.mailcontrol.com (submission.mailcontrol.com [86.111.216.190]) by rly14c.srv.mailcontrol.com (MailControl) id l2JDDQ4O031668 for zsh-workers@sunsite.dk; Mon, 19 Mar 2007 13:13:26 GMT Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly14c-eth0.srv.mailcontrol.com (envelope-sender Peter.Stephenson@csr.com) (MIMEDefang) with ESMTP id l2JDDHwG031351; Mon, 19 Mar 2007 13:13:26 +0000 (GMT) Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Mar 2007 13:13:25 +0000 Date: Mon, 19 Mar 2007 13:13:17 +0000 From: Peter Stephenson To: zsh-workers@sunsite.dk, "David Durrleman" Subject: Re: zsh on short terminals Message-Id: <20070319131317.6851b5b2.pws@csr.com> In-Reply-To: <1bea19c20703142005t68ccbe91ie9572c97a865f561@mail.gmail.com> References: <1bea19c20703142005t68ccbe91ie9572c97a865f561@mail.gmail.com> Organization: Cambridge Silicon Radio X-Mailer: Sylpheed version 2.2.10 (GTK+ 2.10.8; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Mar 2007 13:13:25.0454 (UTC) FILETIME=[608E8EE0:01C76A28] X-Scanned-By: MailControl A-07-06-90 (www.mailcontrol.com) on 10.67.1.124 "David Durrleman" wrote: > If I run a terminal with less than 3 lines (geometry 80x1 for > example), then the first 17 chars of the prompt are not displayed > > A friend of mine reproduced this on a completely different computer > with a different linux distribution, so I think that this is a bug in > zsh. Yes, it's a bug. This is a bit horrible. Zsh goes into a special mode when the terminal height is less than 3, equivalent to single line mode---that's because it can't fit the two extra lines the line editor normally expects to be there as a minimum under the prompt. However, it looks like single line mode has been allowed to lag behind the normal input mode and hasn't been fixed for ages. I don't have time to rewrite it completely, so I'm not sure what to do. pws To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview