[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ncurses and Mac OS X

Ari Brown

10/8/2007 5:23:00 PM

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.


2 Answers

John Joyce

10/8/2007 6:41:00 PM

0

Isn't it already installed in OS X?

Ari Brown

10/8/2007 7:19:00 PM

0

Supposedly, but the error still persists. Any hints?

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

> Isn't it already installed in OS X?


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