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

Re: [sup-talk] curses exception



Normally I use puttycyg (http://code.google.com/p/puttycyg/), but I gave rxvt and even the normal cmd.exe window a try.  Same error in all three.  I also tried modifying NUM_COLORS to 15 (and other values... 1, 8, 16, 32) but got the same error every time in each terminal emulator. 

Honestly, it's probably an issue with my setup... is there a guide anywhere on how to get sup running in cygwin?  Maybe I'm missing a required package?

Thanks!
Dan

On Sun, Oct 11, 2009 at 4:30 PM, William Morgan <wmorgan-sup@masanjin.net> wrote:
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

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk