NetBSD Problem Report #46527

From www@NetBSD.org  Sun Jun  3 03:01:49 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 2573263BEE1
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  3 Jun 2012 03:01:49 +0000 (UTC)
Message-Id: <20120603030148.76F0263BA27@www.NetBSD.org>
Date: Sun,  3 Jun 2012 03:01:48 +0000 (UTC)
From: mayuresh@acm.org
Reply-To: mayuresh@acm.org
To: gnats-bugs@NetBSD.org
Subject: x11/mlterm UTF8 support not working
X-Send-Pr-Version: www-1.0

>Number:         46527
>Category:       pkg
>Synopsis:       x11/mlterm UTF8 support not working
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 03 03:05:00 +0000 2012
>Last-Modified:  Sun Jun 03 11:50:02 +0000 2012
>Originator:     Mayuresh
>Release:        6.0_BETA2
>Organization:
>Environment:
NetBSD laptop 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) i386
>Description:
Have been trying to make Devanagari (UTF8) fonts work on NetBSD with mlterm.

The issue has been discussed at length on upstream mailing list here:
http://comments.gmane.org/gmane.comp.terminal-emulators.mlterm.devel/772

Since they don't find any problem after all environment checks they suggested on above thread, the problem may be specific to NetBSD.
>How-To-Repeat:
Try running mlterm and try rendering contents with Devanagari script.

May be copy paste the following text in terminal:

&#2342;&#2375;&#2357;&#2344;&#2366;&#2327;&#2352;&#2368;

If you just see # or * character etc. it's not rendered properly.

Assuming you don't have familiarity with devnagari, cross check what you see with how above word is rendered in a web browser that supports UTF8. (The word is "Devanagari" itself.)


>Fix:
Not known, not known to upstream either as per cited mail thread.

Also suggest alternative terminals:

rxvt-unicode doesn't work either and its own documentation advises mlterm for Devanagari.

konsole: Unable to try due to build issues with kde 4 as of now

gnome-terminal: Crashes on NetBSD 6

Also, in Linux world both konsole and gnome-terminal are known to work only partly for Devanagari.


>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/46527: x11/mlterm UTF8 support not working
Date: Sun, 03 Jun 2012 18:18:33 +0900

 On Sun, 03 Jun 2012 12:05:00 +0900, <mayuresh@acm.org> wrote:

 > Have been trying to make Devanagari (UTF8) fonts work on NetBSD with mlterm.

 As far as I know, libind only support ISCII fonts, i.e. UTF-8 fonts are not supported.

 -- 
 OBATA Akio / obache@NetBSD.org

From: Mayuresh <mayuresh@acm.org>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/46527: x11/mlterm UTF8 support not working
Date: Sun, 3 Jun 2012 15:34:24 +0530

 On Sun, Jun 03, 2012 at 09:20:03AM +0000, OBATA Akio wrote:
 > The following reply was made to PR pkg/46527; it has been noted by GNATS.
 > 
 > From: "OBATA Akio" <obache@netbsd.org>
 > To: gnats-bugs@netbsd.org
 > Cc: 
 > Subject: Re: pkg/46527: x11/mlterm UTF8 support not working
 > Date: Sun, 03 Jun 2012 18:18:33 +0900
 > 
 >  On Sun, 03 Jun 2012 12:05:00 +0900, <mayuresh@acm.org> wrote:
 >  
 >  > Have been trying to make Devanagari (UTF8) fonts work on NetBSD with mlterm.
 >  
 >  As far as I know, libind only support ISCII fonts, i.e. UTF-8 fonts are not supported.

 Not sure whether this is required, though how do I get the *_IN locales on
 NetBSD? I find bn_IN in /usr/pkg/share/locale and /usr/share/locale. For
 Devanagari either mr_IN or hi_IN may be needed.

 Mayuresh.

From: Mayuresh <mayuresh@acm.org>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/46527: x11/mlterm UTF8 support not working
Date: Sun, 3 Jun 2012 16:00:42 +0530

 On Sun, Jun 03, 2012 at 09:20:03AM +0000, OBATA Akio wrote:
 > The following reply was made to PR pkg/46527; it has been noted by GNATS.
 > 
 > From: "OBATA Akio" <obache@netbsd.org>
 > To: gnats-bugs@netbsd.org
 > Cc: 
 > Subject: Re: pkg/46527: x11/mlterm UTF8 support not working
 > Date: Sun, 03 Jun 2012 18:18:33 +0900
 > 
 >  On Sun, 03 Jun 2012 12:05:00 +0900, <mayuresh@acm.org> wrote:
 >  
 >  > Have been trying to make Devanagari (UTF8) fonts work on NetBSD with mlterm.
 >  
 >  As far as I know, libind only support ISCII fonts, i.e. UTF-8 fonts are not supported.

 PS: I realize there are locales like hi or mr instead of hi_IN, mr_IN etc.
 Howver these are in /usr/pkg/share/locale. I don't find them in the output
 of locale -a command.

 If I try to set the locale to hi or mr, mlterm says "locale settings
 failed". However it accepts locales reported by locale -a. How to make
 locales in /usr/pkg/share/locale be accepted by locale commands?

 Mayuresh

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/46527: x11/mlterm UTF8 support not working
Date: Sun, 03 Jun 2012 20:45:51 +0900

 On Sun, 03 Jun 2012 20:30:06 +0900, Mayuresh <mayuresh@acm.org> wrote:

 >  PS: I realize there are locales like hi or mr instead of hi_IN, mr_IN etc.
 >  Howver these are in /usr/pkg/share/locale. I don't find them in the output
 >  of locale -a command.

 /usr/pkg/share/locale, it is just message catalogs from packages, say, hi/LC_MESSAGES/*.

 >  If I try to set the locale to hi or mr, mlterm says "locale settings
 >  failed". However it accepts locales reported by locale -a. How to make
 >  locales in /usr/pkg/share/locale be accepted by locale commands?

 Just for LC_CTYPE, you can add *.UTF-8 locale aliases to
 /usr/share/locale/locale.aliases.

 Please file new PR for request Indian locales.

 -- 
 OBATA Akio / obache@NetBSD.org

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.