Ncurses and Mac OS X

Hey all

After a ncurses error while using sup (mail client in ruby) [error

The problem was: ‘couldn’t initialize curses color pair 4, 0 (key
1)’ (error type ArgumentError)
A backtrace follows:
color_for': couldn't initialize curses color pair 4, 0 (key 1) (ArgumentError) from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/ colormap.rb:114:insend’
from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/
colormap.rb:114:in method_missing' from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/ buffer.rb:88:inwrite’
from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/
scroll-mode.rb:44:in draw' from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/ scroll-mode.rb:42:ineach’
from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/
scroll-mode.rb:42:in draw' from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/modes/ line-cursor-mode.rb:24:indraw’
from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/
buffer.rb:79:in draw' from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/ buffer.rb:221:indraw_screen’
from /usr/local/lib/ruby/gems/1.8/gems/sup-0.1/bin/sup:154
from /usr/local/bin/sup:16:in `load’
from /usr/local/bin/sup:16

I decided I should try reinstalling ncurses and the like on my Mac OS

So the main reason i’m writing is… What techniques did other
people use for installing ncurses, and what should I watch out for?

~ Ari
English is like a pseudo-random number generator - there are a
bajillion rules to it, but nobody cares.

Isn’t it already installed in OS X?

Supposedly, but the error still persists. Any hints?

On Oct 8, 2007, at 2:40 PM, John J. wrote:

Isn’t it already installed in OS X?

If you’re not living on the edge,
then you’re just wasting space.