From owner-freebsd-questions@freebsd.org Tue Sep 20 21:43:16 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 8261EBE38E6 for ; Tue, 20 Sep 2016 21:43:16 +0000 (UTC) (envelope-from felixphew0@gmail.com) Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6F01BCE for ; Tue, 20 Sep 2016 21:43:16 +0000 (UTC) (envelope-from felixphew0@gmail.com) Received: by mail-pf0-x242.google.com with SMTP id n24so1437216pfb.3 for ; Tue, 20 Sep 2016 14:43:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=pDTBT/FFEbWCjBaJ9zpkeHrKMmnjsJucvXnuWQjOo04=; b=vY/+Yu4nIaxn0pkzcHddewArNm97tnaWRKNNGInf+muXK8Mog2KYXVGHaH/TbhUBST pRGIGqLO1KXzsYnoJ4QrwP1kXN71x4MNOLILAPDpvTUkiuW61rhCHWPnuYtde0JMdHRD e2vkyGi+DZAGnDn+TSPgSXOvHOmF3wEbS3yjXRTXhXm5hFVYhDSdPzMqzjzeJCj+mdNJ 8odpQBPIrO8ijmzRkQExYLcOWyDiwssKHMRON7mrFyIPgH8N59uEzgd/6nTnY8bML0sS EanoH9Gd8blSriCtqjVrMPSSGoVX843FlKHMx09J1Qdm1bwpy8Q0R0aimJV0X9rPxrqD W7Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=pDTBT/FFEbWCjBaJ9zpkeHrKMmnjsJucvXnuWQjOo04=; b=JNlNGtLd5YIl0rbr2ZWwTMRaQEzTPQMH3FkJgJ7oVtwIyeKfQaU2paQDF/bZ8wNJ/8 y30lxrhHmcdJcAkiace3o9MaT5CalWRA2bXwCVUHahsOYRn2zJzpVpKGCZ8ORk2dCEbo odZvMmxFMO4T2sn8UlIZDYG4L5XGfPir49FiVTJUWKlIeRlwC+GXrVRKAMO3c2EoA0/W FwSIBByvtf/gvWMFjSWu/i3H7Cr7gf1GZX+d4KeJxvtSvzDUVzNxjjpgx0gdCsFaPzzo HJG/rn4sLltWobGe2LFA9wuN/q2e3ecj0tZ3kOLTJVFgSOLmRsbMp6cJHCvWqebChJy+ Jk8g== X-Gm-Message-State: AE9vXwNJEJwGQ2gDNXS/LbPuJaIO9seE/eIM6AnQiVLlbquZTVzhEKvlTsuYjJjMjPuT9A== X-Received: by 10.98.39.193 with SMTP id n184mr59296120pfn.164.1474407795897; Tue, 20 Sep 2016 14:43:15 -0700 (PDT) Received: from [192.168.0.33] (c49-177-162-140.frank4.vic.optusnet.com.au. [49.177.162.140]) by smtp.gmail.com with ESMTPSA id c124sm28013609pfc.52.2016.09.20.14.43.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Sep 2016 14:43:15 -0700 (PDT) From: Felix Friedlander Message-Id: <798F872E-ECF7-40F9-8853-C0B962B7A719@gmail.com> Content-Type: multipart/signed; boundary="Apple-Mail=_31287BD1-F8FC-4A9A-B4C1-41317D12B53E"; protocol="application/pkcs7-signature"; micalg=sha1 Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3225\)) Subject: Re: Relapse to 80x25 text mode from X Date: Wed, 21 Sep 2016 07:43:09 +1000 In-Reply-To: <20160920235423.K6806@sola.nimnet.asn.au> Cc: Polytropon , freebsd-questions@freebsd.org To: Ian Smith References: <20160920235423.K6806@sola.nimnet.asn.au> X-Mailer: Apple Mail (2.3225) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2016 21:43:16 -0000 --Apple-Mail=_31287BD1-F8FC-4A9A-B4C1-41317D12B53E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 21 Sep. 2016, at 00:29, Ian Smith wrote: >=20 > In freebsd-questions Digest, Vol 641, Issue 3, Message: 15 > On Tue, 13 Sep 2016 23:59:43 +0200 Polytropon = wrote: >=20 >> When I initially installed X on my "new" Lenovo Thinkpad R61i, >> after leaving X (or after switching to text mode with the >> key combination Ctrl+Alt+PF1) the screen would still show >> the X image, leaving me "blind" at the console. Changing >> the sc driver to vt solved that problem, but opened a new >> one: The text mode font is tiny and unreadable. >>=20 >> What is the preferred way of keeping the console in 80x25 >> mode _and_ being able to switch from/to X? >>=20 >> My /boot/loader.conf currently contains: >>=20 >> kern.vty=3Dvt >> kern.vt.fb.default_mode=3D"1280x800" >> hw.vga.textmode=3D1 >> i915kms_load=3D"YES" >>=20 >> In /etc/rc.conf I have tried >>=20 >> allscreens_flags=3D"-f gallant" >>=20 >> as suggested somewhere, but that just slightly increases >> the font size (still more than 80x25) and looks ugly. >>=20 >> The laptop contains an Intel Mobile GM965/GL960 GPU. The >> screen has a physical size of 1280 x 800 pixels. >>=20 >>=20 >>=20 >> In other words: Is it possible to relapse to the default >> behaviour of 80x25 sc and X that has worked for decades? >> If yes, how? >=20 > I don't know but I'd like to, and I don't know but I'd like to, too. >=20 > Hugely behind, I was just quickly scanning this month's archives at > = https://lists.freebsd.org/pipermail/freebsd-questions/2016-September/threa= d.html > when I noticed this poor lonely little message, unreplied to. >=20 > And of course searching that page for 'Poly' shows 14 messages tonight=20= > from you helping others, as usual, plus this one. >=20 > I still use sc on two older laptops, but saw quite a few messages = about=20 > this, perhaps on stable@, but didn't wind up grokking a clear solution=20= > or I'd have clipped it. >=20 > So this is just a dreaded 'bump' .. someone/s must know all about = this? >=20 > cheers, Ian In vt(4), rows and columns are determined by font size. The default font = (I think) is 8x16, so your terminal should therefore be 160x50. I don=E2=80=99t know why you would want an 80x25 console on a 1280x800 = screen, but it is a valid request, so: 1280 / 80 =3D 16 800 / 25 =3D 32 Looks like you want a 16x32 font. You=E2=80=99re in luck: from FreeBSD = 11, there=E2=80=99s a font `vgarom-16x32' that should be what you=E2=80=99= re looking for. Load it with `vidfont' or `vidctl -f'. If you=E2=80=99re = still on FreeBSD-10, you=E2=80=99ll have to chase up a copy from = somewhere, or compile it from the HEX file at = https://svn.freebsd.org/base/head/share/vt/fonts/vgarom-16x32.hex = (compile it with `vtfontcvt' - the finished file goes in = /usr/share/vt/fonts). I hope this helps - and I know vt sometimes has an odd way of doing = things. I like it, but not everyone does. --=20 Felix Friedlander --Apple-Mail=_31287BD1-F8FC-4A9A-B4C1-41317D12B53E Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKXzCCBHUw ggNdoAMCAQICEEOXQUtz9dNAT9/4o8H24nQwDQYJKoZIhvcNAQELBQAwdTELMAkGA1UEBhMCSUwx FjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24g QXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQTAeFw0xNjA2MDEy MTI0MDFaFw0xOTA5MDEyMTI0MDFaMEQxHTAbBgNVBAMMFGZlbGl4cGhldzBAZ21haWwuY29tMSMw IQYJKoZIhvcNAQkBFhRmZWxpeHBoZXcwQGdtYWlsLmNvbTCBmzAQBgcqhkjOPQIBBgUrgQQAIwOB hgAEAd9iFZSiKobJSF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