[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] curses exception



Reformatted excerpts from Dan Falcone's message of 2009-10-06:
> I'm trying to get sup running on my work machine, which is unfortunately a
> windows box.  I have cygwin installed, along with the cygwin packages for
> ruby and ncurses.  Here's the contents of ~/.sup/exception-log.txt:
> 
> --- ArgumentError from thread: main
> couldn't initialize curses color pair 4, -1 (key 1)
> /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/colormap.rb:133:in `color_for'

Weird. We've had other people get it working on Cygwin before, I
believe. Are you running this within Cygwin's rxvt?

What if you modify lib/sup/colormap.rb so that NUM_COLORS=15?
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk