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

Bug#327147: konsole: ncurses application are badly displayed



On Thu, Sep 08, 2005 at 11:20:10AM +0200, Vedran FuraÄ? wrote:
> Thomas Dickey wrote:
> > On Thu, Sep 08, 2005 at 01:20:10AM +0200, Vedran Fura?? wrote:
> >
> >>Package: konsole
> >>Version: 4:3.4.2-2
> >>Severity: normal
> >>
> >>For example iptraf, it looks OK in gnome-terminal:
> >
> >
> > The bug is in iptraf - it's not using setlocale().
> 
> Are you sure? Because it's not only iptraf. Same thing is with
> centericq, links, hexcurse, bastet,...and every this app is displayed
> nice in gnome-terminal, xterm, etc.

I'm certain, having just looked at this last week.  You'll find the same issue
with Linux console:  when in UTF-8 mode, the terminal no longer responds to
vt100-style line-drawing.

While this doesn't help make things compatible, it is arguably correct - and as
ncurses maintainer I get to put up with this, while as xterm maintainer I get
to make it work as it should be.  (gnome-terminal copies xterm's behavior in
this and other areas, konsole is copying Linux console - usually gnome-terminal
simply copy from each other).

The application must take this into account.  For ncurses, that's done by
setting up the locale support within the calling application.

(links is hardcoded, not related to ncurses, and since it doesn't follow
any standards, I am not interested in discussing it).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpZgsFDtbnF7.pgp
Description: PGP signature


Reply to: