From owner-freebsd-current@FreeBSD.ORG Sat Aug 23 17:34:40 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 CE6111065671 for ; Sat, 23 Aug 2008 17:34:40 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout016.mac.com (asmtpout016.mac.com [17.148.16.91]) by mx1.freebsd.org (Postfix) with ESMTP id B69FB8FC15 for ; Sat, 23 Aug 2008 17:34:40 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.101] (209-128-86-226.BAYAREA.NET [209.128.86.226]) by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K6200KS4E5RN720@asmtp016.mac.com> for freebsd-current@freebsd.org; Sat, 23 Aug 2008 10:34:40 -0700 (PDT) Message-id: <3395C244-A050-40D9-B857-588A58666DA2@mac.com> From: Marcel Moolenaar To: Alexander Churanov In-reply-to: <3cb459ed0808230256g3f0f51epd9ab54047d3bd681@mail.gmail.com> Date: Sat, 23 Aug 2008 10:34:38 -0700 References: <3cb459ed0808230256g3f0f51epd9ab54047d3bd681@mail.gmail.com> X-Mailer: Apple Mail (2.928.1) 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: Sat, 23 Aug 2008 17:34:40 -0000 On Aug 23, 2008, at 2:56 AM, Alexander Churanov wrote: > Hi folks! > > I'm posting to this list, because I didn't find anything more > appropriate > and the only answer I've received on "freebsd-i18n@freebsd.org" was a > suggestion to post to "freebsd-current". > > I am interested in FreeBSD internationalization and unicode support. I > already spent some time examining the source of syscons. I think that > syscons is the main problem in bringing full UTF-8 support to > FreeBSD out of > box. It seems that I am ready with the solution. That's why I am > writing to > this list. I've been working on this for a bit. The approach I took was to 1) kick syscons out, 2) write a VGA driver that works in graphics mode, 3) create a terminal driver that uses UNICODE internally (that is, it uses UTF-32) and that can support different terminal emulations, 4) start a VT100/VT102 terminal emulation driver. Going UNICODE is great, but you need to be able to display the characters. For that, the most generic approach is to have your own fonts and have the hardware be in graphics mode only. At this point, I need to hook it up to the keyboard API, so that one can type. It's already booting, so the basics are working. Not that VT100 emulation is "there" or complete... > 0) Is moving to UTF-8 from 8-bit codepages desired for FreeBSD? Yes, I think it is. I don't think you can call youself a serious OS if you don't have adequate i18n. > 1) Is unicode support in character-mode (I mean plain tty, not Xorg) > FreeBSD > human interface alreay implemented? No. > 2) Is somebody working on that? I'm not currenrtly working actively on it... > 3) What is the correct branch to check out source code? From what > repository? I have my code in Perforce, on the tty. See also: http://wiki.freebsd.org/dev/vtc%284%29 > 4) What is the process of submitting changes? That depends. In this case, since we're talking about significant work, the ebest aproach would be to develop on a Perforce branch until the code is ready for a bigger audience... FYI, -- Marcel Moolenaar xcllnt@mac.com