Example: In Terminal, I fire up elinks and browser to a web page. I try to use the trackpad scroll gesture and the page up and page down to scroll up and down the web page that elinks is showing me. But instead of scrolling the web page, Terminal scrolls the entire scrollback buffer.
In Ubuntu, elinks will scroll properly when you press page up and page down and the scrollwheel.
This also applies to other console-based POSIX programs like Vim.
Any suggestions on how to get these programs to accept trackpad scroll gestures in OS X?