From owner-freebsd-questions@freebsd.org Thu Feb 22 18:58:51 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CE3EF216EE for ; Thu, 22 Feb 2018 18:58:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A43737287C for ; Thu, 22 Feb 2018 18:58:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.213.55]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPA (Nemesis) id 0MfVBH-1f7y6U2wpf-00P91f; Thu, 22 Feb 2018 19:58:41 +0100 Date: Thu, 22 Feb 2018 19:58:41 +0100 From: Polytropon To: chblock2-freebsd@yahoo.com Cc: Craig Block via freebsd-questions Subject: Re: how to change console font type and size ? Message-Id: <20180222195841.40265a76.freebsd@edvax.de> In-Reply-To: <124011442.3827649.1519321430747@mail.yahoo.com> References: <124011442.3827649.1519321430747.ref@mail.yahoo.com> <124011442.3827649.1519321430747@mail.yahoo.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:GwGD1A/aoBmy08kK5I0em/jZ9vp47Skqt+3XDd0nxPJ3uV6MtZN WuTj4qt88G/iMzdMnZsMFqOlAClSab1unOTjkeIS3l0Jw4nY5Yqo4ViLHfzcNPAHLFH+Qy7 pqw1ML9v2sCFsvVX+QXZ6hf305grWh/+s9sR2fNkbDkiHG8LLmsgn/NppFqg0u8ec2/GpQP e0VJpckOaO7glngOs0CQA== X-UI-Out-Filterresults: notjunk:1;V01:K0:Z5oUC47cdow=:oSpOhK6qnHuny0hrSskvMn QdQsGwKo9TsDEO/M95OTHf7xMRs1WSVuoAZ7/GjP3nNj/UdpTfqAICRekK99iFcZsGNbCAerU 8U9GDO+xA0LyxnNAWAd1GcPxF2GcpBD6SIpDNWm9XSMFgUUYzX0KiJZkFIK6fO5+HKAgx4Nal ye/5V8hYiqQeIR3WKsM2c7k/avEnWRQN3UFy+A0v/XlitABEgZRkRjiBEIILaXfck6NEqc/kB Ormf8wIeYdXwMaegFuetFauFkVS6+VFUc/VStGemNlfOSQl/ocZieQ2M8PeUQjMCm3ZGT0q++ tXU6FodYmNrc5noOqI39Lzss3uVjjv7Svf41bB099NAFEVfVUoyi7ne0Gu5HTrcjt/uhw7Ypk tDKF8zQmdLoQGj/hz0Xd2joa1j53zokIj6olPM+KK99D9M/GqRG9j5rXm5nm/ZadoY7WyPlgQ YJu5mhzbLakGYJvN1CL/d4SY8s7nd1vnJ0WrjGHYcPmCt9P8/EZtcGGbJ4XBMM2V5VmMda3NT pvZAXMMFe2edZsM1HpMrbsBNcwoDNY+2/E+S6jA0tX4QjeT35BTBQ8Pr8IEhZEijWg8aKfbtf cC1zaPIEIhlmtFJ4MzkW5890+/gukJa9JGrQ0FsjtdL7x7ucexBSGo0PBqYrEbBR1RXaS8heO ctCoqgXtsyMcZIJPrgYqfPnrezwcfmESHsV+TOHc8r5kjoUrVbk/570ebhKZ/ojaA+G4Cx9i+ 6YGGXRzIWButfPdLvCcHz/gG7pK5a4oMYhAPoVlqMCBQAmDbEAmZhQcEsbE= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 18:58:51 -0000 On Thu, 22 Feb 2018 17:43:50 +0000 (UTC), Craig Block via freebsd-questions= wrote: > I had a lot of issue with console resolution as well. Seems > the vt driver was rushed out as a stop gap for KMS support > missing that one important feature. Yes, I think this is the main problem within vt today. There is another limitation in vt: It cannot display special characters when $TERM isn't UTF-8. For example, if it's set to western Europe ISO-8859-1 (standard here in Germany), the german umlauts =F6 =E4 =FC =D6 =C4 =DC and the Eszett =DF won't work. In UTF-8 mode, they work (but note it's still a different character - or characters, as UTF-9 uses 2 bytes for what ISO-8859-1 only needs 1 byte). > In my case I went back to using the sc driver since the nVidia > driver I use does not depend on it (kern.vty=3Dsc). Interesting aspect! I did assume that _all_ X support depends on KMS, which in turn depends on vt. > Otherwise you're limited to running the console in vga mode > (hw.vga.textmode=3D1) or running it in the native monitor > resolution. Exactly that is the most annoying thing: You cannot set a "size in characters" (like 80x25 or 132x43), it all depends on the native resolution (screen size and amount of pixels) of your display. This becomes even more complicated when you consider a CRT: It has a physical size, but no pixels, so it could be anything from 320x200 to 1400x1200. I also tried hw.vga.textmode=3D1, but that didn't even work (on FreeBSD 10). > It leaves you with the option for giant vga mode font > or tiny native resolution font. Font selection is > limited and personally I don't think any of them are > any better than the stock vga font. If I remember correctly, that stock font comes from the GPU itself. This is the font you'll usually see when in the CMOS setup or FreeBSD booting (80x25 default font). I'd give further arms and legs to have _that_ font (or an equivalent that looks the same) together with the ability to run X. > If there's one feature the vt team needs to get out > there fast it's the ability to change console resolution. In columns x lines, if possible. :-) > P.S. sorry for the horrible format, the retarded web > based email I'm using doesn't know how to replay to an > email properly. I tried to fix this a bit. :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...