DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th December 2010
guitarscn guitarscn is offline
Package Pilot
 
Join Date: Oct 2008
Posts: 166
Default What is the default font for terminal?

When one installs a default OpenBSD box, what is the font used for the terminal when you first log in?
Reply With Quote
  #2   (View Single Post)  
Old 28th December 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

OpenBSD's console on i386/amd64 is configured by the BIOS, vga(4) text-mode is a bitmap font embedded in your video cards firmware.

It's not a graphical framebuffer as is used on other systems, it can't display complex graphics.

http://en.wikipedia.org/wiki/VGA_compatible_text_mode
Reply With Quote
  #3   (View Single Post)  
Old 28th December 2010
guitarscn guitarscn is offline
Package Pilot
 
Join Date: Oct 2008
Posts: 166
Default

Ah, I thought it was a single generic monospace font or something. I wanted to use it for everything else as well since it's readable unlike other fonts I have to look at that are uneven in spacing.

Do you have any preference as far as fonts go? (Anyone can answer.)

Actually I might just create a new thread in Off-Topic.
Reply With Quote
  #4   (View Single Post)  
Old 28th December 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

I've grown rather fond of the terminus font, which is fixed width and suitable for terminals.

The version in the ports tree is a X11 bitmap font in pcf format, but I believe a TrueType alternative exists.
Reply With Quote
  #5   (View Single Post)  
Old 28th December 2010
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

Quote:
Originally Posted by guitarscn View Post
I wanted to use it for everything else as well since it's readable unlike other fonts I have to look at that are uneven in spacing.
There is a VGA font that's been adapted for X, which comes with dosemu. To try them,
download the source code for dosemu-1.4.0 and install the files matching

dosemu-1.4.0/etc/vga*.bdf

in your fonts/local directory. (You may need mkfontdir(1) and "xset(1) fp rehash".)

Just for fun I once made a terminal that uses them with this command:

% xterm -fn vga -geom 84x42+168+21 -bg black -fg gray80 -cr purple -selbg snow2 -selfg royalblue3 +sb -ls -T "`whoami` : term2@$HOST" -n term2 &

The PC VGA font has limitations on the character set, so you'll likely have more luck with something like terminus in the long run. Not to mention that this is a hack job unsupported by the developers.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default terminal color disappearedng FreeBSD General 5 21st February 2012 01:28 AM
HOWTO: Encoding // Pure Terminal // Virtual Terminal vermaden Guides 1 25th June 2010 08:02 AM
font-misc-ethiopic & font-misc-meltho Beastie General software and network 0 27th February 2009 11:21 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


All times are GMT. The time now is 09:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick