From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Fri, 03 Jul 2009 11:54:46 -0700 Subject: [sup-talk] colour customisation In-Reply-To: <1246641077-sup-9945@Longbow> References: <91de50e10907030905l6673a7c3n380f6daeccfb14ab@mail.gmail.com> <1246641077-sup-9945@Longbow> Message-ID: <1246646592-sup-3461@entry> 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