From: Dave Sainty <David.Sainty@Comp.VUW.AC.NZ>
To: zsh-users@math.gatech.edu
Subject: Re: zsh and color
Date: Thu, 08 Jun 1995 18:14:43 +1200 [thread overview]
Message-ID: <199506080614.SAA27332@bats.comp.vuw.ac.nz> (raw)
In-Reply-To: Your message of "Thu, 08 Jun 1995 11:07:27 +1000." <9506080107.AA09120@buddha.unico>
Andrew Cosgriff writes:
> Richard Coleman <coleman@math.gatech.edu> 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....
prev parent reply other threads:[~1995-06-08 6:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-06-07 19:47 John Harres
1995-06-07 20:00 ` zsh and color Richard Coleman
1995-06-08 1:07 ` Andrew Cosgriff
1995-06-08 6:14 ` Dave Sainty [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199506080614.SAA27332@bats.comp.vuw.ac.nz \
--to=david.sainty@comp.vuw.ac.nz \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).