From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6013 invoked from network); 29 Apr 2008 20:13:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) 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.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Apr 2008 20:13:51 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 58992 invoked from network); 29 Apr 2008 20:13:46 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Apr 2008 20:13:46 -0000 Received: (qmail 26468 invoked by alias); 29 Apr 2008 20:13:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24895 Received: (qmail 26449 invoked from network); 29 Apr 2008 20:13:41 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 29 Apr 2008 20:13:41 -0000 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by bifrost.dotsrc.org (Postfix) with ESMTP id 5E2E48022637 for ; Tue, 29 Apr 2008 22:12:48 +0200 (CEST) Received: by wf-out-1314.google.com with SMTP id 23so35542wfg.3 for ; Tue, 29 Apr 2008 13:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=hS2hAK+AAVmF3MZbGFDz/kWN/HNTVYks/bTos3XB5ic=; b=YS+njkKrSymEyNMDt0n82plp1AESqrusT9S84F6L9OVgyFo1z6Y6OWPaIvLafgufnMHC3bNVgws57oaN1TR7lGoKsjUt8ZWI8QrNJg0eIap3/thR13bBaQ/ko6ZxL1GrvtFPl3UFssuBE2VG2n4N8XbPySPRcmribvpa7lEzPbQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Hb/JbIehRVtJI8FW6beCHzq581tKwvnyed3u6xhngBHcjic/Kh0fwTbnOJD3iYI8k4mTdIeZS3FRViBm0l+QlN44O8Cc8GHQzOFutMhuIKObGHzJrZSmvGCzVzhYtDb7QAetsWvLdN1y0K2SWtXv5ciDCgCaXj7/MtUQUdavYpw= Received: by 10.142.99.21 with SMTP id w21mr969904wfb.108.1209499964693; Tue, 29 Apr 2008 13:12:44 -0700 (PDT) Received: by 10.142.142.12 with HTTP; Tue, 29 Apr 2008 13:12:44 -0700 (PDT) Message-ID: <17393e3e0804291312u2ee2f3fcnfb274e295bfc7049@mail.gmail.com> Date: Tue, 29 Apr 2008 16:12:44 -0400 From: "Matt Wozniski" To: zsh-workers@sunsite.dk Subject: Re: PATCH: isearch match highlighting In-Reply-To: <20080429181022.12809d23@news01> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <17393e3e0804261727s560acff7sb6125d8f8b46b4b4@mail.gmail.com> <200804271957.m3RJvxiS004075@pws-pc.ntlworld.com> <17393e3e0804271849l30fe20bdp4008fc8247298d12@mail.gmail.com> <20080428102001.7b55074e@news01> <20080429181022.12809d23@news01> X-Virus-Scanned: ClamAV 0.91.2/6988/Tue Apr 29 21:13:07 2008 on bifrost X-Virus-Status: Clean On Tue, Apr 29, 2008 at 1:10 PM, Peter Stephenson wrote: > On Mon, 28 Apr 2008 10:20:01 +0100 > Peter Stephenson wrote: > > On Sun, 27 Apr 2008 21:49:01 -0400 > > "Matt Wozniski" wrote: > > > Yep, works now - and looks very nice, though I wonder if we could set > > > it up in a way that would let us change the fg or bg color of the > > > text, rather than just reverse/standout/underline? > > > > I should get around to that before long. I don't think it should be too > > hard. I'd like to use standard termcap AF/AB codes for this instead of the > > hacked-in (surprise!) colors we currently use in completion, but it doesn't > > seem to be that easy to set defaults etc. that way. Maybe Geoff knows > > about this. > > This seems now to be Not Necessarily Completely Broken (TM). Seems to work quite well to me! > I've just remembered I haven't documented the fact that only colours 0 to > 255 are allowed internally. I can't be bothered to remake the patch, so > I'll alter that before committing. The numbers of supported colours > reported by a few terminals I tried are: > > xterm: 8 > rxvt-unicode: 88 > konsole: 8 > gnome-terminal: 8 > Linux console: 8 > > so mostly just the ANSI set. I did try the extended colours on > rxvt-unicode and they seemed to work. I have a vague feeling I saw > a terminal claim to support 256. xterm-256color: 256 screen-256color: 256 Both xterm and screen can be compiled with 256 color support. Extended colors seem to work fine in them. ~Matt PS: Found a typo in the man page while playing with this: Index: Doc/Zsh/zle.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/zle.yo,v retrieving revision 1.65 diff -r1.65 zle.yo 2053c2053 < by the array parameter tt(zsh_highlight), if it has been set by the user. --- > by the array parameter tt(zle_highlight), if it has been set by the user.