Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2008 12:26:56 +0200
From:      Ed Schouten <ed@80386.nl>
To:        Alexander Churanov <alexanderchuranov@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Unicode-based FreeBSD
Message-ID:  <20080823102656.GE99951@hoeg.nl>
In-Reply-To: <3cb459ed0808230256g3f0f51epd9ab54047d3bd681@mail.gmail.com>
References:  <3cb459ed0808230256g3f0f51epd9ab54047d3bd681@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--j1ugAeR+TeE7406a
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello Alexander,

* Alexander Churanov <alexanderchuranov@gmail.com> 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 <ed@80386.nl>
 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080823102656.GE99951>