From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 15 11:20:01 2009 Return-Path: Delivered-To: freebsd-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 753011065692 for ; Tue, 15 Dec 2009 11:20:01 +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 5369A8FC1B for ; Tue, 15 Dec 2009 11:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBFBK125038370 for ; Tue, 15 Dec 2009 11:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBFBK1Eb038361; Tue, 15 Dec 2009 11:20:01 GMT (envelope-from gnats) Resent-Date: Tue, 15 Dec 2009 11:20:01 GMT Resent-Message-Id: <200912151120.nBFBK1Eb038361@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrey Chernov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5BD5106568F for ; Tue, 15 Dec 2009 11:10:40 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 4F6988FC1B for ; Tue, 15 Dec 2009 11:10:40 +0000 (UTC) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id nBFAv6iJ000762 for ; Tue, 15 Dec 2009 13:57:06 +0300 (MSK) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id nBFAv3QG000761; Tue, 15 Dec 2009 13:57:04 +0300 (MSK) (envelope-from ache) Message-Id: <200912151057.nBFAv3QG000761@nagual.pp.ru> Date: Tue, 15 Dec 2009 13:57:04 +0300 (MSK) From: Andrey Chernov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/141633: xterm emulator and screen maps = no vt100 pseudographics X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 11:20:01 -0000 >Number: 141633 >Category: kern >Synopsis: xterm emulator and screen maps = no vt100 pseudographics >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 15 11:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Andrey Chernov >Release: FreeBSD 9.0-CURRENT i386 >Organization: >Environment: FreeBSD-current >Description: It seems xterm emulator can't co-exist with screen maps, f.e. with CP866 font loaded and vidcontrol -l koi8-r2cp866 I got Russian letters everywhere instead of vt100 pseudographics due to missing (i.e. default) ac= termcap capability (f.e. in tzsetup etc.) There are 2 ways to fix it. 1) Make separate xterm-r with corrected ac= (that way is ugly, but was done for cons25r f.e.) 2) Don't seek for vt100 pseudographics in loaded font at all, just use internal kernel font for it. Please decide how to fix this better. For now only fallback to '-T cons25' is solution for Russian users, but it doesn't work well (see another PR). >How-To-Repeat: In etc/rc.conf font8x16="cp866b-8x16" scrnmap="koi8-r2cp866" (loads CP866 VGA font and maps it to KOI8-R encoding) tzsetup ...wrong pseudographics as result. >Fix: >Release-Note: >Audit-Trail: >Unformatted: