From owner-freebsd-current@FreeBSD.ORG Mon May 12 15:11:06 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4BF062A for ; Mon, 12 May 2014 15:11:06 +0000 (UTC) Received: from smtp.smtpout.orange.fr (smtp05.smtpout.orange.fr [80.12.242.127]) by mx1.freebsd.org (Postfix) with ESMTP id 54FD82FA5 for ; Mon, 12 May 2014 15:11:05 +0000 (UTC) Received: from localhost ([92.162.1.52]) by mwinf5d62 with ME id 13Au1o01617KTJs033AuHr; Mon, 12 May 2014 17:10:57 +0200 X-ME-Helo: localhost X-ME-Date: Mon, 12 May 2014 17:10:57 +0200 X-ME-IP: 92.162.1.52 Message-ID: <5370E47E.7030304@orange.fr> Date: Mon, 12 May 2014 17:10:54 +0200 From: Claude Buisson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Aleksandr Rybalko Subject: Re: RFT vidcontrol for vt(4) References: <20140311162743.072870a9afd4f74fff9e99e8@ddteam.net> <5370CE34.8000905@orange.fr> <20140512171415.558dbcb68971d1db675ea39e@ddteam.net> In-Reply-To: <20140512171415.558dbcb68971d1db675ea39e@ddteam.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: emaste@freebsd.org, current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2014 15:11:06 -0000 On 05/12/2014 16:14, Aleksandr Rybalko wrote: > On Mon, 12 May 2014 15:35:48 +0200 > Claude Buisson wrote: > >> On 03/11/2014 15:27, Aleksandr Rybalko wrote: >>> Hello hackers! >>> >>> Here is link to the patch[1] for vidcontrol that makes it to know if it >>> run w/ or w/o vt(4) and if vt(4) is present, then: >>> 1. screen map feature disabled (vt(4) use Unicode, so screen map not >>> needed). >>> 2. enable to load fornt from /usr/share/vt/fonts/ dir. PLease put >>> "gallant" font[2] to /usr/share/vt/fonts/. >>> >>> Looks like it works fine, but maybe I forgot something :) >>> So please test it in your own environment. >>> >>> Big thanks to Ed for preparing that font file! >>> >>> 1. >>> http://people.freebsd.org/~ray/newcons/vidcontrol_for_vt_2014-03-11.patch >>> 2. http://people.freebsd.org/~emaste/newcons/gallant.fnt >>> >>> Thanks! >>> >>> WBW >>> >> >> Hi, >> >> I applied this patch on a 10.0-STABLE r264390 with a Radeon Mobility X300 (M22) >> 5460, and DRM2. >> >> I could load an home made terminus 16x32 font (my eyes are too old to work with >> a 8x16 font on a 1920x1200 17" screen), by >> >> - looping on each ttyvN in a rc.local script >> >> or >> >> - adding allscreens_flags="-f terminus-u32" to rc.conf (for /etc/rc.d/syscons >> consumption) > > Cool! > Are you like to share that font? > Off course. In fact I generated 12x24, 14x28 and 16x32 fonts from terminus-font-4.38 by using the tools/tools/vt/fontcvt utility. I will send you these fonts offlist (because the FreeBSD lists do not like attachments). >> >> I just discovered than scrolling back in console mode works ONLY on ttyv0. > > Huh, it's surprising me. Before your mail I think we have problem with > scrollback on vty0, but not on others. :) > Looks like I have to concentrate and fix them all at once. > I confirm that scrollback works on ttyv0, but not on others ttyv when a font is loaded. >> >> What I have to do to get scrolling on every ttyvN ? >> >> The only way to get the system working in normal VGA mode (640x480) (not loading >> the drm2 and radeon kms modules by loader.conf) is by configuring the BIOS to >> not do display expansion - which leads to the same ridiculously small font.. >> >> And of course, kbdmux keeps being mandatory to be able to load a keymap. > > Yeah, I still remember. :) > This could be noted in the newly born vt(4) man page .. >> >> TIA >> >> Claude Buisson >> > > Many thanks Claude! > > WBW > CBu