From owner-freebsd-questions@FreeBSD.ORG Mon Jan 21 02:37:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8BACC6B; Mon, 21 Jan 2013 02:37:17 +0000 (UTC) (envelope-from dlazaro@mac.com) Received: from st11p01mm-asmtp002.mac.com (st11p01mm-asmtp002.mac.com [17.172.204.237]) by mx1.freebsd.org (Postfix) with ESMTP id 431B322C; Mon, 21 Jan 2013 02:37:16 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from [10.0.0.6] (110.Red-79-144-247.dynamicIP.rima-tde.net [79.144.247.110]) by st11p01mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MGY00EVXCHTFM00@st11p01mm-asmtp002.mac.com>; Mon, 21 Jan 2013 01:37:08 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327,1.0.431,0.0.0000 definitions=2013-01-20_05:2013-01-18,2013-01-20,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1212290000 definitions=main-1301200328 Subject: Re: bsdinstall(8) line drawing characters From: David Lazaro Saz In-reply-to: <20130120184630.GA6610@saltmine.radix.net> Date: Mon, 21 Jan 2013 02:37:05 +0100 Message-id: References: <1C064C2C-52A4-4A37-AB3D-68049093D7BD@mac.com> <88E25E2A-24EE-491A-B82A-A26E849B1ABF@fisglobal.com> <633A6573-BCDA-41CD-A5CA-1749DE36283A@mac.com> <20130120184630.GA6610@saltmine.radix.net> To: Thomas Dickey X-Mailer: Apple Mail (2.1499) Cc: Devin Teske , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 02:37:17 -0000 On Jan 20, 2013, at 7:46 PM, Thomas Dickey wrote: > TERM is one thing, the driver is another. > > Since the "xterm" terminal description supports line-drawing characters, it sounds as if the underlying problem is in the console driver. You are right. The problem is in how teken(3) handles the special line drawing mode of xterm. When I changed the TERM variable to cons25, dialog(1) changed the way in which it draws the panels, using, it seems, direct code points for its graphics. It seems that teken(3) once handled this by using the code points for CP437 but that it was reverted because there were problems with other languages. It is documented in PR kern/141633 at . There seems to be support for using proper unicode code points for line drawing characters if Unicode support is enabled for teken(3). If anybody else is curious, the code for line drawing escape sequences is in /sys/teken/teken_scs.h. I would like to see this working by default. Who is the current maintainer of that code? David