lkml.org 
[lkml]   [2005]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 13 Jul 2005 19:26:25 +0200 (MEST)
FromJan Engelhardt <>
SubjectRe: [PATCH] Kconfig: lxdialog: Enable UTF8
Hi,


utf-8 enabled vc consoles (/dev/tty1) usually show line drawing
graphics with the ascii set, e.g. + - and | for lxdialog (and many other apps
btw)
The following patch brings back the real graphics for lxdialog, which are
normally present in these cases:
- non-utf8 vc
- xterm (u8 / non-u8)

I've just exchanged -lncurses with -lncursesw and I got the linegraphs back.
This simple trick can only be used with lxdialog, for some reason(?)

Patch notes: There seems to be no change or impact for non-UTF8 users; but
someone using non-utf8 for vc please verify this.
Valid for many kernels in the 2.6.x series, including the "recent"
2.6.13-rc1-git3-someBigNumber I use.

Signed-off-by: Jan Engelhardt <jengelh@linux01.gwdg.de>

diff -Pdpru S0706/scripts/lxdialog/Makefile AS17/scripts/lxdialog/Makefile
--- S0706/scripts/lxdialog/Makefile 2005-07-07 20:53:51.000000000 +0200
+++ AS17/scripts/lxdialog/Makefile 2005-07-09 11:31:08.000000000 +0200
@@ -2,7 +2,7 @@ HOST_EXTRACFLAGS := -DLOCALE
ifeq ($(shell uname),SunOS)
HOST_LOADLIBES := -lcurses
else
-HOST_LOADLIBES := -lncurses
+HOST_LOADLIBES := -lncursesw
endif

ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-07-14 01:31    [from the cache]
©2003-2010