From: Bart Schaefer <schaefer@brasslantern.com>
To: Adam Spiers <adam@spiers.net>
Cc: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: Re: Misc/colors
Date: Fri, 18 Aug 2000 10:51:09 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.20.0008181041110.26940-100000@aztec.zanshin.com> (raw)
In-Reply-To: <20000818173340.A30095@thelonious.new.ox.ac.uk>
On Fri, 18 Aug 2000, Adam Spiers wrote:
> However, I just noticed:
>
> % <load in Misc/colors>
> % echo "$fg_bold[green]foo$fg_bold[grey]bar"
>
> yields the 'bar' in green. That can't be right can it?
There isn't any fg_bold[grey] any more ... because there's no ANSI color
number for the color "grey". What you were calling "grey" is what ANSI
calls "black", even though to get a really black-looking black you have
to use "bold black".
There is color[fg-grey] but the loop that maps $color onto fg, fg_bold,
etc., does a reverse lookup on the corresponding color number and gets
"black". I've forgotten whether I did that on purpose.
prev parent reply other threads:[~2000-08-18 17:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-18 16:33 Misc/colors Adam Spiers
2000-08-18 17:51 ` Bart Schaefer [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=Pine.LNX.4.20.0008181041110.26940-100000@aztec.zanshin.com \
--to=schaefer@brasslantern.com \
--cc=adam@spiers.net \
--cc=zsh-workers@sunsite.auc.dk \
/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).