On Thu, Aug 26, 2010 at 11:20 AM, R.. Kumar 1.9.1 OSX
<sentinel1879 / gmail.com> wrote:
> Any idea how to get the mouse to work on ncurses ?
> (rvm ruby 1.9.2, OS X 10.6 Intel, bash)

Sure - it's documented in the README at
http://github.com/seanohalpin/ffi-ncurses
and there's an example that's shipped with the gem:
http://github.com/seanohalpin/ffi-ncurses/blob/master/examples/example-mouse.rb

If you were using this from a Linux console, you'd have to have gpm
running first. Don't know if there's anything special you have to do
for Snow Leopard.

Regards,
Sean