Skip site navigation (1)Skip section navigation (2)
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

--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 <smithi@nimnet.asn.au> wrote:
>=20
> In freebsd-questions Digest, Vol 641, Issue 3, Message: 15
> On Tue, 13 Sep 2016 23:59:43 +0200 Polytropon <freebsd@edvax.de> =
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 <felixphew0@gmail.com>


--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
FjAUBgNVBAoTDVN0YXJ0Q29tIEx0Z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gYswgYgCQgFwRTgh
ORkLQNH559qu6ymQnZSKK5ZORCO47hXrh1rRhm6z0tu9ZpHGBGZdvhYh01McOmX6e6Hp20dmdNTQ
JoT4hwJCAOqZTKP0ZmdWcHY3o6gpCbxW9/F5zdDe1eOq33PSOdH0E430NtyGlmDx95BMlKSdy3ss
lBdSSR5PIqjEPmJvPLg2AAAAAAAA
--Apple-Mail=_31287BD1-F8FC-4A9A-B4C1-41317D12B53E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?798F872E-ECF7-40F9-8853-C0B962B7A719>