Excerpts from Alex Gutteridge's message of Wed Nov 28 20:49:34 -0500 2007:
> All the ncurses examples run, but not in color, so there's clearly  
> something going wrong with OSX or my terminal. Curses wont initialize  
> any color pair, so it's seems to be a problem with curses on OSX not  
> sup.
> 
> irb(main):001:0> require 'rubygems'
> => true
> irb(main):002:0> require 'curses'
> => true
> irb(main):003:0> require 'ncurses'
> => true
> irb(main):004:0> Curses.init_pair 1, -1, -1
> => false
> irb(main):005:0> Curses.init_pair 1, Curses::COLOR_WHITE,  
> Curses::COLOR_BLACK
> => false

Sup works for me, in colour, in Terminal.app. $TERM is set to xterm-color. I'm 
using ncurses 5.6 from MacPorts.

I get the same results as you in irb. Does curses normally work there?
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to