Date: Wed, 21 Sep 2016 07:43:09 +1000 From: Felix Friedlander <felixphew0@gmail.com> To: Ian Smith <smithi@nimnet.asn.au> Cc: Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org Subject: Re: Relapse to 80x25 text mode from X Message-ID: <798F872E-ECF7-40F9-8853-C0B962B7A719@gmail.com> In-Reply-To: <20160920235423.K6806@sola.nimnet.asn.au> References: <mailman.1825.1473822443.1478.freebsd-questions@freebsd.org> <20160920235423.K6806@sola.nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] > On 21 Sep. 2016, at 00:29, Ian Smith <smithi@nimnet.asn.au> wrote: > > In freebsd-questions Digest, Vol 641, Issue 3, Message: 15 > On Tue, 13 Sep 2016 23:59:43 +0200 Polytropon <freebsd@edvax.de> 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? >> >> My /boot/loader.conf currently contains: >> >> kern.vty=vt >> kern.vt.fb.default_mode="1280x800" >> hw.vga.textmode=1 >> i915kms_load="YES" >> >> In /etc/rc.conf I have tried >> >> allscreens_flags="-f gallant" >> >> as suggested somewhere, but that just slightly increases >> the font size (still more than 80x25) and looks ugly. >> >> The laptop contains an Intel Mobile GM965/GL960 GPU. The >> screen has a physical size of 1280 x 800 pixels. >> >> >> >> 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. > > Hugely behind, I was just quickly scanning this month's archives at > https://lists.freebsd.org/pipermail/freebsd-questions/2016-September/thread.html > when I noticed this poor lonely little message, unreplied to. > > And of course searching that page for 'Poly' shows 14 messages tonight > from you helping others, as usual, plus this one. > > I still use sc on two older laptops, but saw quite a few messages about > this, perhaps on stable@, but didn't wind up grokking a clear solution > or I'd have clipped it. > > So this is just a dreaded 'bump' .. someone/s must know all about this? > > 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’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. -- Felix Friedlander <felixphew0@gmail.com> [-- Attachment #2 --] 0 *H 010 + 0 *H _0u0]CAKs@Ot0 *H 0u10 UIL10U StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA0 160601212401Z 190901212401Z0D10Ufelixphew0@gmail.com1#0! *H felixphew0@gmail.com00*H=+ # b*HTUー ԫП]g~1 eCu%ּ 2)C n8IܷYI4x{PWWɚ1ET4ΙI1.T!K C1^_\Kk$:7dWأ00U0U%0++0 U0 0U%q~H8^4bmQ0U#0$l9aIF+('Hmh0o+c0a0$+0http://ocsp.startssl.com09+0-http://aia.startssl.com/certs/sca.client1.crt08U10/0-+)'http://crl.startssl.com/sca-client1.crl0U0felixphew0@gmail.com0#U0http://www.startssl.com/0GU @0>0<+70-0++https://www.startssl.com/policy0 *H x/HOȾgi:4efe#F3;apxLρ4N&"kҰǿYhI7($w@UCW%o<{'칷zZ;`k-gb5\Z#ӳ瞡?rr1[h&E/_HMЏ(r}XVPAgY Qi;6a4\onPfR>Z늷-ϯPB'Yhj[>u00ʠk} Q Y0 *H 0}10 UIL10U StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0 151216010005Z 301216010005Z0u10 UIL10U StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA0"0 *H 0 }â}[[_u$Wy5 |̔ vnqY)\aL$dYG|B"QǤĩVD#'F k9O_]*ςz_kU.u3r #:C<ogT)K Xah8v[\KqdlO)3+u7J5";[vfL/"2ϩJ#4ד[U TB,a˖a7H< =q d0`0U0U%0++0U0 02U+0)0'%#!http://crl.startssl.com/sfsca.crl0f+Z0X0$+0http://ocsp.startssl.com00+0$http://aia.startssl.com/certs/ca.crt0U$l9aIF+('Hmh0U#0N@[i04hCA0?U 80604U 0,0*+http://www.startssl.com/policy0 *H [#'#4pnRۡЗN⛭`]K"#H*߷Թψ;UA8Ҟeg{ozmYE60A)wXRK6c^-Al^k[':G=;oLv{$B5;8b,ZP4{o[-j m)[땭[4 s.c|ҴvYLJ<|ӯgu0jD2 @hl+:j\ze_ևa@HyMHINxpK?% 㤺RC:=?^&7m´)A2;E~VB1$EvcKj؝(OoپU`"$a;ҡj0$&<$ۊ+/xjzb,7}W*1ܺtDv#8K %^P>/i?)yRuQg^z`~sP91000u10 UIL10U StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CACAKs@Ot0 + 0 *H 1 *H 0 *H 1 160920214310Z0# *H 1IU /GܹJ0 +7100u10 UIL10U StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CACAKs@Ot0*H 10u10 UIL10U StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CACAKs@Ot0 *H=0BpE8!9@ڮ)+ND#Zцn۽ff]!S:e{Gft&B LfgVpv7) Vys96܆`L{,RIO">bo<6
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?798F872E-ECF7-40F9-8853-C0B962B7A719>
