On Fri, Dec 22, 2006 at 07:56:55PM +0100, Vincent Lefevre wrote: > On 2006-12-22 10:07:25 -0500, Thomas Dickey wrote: > > I've seen some confusing comments about Mac OS X "curses" versus "ncurses", > > but am left with the impression that it's still ncurses (in a different > > directory, etc, but still the same code). > > Mac OS X 10.4.x uses ncurses, even with the curses API. > > > Even still, 5.4 is nearly three years old, and there's a year-old > > 5.5 release which Mac OS X should be using. > > We could say the same thing for the current Debian/stable. > Now I just hope that Mac OS X 10.5 will use ncurses 5.5.
Or the more straightforward solution - I'm running ncurses 5.6 on all platforms. Aside from being a nuisance, there's no problem updating just the libraries. Given the glacial progress of the *BSD's in updating packages, it's not unlikely that they'll remain 2-3 years behind indefinitely. > > > > Also note (as you already did) that there's a known workaround > > > > (use the terminal description that uses the single-character ^N > > > > and ^O rather than \E(B, etc. > > > > > > But this time, these characters break "less"! ... > Changing the terminfo database (e.g. with infocmp to retrieve some > data + tic to install them, possibly modified, in my $HOME directory) > changed the behavior. hmm - since you said "less" does not recognize ^N/^O, I'm assuming you meant that you changed sgr0 to \E[m, which works for termcap, but not for applications that use line-drawing (without of course hardcoding things). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgpee16uzWmrd.pgp
Description: PGP signature