On Mon, Dec 10, 2007 at 04:09:54PM -0800, Josh Triplett <[EMAIL PROTECTED]> was heard to say: > Less, emacs, and vim all support the mouse wheel in a terminal, and > scroll their window with the wheel. Please consider doing the same in > aptitude.
AFAIK less is not mouse-aware. Do you mean links? My understanding is that links, emacs, and vim all reimplement some amount of curses. aptitude historically has tried to respect the curses abstraction layer (unlike, say, the apt abstraction layer) and not get into interpreting terminal codes itself. This means that its terminal support isn't quite as advanced as the programs that have a custom terminal library. It also prevents me from going insane. I consider this a feature. :-) In this case, for instance, ncurses doesn't actually support button 5, which is more or less necessary to get mouse wheel support. There is experimental code in ncurses to support it, but Debian doesn't compile it in (probably because it's experimental). I've just checked some code in to cwidget which should provide some basic support for the mouse wheel once Debian has a wheel-aware ncurses. (either that or it'll blow up, whee) Until then I don't plan to try to hack around curses here, sorry. Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]