From owner-svn-src-all@FreeBSD.ORG Sun Jun 14 12:04:35 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A9A41065686; Sun, 14 Jun 2009 12:04:35 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F04B88FC1E; Sun, 14 Jun 2009 12:04:34 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5EC4Yuo048705; Sun, 14 Jun 2009 12:04:34 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5EC4Y7r048704; Sun, 14 Jun 2009 12:04:34 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <200906141204.n5EC4Y7r048704@svn.freebsd.org> From: Ed Schouten Date: Sun, 14 Jun 2009 12:04:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194184 - head/sys/dev/syscons X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 12:04:37 -0000 Author: ed Date: Sun Jun 14 12:04:34 2009 New Revision: 194184 URL: http://svn.freebsd.org/changeset/base/194184 Log: Add more entries to the Unicode-to-CP437 table. Characters between 0x07 and 0x0d are now also mapped, which means we can display almost 256 different characters. Also remap certain types of dashes and quotes, which means we can finally read our manual pages without red question marks in them. Submitted by: Christoph Mallon Modified: head/sys/dev/syscons/scterm-teken.c Modified: head/sys/dev/syscons/scterm-teken.c ============================================================================== --- head/sys/dev/syscons/scterm-teken.c Sun Jun 14 11:26:42 2009 (r194183) +++ head/sys/dev/syscons/scterm-teken.c Sun Jun 14 12:04:34 2009 (r194184) @@ -376,11 +376,15 @@ static const struct unicp437 cp437table[ { 0x03b4, 0xeb, 0x00 }, { 0x03b5, 0xee, 0x00 }, { 0x03c0, 0xe3, 0x00 }, { 0x03c3, 0xe5, 0x00 }, { 0x03c4, 0xe7, 0x00 }, { 0x03c6, 0xed, 0x00 }, - { 0x203c, 0x13, 0x00 }, { 0x207f, 0xfc, 0x00 }, - { 0x20a7, 0x9e, 0x00 }, { 0x2190, 0x1b, 0x00 }, - { 0x2191, 0x18, 0x00 }, { 0x2192, 0x1a, 0x00 }, - { 0x2193, 0x19, 0x00 }, { 0x2194, 0x1d, 0x00 }, - { 0x2195, 0x12, 0x00 }, { 0x21a8, 0x17, 0x00 }, + { 0x2010, 0x2d, 0x00 }, { 0x2014, 0x2d, 0x00 }, + { 0x2018, 0x60, 0x00 }, { 0x2019, 0x27, 0x00 }, + { 0x201c, 0x22, 0x00 }, { 0x201d, 0x22, 0x00 }, + { 0x2022, 0x07, 0x00 }, { 0x203c, 0x13, 0x00 }, + { 0x207f, 0xfc, 0x00 }, { 0x20a7, 0x9e, 0x00 }, + { 0x2190, 0x1b, 0x00 }, { 0x2191, 0x18, 0x00 }, + { 0x2192, 0x1a, 0x00 }, { 0x2193, 0x19, 0x00 }, + { 0x2194, 0x1d, 0x00 }, { 0x2195, 0x12, 0x00 }, + { 0x21a8, 0x17, 0x00 }, { 0x2212, 0x2d, 0x00 }, { 0x2219, 0xf9, 0x00 }, { 0x221a, 0xfb, 0x00 }, { 0x221e, 0xec, 0x00 }, { 0x221f, 0x1c, 0x00 }, { 0x2229, 0xef, 0x00 }, { 0x2248, 0xf7, 0x00 }, @@ -412,10 +416,12 @@ static const struct unicp437 cp437table[ { 0x2591, 0xb0, 0x02 }, { 0x25a0, 0xfe, 0x00 }, { 0x25ac, 0x16, 0x00 }, { 0x25b2, 0x1e, 0x00 }, { 0x25ba, 0x10, 0x00 }, { 0x25bc, 0x1f, 0x00 }, - { 0x25c4, 0x11, 0x00 }, { 0x263a, 0x01, 0x01 }, - { 0x263c, 0x0f, 0x00 }, { 0x2660, 0x06, 0x00 }, - { 0x2663, 0x05, 0x00 }, { 0x2665, 0x03, 0x01 }, - { 0x266b, 0x0e, 0x00 }, + { 0x25c4, 0x11, 0x00 }, { 0x25cb, 0x09, 0x00 }, + { 0x25d8, 0x08, 0x00 }, { 0x25d9, 0x0a, 0x00 }, + { 0x263a, 0x01, 0x01 }, { 0x263c, 0x0f, 0x00 }, + { 0x2640, 0x0c, 0x00 }, { 0x2642, 0x0b, 0x00 }, + { 0x2660, 0x06, 0x00 }, { 0x2663, 0x05, 0x00 }, + { 0x2665, 0x03, 0x01 }, { 0x266a, 0x0d, 0x01 }, }; static void