From owner-freebsd-current@FreeBSD.ORG Wed Jul 15 06:46:48 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C0A71065674 for ; Wed, 15 Jul 2009 06:46:48 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 07EBF8FC12 for ; Wed, 15 Jul 2009 06:46:47 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.0/8.14.0) with ESMTP id n6F6kl8v019932 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 15 Jul 2009 01:46:47 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n6F6kkPs042133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 15 Jul 2009 01:46:47 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n6F6KgYZ083158; Wed, 15 Jul 2009 01:20:42 -0500 (CDT) (envelope-from dan) Date: Wed, 15 Jul 2009 01:20:42 -0500 From: Dan Nelson To: Ed Schouten Message-ID: <20090715062041.GH63413@dan.emsphone.com> References: <4A5C9CE2.6060801@free.fr> <20090714155513.GO48776@hoeg.nl> <1247599592.2232.27.camel@localhost> <20090714194726.GP48776@hoeg.nl> <1247603171.2105.38.camel@localhost> <20090714204028.GT48776@hoeg.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090714204028.GT48776@hoeg.nl> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email2.allantgroup.com [199.67.51.78]); Wed, 15 Jul 2009 01:46:47 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: Vladimir Grebenschikov , freebsd-current@freebsd.org, Franck Royer Subject: Re: UTF-8 on 8.0-CURRENT: Yes We Can! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 15 Jul 2009 06:46:48 -0000 In the last episode (Jul 14), Ed Schouten said: > * Vladimir Grebenschikov wrote: > > In past graphical console draw text not too quick. I've tried to live > > with VESA mode of sc (to match high resolution of notebook display). > > But it was really slow. Probably, your driver will be much faster ? > > Even though I like VESA, it's probably hard, if not impossible to get it > working, mainly because we need vm86 to reprogram the hardware, which is > not present on amd64. One of the things on my todo list is to figure out > how the Intel hardware works, so we have an accelerated driver on those > systems. This should also make it a lot more attractive to implement > things like kernel modesetting somewhere in the future. Another option would be to dynamically remap the 256 text-mode characters as needed, similar to how the mouse cursor is displayed. The average single-language console will have much less than 256 unique characters onscreen at once at any one time, so the average console will rarely have a phyical character remapped once a glyph has been assigned to it. Any more than 256 onscreen at once could be replaced with a special symbol or remapped to a similar character if possible. You could even preferentially replace symbol/line-drawing characters first, and try and preserve characters in the area around the cursor. -- Dan Nelson dnelson@allantgroup.com