From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 22 11:30:04 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 372AB16A475 for ; Thu, 22 Nov 2007 11:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E920013C4EA for ; Thu, 22 Nov 2007 11:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAMBU3Nb055930 for ; Thu, 22 Nov 2007 11:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAMBU3iF055927; Thu, 22 Nov 2007 11:30:03 GMT (envelope-from gnats) Resent-Date: Thu, 22 Nov 2007 11:30:03 GMT Resent-Message-Id: <200711221130.lAMBU3iF055927@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Olaf Seibert Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F07C16A46E for ; Thu, 22 Nov 2007 11:29:51 +0000 (UTC) (envelope-from olafs@cs.ru.nl) Received: from poster.science.ru.nl (poster.science.ru.nl [131.174.30.28]) by mx1.freebsd.org (Postfix) with ESMTP id 9FF6213C4E7 for ; Thu, 22 Nov 2007 11:29:49 +0000 (UTC) (envelope-from olafs@cs.ru.nl) Received: from kookpunt.science.ru.nl (kookpunt.science.ru.nl [131.174.30.55]) by poster.science.ru.nl (8.13.7/5.23) with ESMTP id lAMB6VZa009834 for ; Thu, 22 Nov 2007 12:06:31 +0100 (MET) Received: from twoquid.cs.ru.nl (twoquid.cs.ru.nl [131.174.142.38]) by kookpunt.science.ru.nl (8.13.7/5.23) with ESMTP id lAMB69r4029923; Thu, 22 Nov 2007 12:06:09 +0100 (MET) Received: by twoquid.cs.ru.nl (Postfix, from userid 4100) id CCA2B2E03C; Thu, 22 Nov 2007 12:06:09 +0100 (CET) Message-Id: <20071122110609.CCA2B2E03C@twoquid.cs.ru.nl> Date: Thu, 22 Nov 2007 12:06:09 +0100 (CET) From: Olaf Seibert To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: olafs@cs.ru.nl Subject: ports/118196: xterm-229 mishandles combining characters X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Olaf Seibert List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 11:30:04 -0000 >Number: 118196 >Category: ports >Synopsis: xterm-229 mishandles combining characters >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: Thu Nov 22 11:30:03 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Olaf Seibert >Release: FreeBSD 6.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD twoquid.cs.ru.nl 6.1-RELEASE FreeBSD 6.1-RELEASE #2: Mon Mar 19 15:05:26 CET 2007 root@twoquid.cs.ru.nl:/usr/src/sys/amd64/compile/TWOQUID amd64 >Description: If you cat the UTF-8 demo file from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt to an xterm started with "uxterm", the combining characters don't come out combined. the part above the text (The above is a two-column text. If combining characters are handled correctly, the lines of the second column should be aligned with the | character above.) is misformatted, for instance. NetBSD happens to have an older xterm which works right. I tried version "XFree86 4.3.99.903(184)" which is quite old. Version "X.Org6.7(184)" from a Linux version also works. >How-To-Repeat: See above. >Fix: By accident, I found a workaround, involving luit(1) and a misspelling of the locale name. Apparently "utf-8" instead of "UTF-8" causes luit to do an almost-identity mapping which somehow avoids the problem: LC_CTYPE=en_US.utf-8 xterm -lc -class UXTerm -Olaf Seibert. -- >Release-Note: >Audit-Trail: >Unformatted: