Date: Tue, 23 Aug 2016 21:21:04 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Victor Sudakov <vas@mpeks.tomsk.su> Cc: Felix Friedlander <felixphew0@gmail.com>, freebsd-questions@freebsd.org Subject: Re: font size in vt Message-ID: <20160823192104.GB2095@slackbox.erewhon.home> In-Reply-To: <20160823155935.GB6279@admin.sibptus.transneft.ru> References: <20160823055853.GA96874@admin.sibptus.transneft.ru> <284553A2-D8C5-4B15-A063-4C88E8D43196@gmail.com> <20160823155935.GB6279@admin.sibptus.transneft.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Tue, Aug 23, 2016 at 10:59:35PM +0700, Victor Sudakov wrote:
> Felix Friedlander wrote:
> > >
> > > I'm currently using vt(4) for my console on a 10.3-RELEASE system.
> > > With the i915kms.ko loaded, my text console becomes 67 rows, 240 columns
> > > (according to `stty -a`) with a very small font.
According to the newcons wiki and vt(4), you should be able to set the size with a
sysctl, e.g:
kern.vt.fb.default_mode="1024x768"
And you should be able to use vidcontrol(1) to query the available modes, but
I've never tried that yet.
> > > How can I configure a larger font with less rows and columns? All my
> > > knowledge of syscons, vidcontrol etc seems useless with vt+i915kms.
> > >
> > > Thanks in advance for any help.
> > >
> > > --
> > > Victor Sudakov, VAS4-RIPE, VAS47-RIPN
> > > sip:sudakov@sibptus.tomsk.ru
> >
> > The short answer is: load a larger font. You can use the
> > `vtfontcvt??? command to generate your own font from a bdf file - if
> > you don???t care what font, http://terminus-font.sourceforge.net is
> > available in a variety of sizes.
>
> I've tried converting some fonts from terminus-font-4.40/*.bdf,
> none have given a satisfactory result. If anyone has a decent-looking
> large FNT font (with Cyrillic characters), to make the vt console look
> more like the traditional 80x25 terminal, please share.
>
> > Fonts that you put in
> > /usr/share/vt/fonts will show up in `vidfont' too.
>
> And what's the rc.conf variable for setting the vidfont at boot time?
To set e.g. the “gallant” font, put
allscreens_flags="-f gallant"
in /etc/rc.conf. This is passed to vidcontrol(1).
Roland
--
R.F.Smith http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iQIcBAABCAAGBQJXvKIgAAoJEED21dyjijPge1YQAMUrtADksXKtv2qsBjWP21QS
GrBpe8ma6WKUdraKebsX8UQKIuya6xg/Rap73fe014RUx3Plup2q35FoHeLjMSW2
TW6ooNEtHVuYspA+4e61vi6iDQ4WHcwQqa1VqDXmAXa8veNvv7znoh/+Tf5Qf0po
Uy0kMqx+rCju1jC5VhsrW7XDf6/EXqqD4LA86ggiixFD8qllNioP7rWhybKc9G9X
F9hTVKXzLq2/yiwFnury05AOGFLDal34ovmgwzoBMLOpXPdmnnjhWChG0J0fCKzB
L4ZOFsRihWZBvot9WMSFGUJfyTuKD0qkNttAYH/L6D7PS0+oK6I0gtgixA1oo8m2
Ugmlva9rIG63e692Ii0lgbXoa0LkyFZy0qiEGWZzoupvRQ0DgWGOnZYiju6wbMOo
0cG1tCTTftorVuDJqmbjXn3cjNYqONIvqnUsooaGunnsjxorEcamGuapxIIt1s9z
Pc+09dzXC0uZz62CtUk7lOlGHupulzpI7L+xkOX8XH4yPVfPnyrZUKhqv+2+EPzy
hCge1sMMBsg/C45Lz7wy/v6v63MqEdDvU7FpRyky6z+Smv86Fi00VD+rmCvvNi69
12/gbceQcAN9tfVjoLWlroG+U6Cx7mZer98ITefd/1CYTp8nlryVGq4Ew3p2Eacn
jEgte7b8y5OV1vjyQCKc
=ZII2
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160823192104.GB2095>
