From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 7 20:50:13 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org 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 67F7616A485 for ; Wed, 7 Dec 2005 20:50:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 391D843D76 for ; Wed, 7 Dec 2005 20:50:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jB7KoAAP059218 for ; Wed, 7 Dec 2005 20:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jB7Ko9Xq059214; Wed, 7 Dec 2005 20:50:09 GMT (envelope-from gnats) Date: Wed, 7 Dec 2005 20:50:09 GMT Message-Id: <200512072050.jB7Ko9Xq059214@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Oliver Fromme Cc: Subject: Re: conf/90082: [syscons] [patch] curses ACS line graphics support for iso15 fonts X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Oliver Fromme List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2005 20:50:13 -0000 The following reply was made to PR conf/90082; it has been noted by GNATS. From: Oliver Fromme To: bug-followup@FreeBSD.ORG, Oliver Fromme Cc: Subject: Re: conf/90082: [syscons] [patch] curses ACS line graphics support for iso15 fonts Date: Wed, 7 Dec 2005 21:47:33 +0100 (CET) Just a small addendum ... 1. If you just want to test that stuff or play with it on your own machine: a. Run the provided script as root in this directory: /usr/share/syscons/fonts b. Activate the new fonts: vidcontrol -f iso15-8x8 vidcontrol -f iso15-8x14 vidcontrol -f iso15-8x16 c. Modify the "cons25l1" line in /usr/share/misc/termcap as explained in the PR above (i.e. update the "ac" capability line). d. Update the termcap.db database file: cd /usr/share/misc; cap_mkdb termcap e. Make sure that the "ttyv*" lines in /etc/ttys have "cons24l1" as the terminal type (the second-to-last character is a lower-case L, not the digit one). If you need to update /etc/ttys, type "kill -HUP 1" afterwards, so the init process will re-read it. f. Log out and log in again (on a virtual terminal). Now run a curses-based program which uses line-drawing characters for window borders or similar, for example sysinstall or midnight commander. You should see "real" graphical lines instead of "-" and "+" characters. Also, all ISO8859-15 characters still work, which you can easily test by typing "cat /usr/share/misc/latin1". 2. If you want to incorporate the changes into the official FreeBSD repository (if you're a committer): a. Run the provided script as root in this directory: /usr/src/share/syscons/fonts b. The new iso15-8x*.fnt files don't contain the CVS ID lines. Copy them from the original files. Then check the modified files into the repository. These are the modified files: iso15-8x8.fnt iso15-8x14.fnt iso15-8x16.fnt c. Modify the "cons25l1" line in the termcap source file: /usr/src/share/termcap/termcap.src, as explained in the PR above (i.e. update the "ac" capability line). By the way, the same modification could be made to the ISO8859-1 fonts (iso-8x*.fnt). But I'm not sure if it's worth it, because -1 isn't so widely used anymore, in favour of -15 because it contains the Euro sign (among few other changes). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "And believe me, as a C++ programmer, I don't hesitate to question the decisions of language designers. After a decent amount of C++ exposure, Python's flaws seem ridiculously small." -- Ville Vainio