From owner-freebsd-current@FreeBSD.ORG Sat Aug 23 10:26:58 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 42863106568C for ; Sat, 23 Aug 2008 10:26:58 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 0447C8FC22 for ; Sat, 23 Aug 2008 10:26:58 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 5F3251CE61; Sat, 23 Aug 2008 12:26:56 +0200 (CEST) Date: Sat, 23 Aug 2008 12:26:56 +0200 From: Ed Schouten To: Alexander Churanov Message-ID: <20080823102656.GE99951@hoeg.nl> References: <3cb459ed0808230256g3f0f51epd9ab54047d3bd681@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="j1ugAeR+TeE7406a" Content-Disposition: inline In-Reply-To: <3cb459ed0808230256g3f0f51epd9ab54047d3bd681@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Current 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 10:26:58 -0000 --j1ugAeR+TeE7406a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Alexander, * Alexander Churanov wrote: > 1) Is unicode support in character-mode (I mean plain tty, not Xorg) Free= BSD > human interface alreay implemented? Yes and no. Right now, you can just use UTF-8 inside ncurses and there is nothing that actually stops you from writing pieces of console software that supports UTF-8. But there is one problem with TTY's: when you switch your terminal to canonical mode (where it processes entire lines of text at a time), it cannot properly perform backspace on exotic characters, because the characters are both variadic in bytes and columns. Linux has this IUTF8 flag for termios, which we don't support (yet). I am not sure how profitable it is to implement this. It makes the TTY code a lot more complex than it is right now. I think 90% of the time, the TTY is configured to run in non-canonical mode anyway. I think we should let this wait until we have an UTF-8 capable syscons. --=20 Ed Schouten WWW: http://80386.nl/ --j1ugAeR+TeE7406a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkiv5fAACgkQ52SDGA2eCwX9nACfZ42p3ihHXK7g8Yo9TEybPsKF JbwAn2JtAjY0Pu0fLIFd2fINJTx/b6TD =IvVk -----END PGP SIGNATURE----- --j1ugAeR+TeE7406a--