Ncurses and Mac OS X

A

Ari Brown

Hey all

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

The problem was: 'couldn't initialize curses color pair 4, 0 (key
1)' (error type ArgumentError)
A backtrace follows:
/usr/local/lib/ruby/gems/1.8/gems/sup-0.1/lib/sup/colormap.rb:90:in
`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:in `send'
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:in `write'
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:in `each'
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:in `draw'
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:in `draw_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
X PPC

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

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

Ari Brown

Supposedly, but the error still persists. Any hints?

Isn't it already installed in OS X?


Ari
--------------------------------------------|
If you're not living on the edge,
then you're just wasting space.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top