I noticed that sup wasn't using my terminal's
default colors when displaying the text of
a message.  Instead of the expected black on
light-yellow (my defaults), it was using white on black.
I also see a message in the mailing list archives
from Jan 29 titled "When using 'default' in colors.yaml
or colormap.rb, sup throws an exception" that seems
to describe the same problem.

I have attached a patch that works for me, and might
be a workaround for the other problem as well.
diff --git a/bin/sup b/bin/sup
index b2b2f62..d6b29bd 100644
--- a/bin/sup
+++ b/bin/sup
@@ -86,6 +86,7 @@ def start_cursing
   Ncurses.noecho
   Ncurses.cbreak
   Ncurses.stdscr.keypad 1
+  Ncurses.use_default_colors
   Ncurses.curs_set 0
   Ncurses.start_color
   $cursing = true
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to