Question on curses and ncurses

K

Kenneth McDonald

I'm using Ruby on OS X, which comes with ncurses. If I 'require
curses', will I still have access to all of the additional ncurses
functionality? Or do I need to install an ncurses module?

Thanks,
Ken
 
H

Harish Chandra

Kenneth said:
I'm using Ruby on OS X, which comes with ncurses. If I 'require
curses', will I still have access to all of the additional ncurses
functionality? Or do I need to install an ncurses module?

I have started looking into curses and ncurses. The curses that comes
with ruby 1.8 covers some basic stuff. ncurses-ruby has some more, you
can install it with gem install ncurses.

I am looking at something called Term::Visual which does not have a gem.
Trying to get it to work. After doing ruby setup.rb (config , setup and
then install) into /opt/local it still is looking for "eventmanager".
However, there seems to be no gem or anything else in ruby called
eventmanager.

/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- eventmanager (LoadError)
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from /opt/local/lib/ruby/site_ruby/1.8/term/visual.rb:4
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from ex2.rb:2
 

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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top