From owner-freebsd-bugs Sat Dec 21 16:30:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3094837B401 for ; Sat, 21 Dec 2002 16:30:09 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BE8543EEF for ; Sat, 21 Dec 2002 16:30:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBM0U8NS094761 for ; Sat, 21 Dec 2002 16:30:08 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBM0U8QQ094757; Sat, 21 Dec 2002 16:30:08 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80C4137B401 for ; Sat, 21 Dec 2002 16:27:05 -0800 (PST) Received: from NetBSD.ORG (pl21.katowice.cvx.ppp.tpnet.pl [217.99.65.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4135843EE6 for ; Sat, 21 Dec 2002 16:27:04 -0800 (PST) (envelope-from root@NetBSD.ORG) Received: from root by NetBSD.ORG with local (Exim 4.10) id 18Ptx0-000PZc-00 for FreeBSD-gnats-submit@freebsd.org; Sun, 22 Dec 2002 01:26:38 +0100 Message-Id: Date: Sun, 22 Dec 2002 01:26:38 +0100 From: Michal Astron Reply-To: Michal Astron To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: i386/46453: [INTERLATIONALIZATION] cons25l2, ISO8859-2 and console applications problem Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46453 >Category: i386 >Synopsis: [INTERLATIONALIZATION] cons25l2, ISO8859-2 and console applications problem >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 21 16:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Michal Astron >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: Renacimiento SHadows Union >Environment: System: FreeBSD bell-flower 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #4: Sat Dec 7 18:50:06 CET 2002 root@bell-flower:/usr/obj/usr/src/sys/ANGELIX2 i386 From /etc/login.conf default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ pl|Consoles for Polish users:\ :charset=MIME_ISO-8859-2:\ :lang=pl_PL.ISO8859-2:\ :tc=default: --- From /etc/ttys ttyv0 "/usr/libexec/getty Pc" cons25l2 on insecure ttyv1 "/usr/libexec/getty Pc" cons25l2 on insecure ttyv2 "/usr/libexec/getty Pc" cons25l2 on insecure ttyv3 "/usr/libexec/getty Pc" cons25l2 on insecure --- >Description: Most applications written with ncurses, slang, or other, cannot handle extended ASCII characters the proper way. It concerns especially semigraphical characters, and for this reason drawing tables or boxes by those applications is unpleasant and introduces chaos to console. This is output from Midnight Commander left window in internationalized console: Lewy Plik Polecenie Opcje Prawy lkl< x Nazwa xRozmiarx CzasM xx x/.. x 512x13 Gru 22:09xx x/.cedit x 512x21 Kwi 2002xx As you see instead of semigraphic tables there are x-es and other strange signs. >How-To-Repeat: Try to make login class as shown above (/etc/login.conf). Add a user to this class (pw usermod username -L pl), change virtual terms to cons25l2, in /etc/ttys. Log in as this user, and try to run midc. >Fix: Don't know.. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message