From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5288 invoked from network); 8 Apr 2005 17:48:27 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 8 Apr 2005 17:48:27 -0000 Received: (qmail 22427 invoked from network); 8 Apr 2005 17:48:21 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 Apr 2005 17:48:21 -0000 Received: (qmail 15224 invoked by alias); 8 Apr 2005 17:48:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21126 Received: (qmail 15211 invoked from network); 8 Apr 2005 17:48:17 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 8 Apr 2005 17:48:17 -0000 Received: (qmail 22144 invoked from network); 8 Apr 2005 17:48:17 -0000 Received: from mail36.messagelabs.com (193.109.254.211) by a.mx.sunsite.dk with SMTP; 8 Apr 2005 17:48:10 -0000 X-VirusChecked: Checked X-Env-Sender: okiddle@yahoo.co.uk X-Msg-Ref: server-17.tower-36.messagelabs.com!1112982493!12998407!1 X-StarScan-Version: 5.4.11; banners=-,-,- X-Originating-IP: [158.234.9.163] Received: (qmail 29621 invoked from network); 8 Apr 2005 17:48:13 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-17.tower-36.messagelabs.com with SMTP; 8 Apr 2005 17:48:13 -0000 Received: from trentino.logica.co.uk ([158.234.142.59]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id j38Hm9R9019086 for ; Fri, 8 Apr 2005 18:48:09 +0100 Received: from trentino.groupinfra.com (localhost [127.0.0.1]) by trentino.logica.co.uk (Postfix) with ESMTP id 0230C4B119 for ; Fri, 8 Apr 2005 19:47:48 +0200 (CEST) X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <1050408151221.ZM19094@candle.brasslantern.com> From: Oliver Kiddle References: <1dc4e3890504061159601fb049@mail.gmail.com> <20050407172756.GA16416@DervishD> <1dc4e38905040711017a63b0ba@mail.gmail.com> <20050407181536.GD16712@DervishD> <1050407225513.ZM17729@candle.brasslantern.com> <4374.1112949824@trentino.groupinfra.com> <1050408100927.ZM18483@candle.brasslantern.com> <5550.1112958038@trentino.groupinfra.com> <1050408151221.ZM19094@candle.brasslantern.com> To: zsh-workers@sunsite.dk Subject: Re: Zsh clears prompt line. Feature or bug? Date: Fri, 08 Apr 2005 19:47:48 +0200 Message-ID: <12609.1112982468@trentino.groupinfra.com> X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Bart wrote: > Does that mean that with $terminfo you were able to employ a destructive > backspace? As I said, for me \b isn't destructive, at least not in the > sense of making it impossible to mouse-select previously-printed spaces. Seems I was wrong when saying it worked in xterm. Must have not tested it right or perhaps the xterm I have at home is different from the one at work. It does work in pterm, however. Your code in 21119 being as good as the $terminfo solution. Closest I can think of for xterm is "\e[1S${(l.COLUMNS.)}\e[1T" but that still has problems. Oliver