From owner-freebsd-questions@freebsd.org Wed Sep 21 08:44:51 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 E72E8BE0993 for ; Wed, 21 Sep 2016 08:44:51 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3991385B for ; Wed, 21 Sep 2016 08:44:50 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u8L8iakn064474; Wed, 21 Sep 2016 18:44:36 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 21 Sep 2016 18:44:36 +1000 (EST) From: Ian Smith To: Felix Friedlander cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: Relapse to 80x25 text mode from X In-Reply-To: <798F872E-ECF7-40F9-8853-C0B962B7A719@gmail.com> Message-ID: <20160921182802.G6806@sola.nimnet.asn.au> References: <20160920235423.K6806@sola.nimnet.asn.au> <798F872E-ECF7-40F9-8853-C0B962B7A719@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT 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: Wed, 21 Sep 2016 08:44:52 -0000 On Wed, 21 Sep 2016 07:43:09 +1000, Felix Friedlander wrote: > > On 21 Sep. 2016, at 00:29, Ian Smith wrote: > > In freebsd-questions Digest, Vol 641, Issue 3, Message: 15 > > On Tue, 13 Sep 2016 23:59:43 +0200 Polytropon wrote: > > > >> 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. > >> > >> What is the preferred way of keeping the console in 80x25 > >> mode _and_ being able to switch from/to X? [..] > >> 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? > > > > I don't know but I'd like to, and I don't know but I'd like to, too. [..] > 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˙˙t know why you would want an 80x25 console on a 1280x800 > screen, but it is a valid request, so: > > 1280 / 80 = 16 > 800 / 25 = 32 > > Looks like you want a 16x32 font. You˙˙re in luck: from FreeBSD 11, > there˙˙s a font `vgarom-16x32' that should be what you˙˙re looking > for. Load it with `vidfont' or `vidctl -f'. If you˙˙re still on > FreeBSD-10, you˙˙ll 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. Thankyou Felix. My Lenovo X200 notebook also has a 1280x800 12" diagonal screen, and like Polytropon, my eyesight is not what it once was. The difference in readability vs this older T23 (1024x768 but 14") is considerable, and I often enough switch from X to console that this is valuable info for me. cheers, Ian