Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Question on curses and ncurses
Kenneth McDonald
8/22/2008 2:55:00 PM
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
1 Answer
Nit Khair
9/12/2008 11:40:00 AM
0
Kenneth McDonald wrote:
> 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
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Question on curses and ncurses
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password