From owner-freebsd-current@FreeBSD.ORG Wed Nov 12 15:30:37 2008 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 EEC51106574A for ; Wed, 12 Nov 2008 15:30:35 +0000 (UTC) (envelope-from alexanderchuranov@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 80B058FC17 for ; Wed, 12 Nov 2008 15:30:35 +0000 (UTC) (envelope-from alexanderchuranov@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so350426nfh.33 for ; Wed, 12 Nov 2008 07:30:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=0GbQQ53g8lvi0K8/rUQvdpfa3+ZZLeiRl8MbJ6SoE/0=; b=IcAf4VMzuzh+OwWMlpREFU5tGrguA9htjAMdyCLzSarrYBDMlTscn9jLixCgL/ceZ2 +PUWujow1cQ8C9bhvIUslZYZc5/46UT8Mvv7VOne2Q7GVLRVpyQpEOsIwvFvY5+kazL8 CqPUYotKtpNQBDuy3PfYzPlKpm0Ss7hQHJplU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=QihDXZelwTr6+oHHxNn9we2u2Ao5yPqUKfjzHaXXrxOzpJY1FmZpQHXwgDSNJIKk82 TGhplGei90XFDZoZZ1YmjeBflC2JsIgRdhhYhErvRlyozkh6Fl3PNNYEaNALRtQCbt3z jWIdMkWyjn8jfBqimdP2PfNwBBa368h4Zy1eM= Received: by 10.210.131.6 with SMTP id e6mr10468204ebd.77.1226503834315; Wed, 12 Nov 2008 07:30:34 -0800 (PST) Received: by 10.210.130.15 with HTTP; Wed, 12 Nov 2008 07:30:34 -0800 (PST) Message-ID: <3cb459ed0811120730p2a7039eanb4508c344a0a5f5c@mail.gmail.com> Date: Wed, 12 Nov 2008 18:30:34 +0300 From: "Alexander Churanov" To: vadim_nuclight@mail.ru In-Reply-To: MIME-Version: 1.0 References: <3cb459ed0808221700w335b0906g6901d8b8bec4dad9@mail.gmail.com> <200808241415.31812.mitchell@wyatt672earp.force9.co.uk> <6a7033710808241239p1cbdc7adwd4f87814b428b10b@mail.gmail.com> <3cb459ed0808241958v552eafejf7841f0f9993928e@mail.gmail.com> <3cb459ed0811110616t76235e72n24f2411a324a9807@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: Unicode-based FreeBSD 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, 12 Nov 2008 15:30:38 -0000 Vadim, Yes, I'm sure that transition from 256 to 512 characters is possible. However, my suggested implementation plan for this feature is: 1) Create working version of syscons having the ability of transcoding UTF-8 to 8-bit on output to screen and encoding keystrokes to UTF-8 on input. This will utilize maximum of current screenmaps, fonts, etc. The UTF-8 mode is optional and can be turned on and off. 2) Having UTF-8 processing done, modify the renderer to accept full range (21-bit) unicode code points on input instead of 8-bit characters. 3) Modify the renderer to draw greatest possible range of code points. Probably 512 or more. Please, take into account that, as I know, there are more than one rendering module. Some utilize text-mode capabilities of graphic cards, other use graphic modes and deal with pixels. I don't work on it right now and explained my current view of rendering. So then, on x86 it is possible to draw even complex scripts like devanagari. The drawback is the cost of implementation. Alexander Churanov