From: Michael Fellinger Date: 2010-04-27T13:43:31+09:00 Subject: Re: ncurses-ruby install failing on OS X Snow Leopard On Tue, Apr 27, 2010 at 1:23 PM, R. Kumar wrote: > Michael Fellinger wrote: >> I recommend ffi-ncurses. > > Michael, > > Can you give me an idea: > > 1. How complete is ffi-ncurses ? It covers all the basic ncurses calls.. > 2. How much time would it take to port an app or library that uses > ncurses. > I know its hard for you to tell, but lets assume i have 99% of my > ncurses calls in 2 or 3 classes. The rest of the app uses these classes. > I use only Window, Panel, Pad, keyboard and color related stuff, > delay/nodelay. I have no idea how long it would take, depends on how large and complex the code is. It should be pretty painless though. The parts not in ffi-ncurses are Window and Panel, I wrote them if you'd like to reuse them. http://github.com/manveru/ver/tree/bdfc4f1ae885b3635983d0db6f0b8fe1ebcca922/lib/ver/ncurses I'll try to get them into ffi-ncurses sometime, I'm not even sure they work with latest FFI without modification. If you have any trouble, please let me know so we can work it out. -- Michael Fellinger CTO, The Rubyists, LLC