From owner-freebsd-questions@freebsd.org Tue Aug 23 19:22:20 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F02EABC3063 for ; Tue, 23 Aug 2016 19:22:20 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb1-smtp-cloud3.xs4all.net (lb1-smtp-cloud3.xs4all.net [194.109.24.22]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 82EA11D64 for ; Tue, 23 Aug 2016 19:22:19 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud3.xs4all.net with ESMTP id ajM41t00F07iGuj01jM6ei; Tue, 23 Aug 2016 21:21:06 +0200 Received: from rsmith (uid 1001) (envelope-from rsmith@xs4all.nl) id 123a0 by slackbox.erewhon.home (DragonFly Mail Agent v0.11); Tue, 23 Aug 2016 21:21:04 +0200 Date: Tue, 23 Aug 2016 21:21:04 +0200 From: Roland Smith To: Victor Sudakov Cc: Felix Friedlander , freebsd-questions@freebsd.org Subject: Re: font size in vt Message-ID: <20160823192104.GB2095@slackbox.erewhon.home> Mail-Followup-To: Victor Sudakov , Felix Friedlander , freebsd-questions@freebsd.org References: <20160823055853.GA96874@admin.sibptus.transneft.ru> <284553A2-D8C5-4B15-A063-4C88E8D43196@gmail.com> <20160823155935.GB6279@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GID0FwUMdk1T2AWN" Content-Disposition: inline In-Reply-To: <20160823155935.GB6279@admin.sibptus.transneft.ru> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 19:22:21 -0000 --GID0FwUMdk1T2AWN Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 23, 2016 at 10:59:35PM +0700, Victor Sudakov wrote: > Felix Friedlander wrote: > > >=20 > > > 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 colu= mns > > > (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=3D"1024x768" And you should be able to use vidcontrol(1) to query the available modes, b= ut 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. > > >=20 > > > Thanks in advance for any help. > > >=20 > > > --=20 > > > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > > > sip:sudakov@sibptus.tomsk.ru > >=20 > > 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.=20 >=20 > 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. >=20 > > Fonts that you put in > > /usr/share/vt/fonts will show up in `vidfont' too. >=20 > And what's the rc.conf variable for setting the vidfont at boot time? To set e.g. the =E2=80=9Cgallant=E2=80=9D font, put allscreens_flags=3D"-f gallant" in /etc/rc.conf. This is passed to vidcontrol(1). Roland --=20 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) --GID0FwUMdk1T2AWN Content-Type: application/pgp-signature; name="signature.asc" -----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----- --GID0FwUMdk1T2AWN--