On Mon, Apr 19, 2010 at 08:56:21PM -0500, Kyle Wheeler wrote: > On Monday, April 19 at 04:42 PM, quoth John Velman: > >jrv:~ jr$ otool -L "$(which mutt)" > >/usr/local/bin/mutt: > >/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version > >5.4.0) > > Okay... > > >ncurses: ncurses 5.7.20081102 (compiled with 5.7) > > Heh. :) > > >Why does mutt -v give different answers? This mutt was compiled from > >mutt-1.5.20.tar, this afternoon under OS X 10.6.3, XCode 3.2.1 is > >installed. > > Mutt's report depends on the version information in the header files, > which don't *necessarily* have to match the library files. > > ~Kyle > --
OK, here's what I know so far. Both OS X 10.6, and OS X 10.6.3: /usr/include/ncurses.h is symlinked to /usr/include/curses.h which is the same mod date in both cases, and has #define NCURSES_VERSION "5.7" Both symlink libcurses.dylib and libncurses.dylib to libncurses.5.4.dylib, which is the same size and same mod date in both. Both have, in addition, a somewhat smaller libncurses.5.dylib which is not marked executable. It is the same size and mod date in both 10.6.3 and 10.6. So there is no apparent difference between curses and ncurses in the two versions of OS X. Yet Mutt arrow keys worked in 10.6, but don't work in 10.6.3. And its been reported that replacing 10.6.3 libncurses... with 10.6.2 libncurses... resulted in working arrow keys. In 10.6.3, the arrow keys work fine in less (which comes with OS X). There does seem to be a difference in Terminal.app between the two. There are also reports here and there of a few other 'non-osx-native' applications that have had problems with arrow keys on 10.6.3. I guess I'll go back to doing something else, and use vi keys for moving around in mutt, till I get another idea. Best, John V.