Date: Wed, 7 Dec 2005 20:50:09 GMT From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/90082: [syscons] [patch] curses ACS line graphics support for iso15 fonts Message-ID: <200512072050.jB7Ko9Xq059214@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/90082; it has been noted by GNATS. From: Oliver Fromme <olli@lurza.secnetix.de> To: bug-followup@FreeBSD.ORG, Oliver Fromme <olli@secnetix.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512072050.jB7Ko9Xq059214>