From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] colour customisation
Date: Fri, 03 Jul 2009 11:54:46 -0700 [thread overview]
Message-ID: <1246646592-sup-3461@entry> (raw)
In-Reply-To: <1246641077-sup-9945@Longbow>
Reformatted excerpts from Andrei Thorp's message of 2009-07-03:
> I don't really know, but from browsing the source briefly, I've
> found (formatted as quote):
This is correct. That is the list of parts of the display that can be
changed, and their default colors. The possible colors for both
foreground and background are the curses palette: black, red, green,
yellow, blue, magenta, cyan, white, and "default". The possible
attributes are the curses attributes: normal, standout, underline,
reverse, blink, dim, bold, protect, invis. (I have no idea what many
of those actually do.)
Any of those settings can be overwritten by making a ~/.sup/colors.yaml
file, which should be a YAML hash of the exact same format as
DEFAULT_COLORS.
A good way to get started it to do this:
ruby -rubygems -rsup -e 'print Redwood::Colormap::DEFAULT_COLORS.to_yaml' > ~/.sup/colors.yaml
and then edit the result.
A gold star to whoever updates the wiki.
--
William <wmorgan-sup at masanjin.net>
next prev parent reply other threads:[~2009-07-03 18:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-03 16:05 Jörg-Hendrik Bach
2009-07-03 17:13 ` Andrei Thorp
2009-07-03 18:54 ` William Morgan [this message]
2009-07-04 12:01 ` Jörg-Hendrik Bach
2009-07-06 13:47 ` Andrei Thorp
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=1246646592-sup-3461@entry \
--to=wmorgan-sup@masanjin.net \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox