ports/71724: x11/XFree86-4-clients: luit does not recognize KOI8-U locale

Andriy Gapon avg at icyb.net.ua
Tue Sep 14 09:30:34 UTC 2004


>Number:         71724
>Category:       ports
>Synopsis:       x11/XFree86-4-clients: luit does not recognize KOI8-U locale
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 14 09:30:31 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andriy Gapon
>Release:        5.2.1-RELEASE-p9
>Organization:
>Environment:
5.2.1-RELEASE-p9 i386
XFree86-clients-4.4.0_1
>Description:
xterm does not work with this resource setting:
XTerm*locale:      KOI8-U
complaining about unknown locale.
>How-To-Repeat:
1. set this resource for xterm 'XTerm*locale: KOI8-U'
2. start xterm, read a message it produces

>Fix:
the problem can be fixed with this trivial addition:
--- programs/luit/charset.c.orig        Tue Sep 14 10:50:49 2004
+++ programs/luit/charset.c     Tue Sep 14 10:51:24 2004
@@ -409,6 +409,7 @@
     { "ISO8859-15", 0, 2, "ASCII", NULL, "ISO 8859-15", NULL, NULL},
     { "ISO8859-16", 0, 2, "ASCII", NULL, "ISO 8859-16", NULL, NULL},
     { "KOI8-R", 0, 2, "ASCII", NULL, "KOI8-R", NULL, NULL},
+    { "KOI8-U", 0, 2, "ASCII", NULL, "KOI8-U", NULL, NULL},
     { "CP1251", 0, 2, "ASCII", NULL, "CP 1251", NULL, NULL},
     { "TCVN", 0, 2, "ASCII", NULL, "TCVN", NULL, NULL},
     { "eucCN", 0, 1, "ASCII", "GB 2312", NULL, NULL, NULL},

sorry if this doesn't work as patch because of whitespaces stuff
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list