[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#404079: display problem with xterm + screen and bold characters



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.

> > > 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"!
> > 
> >   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399848
> 
> That's odd, since "less" has always been a termcap application.
> Perhaps it's a regression, e.g., changes by someone using a terminfo
> underneath.

According to ldd, less uses libncurses (not libtermcap).
The less man page says:

  Less uses termcap (or terminfo on some systems) [...]

/usr/share/doc/less/README.Debian doesn't say anything.

> > And I don't know if this is related to changes in ncurses:
> > 
> >   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403612
> 
> Since "less" uses only the termcap interface, it would only be
> related to changes in that one area.

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.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



Reply to: