From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4927 invoked from network); 18 Oct 2007 14:01:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Oct 2007 14:01:30 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 69316 invoked from network); 18 Oct 2007 14:01:24 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Oct 2007 14:01:24 -0000 Received: (qmail 11815 invoked by alias); 18 Oct 2007 14:01:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23987 Received: (qmail 11801 invoked from network); 18 Oct 2007 14:01:21 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 18 Oct 2007 14:01:21 -0000 Received: (qmail 69050 invoked from network); 18 Oct 2007 14:01:21 -0000 Received: from vms042pub.verizon.net (206.46.252.42) by a.mx.sunsite.dk with SMTP; 18 Oct 2007 14:01:15 -0000 Received: from torch.brasslantern.com ([71.116.76.59]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JQ40021W1J21CQ8@vms042.mailsrvcs.net> for zsh-workers@sunsite.dk; Thu, 18 Oct 2007 08:59:38 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id l9IDxH4q011920 for ; Thu, 18 Oct 2007 06:59:17 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id l9IDxB83011919 for zsh-workers@sunsite.dk; Thu, 18 Oct 2007 06:59:11 -0700 Date: Thu, 18 Oct 2007 06:59:11 -0700 From: Bart Schaefer Subject: Geoff's prompt escape sequences patch (workers/23924) To: zsh-workers@sunsite.dk Message-id: <071018065911.ZM11918@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii I just noticed this never got committed to CVS. I've tried it and it is giving 99% of the correct behavior now (well, what I think is the correct behavior; I never tried ending a prompt by turning ON standout, before). The only glitch I can find by randomly fooling around is that completion sometimes erases a standout space to the left of the word, inserts a plain space, and then draws the completed word in standout, so you end up with a command line with a "hole" in it. Any further redraw of the line after this point (such as completing again on a later word) repaints correctly and fills the hole. Fixing that probably means diving into the completion refresh code, so I think committing what Geoff has so far would be fine.