From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id QAA08721 for ; Thu, 8 Jun 1995 16:21:55 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA24659 (5.65c/Gatech-10.0-IDA for ); Thu, 8 Jun 1995 02:17:18 -0400 Received: by math (5.x/SMI-SVR4) id AA10735; Thu, 8 Jun 1995 02:14:50 -0400 Old-Return-Path: Resent-Date: Thu, 08 Jun 1995 18:14:43 +1200 Old-Return-Path: From: Dave Sainty Message-Id: <199506080614.SAA27332@bats.comp.vuw.ac.nz> To: zsh-users@math.gatech.edu Subject: Re: zsh and color In-Reply-To: Your message of "Thu, 08 Jun 1995 11:07:27 +1000." <9506080107.AA09120@buddha.unico> X-Face: /B9VTI#fcP.}X/h^;-~C,RyvcjB8gD' s!52iF{}"OR9bmoP Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/19 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Andrew Cosgriff writes: > Richard Coleman wrote: > > >I don't forsee this happening any time soon. There are too many other > >things still in the pipeline that need to be done. Also, I don't like > >the idea of adding features to the baseline that would only be used by > >people on a particular OS. > > It's not actually OS-specific - the patch to gnu's ls uses ANSI escape > sequences to set the colors Colour escape sequences are also avaliable from termcap/terminfo databases, although they are rarely documented even for colour capable terminal types. So colour can be added quite generically, with no special hacks (setopt use_ansi_colour, although you might want a setopt use_colour). And somehow you need to specify what colours mean what. Personally, I think this can be implemented best in compctl, e.g. If you complete with the following rule, colour the completed word to colour x. Doesn't sound too hard either....