|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
How To: Terminus font in console
Meant to do this earlier but got tangled up a little bit.
Code:
How To: Terminus font in console Tested on FreeBSD10... 0. assumes root access at a physical console throughout 1. download the *compiled* console-terminus font .deb archive from the url below (link working as of 7/5/2015)... https://packages.debian.org/squeeze/all/console-terminus/download 2. move .deb archive to /tmp... mv console-terminus_4.30-2_all.deb /tmp/ && cd /tmp 3. extract deb archive using one of the two methods shown next... ar p /tmp/console-terminus_4.30-2_all.deb data.tar.gz | tar -xzf - ar vx /tmp/*.deb && tar -xzf /tmp/data.tar.gz 4. read README.Debian.gz to determine font for your locale... zless /tmp/usr/share/doc/console-terminus/README.Debian.gz 5. extract gzipped font (I selected the english font)... gunzip -c /tmp/usr/share/consolefonts/Lat15-Terminus16.psf.gz > /tmp/Lat15-Terminus16.psf 6. strip psf header/unicode-map trailer (8x16x256 only?)... dd if=Lat15-Terminus16.psf of=terminus-latin-8x16.fnt bs=1 count=4096 skip=4 7. test font... vidcontrol -f /tmp/terminus-latin-8x16.fnt && echo success 8. move font to syscons font directory... mv /tmp/terminus-latin-8x16.fnt /usr/share/syscons/fonts/ 9. load font upon every boot (add construct to /etc/rc.conf)... font8x16="terminus-latin-8x16" 10. enjoy
__________________
www.tacoshack.xyz Last edited by Mike-Sanders; 6th July 2015 at 12:43 PM. Reason: updated links |
|
|||
ar > tar ... does not recognize the format here... nor gtar
I used the second of the three links. ................ Works (at least pre-reboot...) per the instructions in the next post. Last edited by jb_daefo; 6th July 2015 at 01:32 AM. |
|
|||
Hmm no problems here to speak up. Question... You are logged in as root right? Here's another method to extract the deb archive:
ar vx /tmp/*.deb && tar -xzf /tmp/data.tar.gz I've also updated the url in the how-to above so that it now points to the offical Debian repository. If for some reason, you find you still cant extract the contents of the deb file, reply here & I'll post a link to the stripped/converted font so you can down load it directly. In fact, hold on, will upload it now... Okay, download the font here [4kb]: http://freebsd.hypermart.net/misc/te...latin-8x16.fnt Then, start at step 7...
__________________
www.tacoshack.xyz |
|
|||
> Works (at least pre-reboot...)
What OS version number on your end jb? (Thanks in advance).
__________________
www.tacoshack.xyz |
|
|||
11.0-CURRENT r281990 Sun Apr 26 2015 i386
I should rephrase that post above: Works (have not rebooted yet). Did not mean to imply that it did not persist across reboots... In fact it works so well if I was well versed in porting I'd port it or ask someone else to...
__________________
FreeBSD 13-STABLE |
|
|||
Good deal. Thanks for the feedback jb, appreciate it immensely. Re: Porting...
You know, I have one official port (link here) & to be perfectly candid, building a port's infrastructure is not really all that hard (handbook helped allot). Now submitting a port for inclusion... well, is none too pleasant & not well documented enough IMO. ¯\_(ツ)_/¯
__________________
www.tacoshack.xyz |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is your favorite font? | guitarscn | Off-Topic | 4 | 1st January 2011 01:46 AM |
font-misc-ethiopic & font-misc-meltho | Beastie | General software and network | 0 | 27th February 2009 11:21 AM |
CLI font size | idefix | FreeBSD General | 3 | 7th February 2009 11:19 AM |
Odd font display | TerryP | Feedback and Suggestions | 4 | 2nd November 2008 11:22 AM |
change default font of the X | rex | FreeBSD General | 2 | 26th October 2008 05:54 PM |