Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 2008 16:59:08 +0100
From:      Ed Schouten <ed@80386.nl>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Syscons with xterm emulation: one step closer to UTF-8 support?
Message-ID:  <20081206155908.GG18652@hoeg.nl>

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

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

Hello all,

I may have mentioned this to some people some time ago, but I thought it
would be nice to start a thread about this here on -hackers:

A couple of weeks ago I started working on a library (libteken) that
implements a subset of features (escape sequences) of xterm, our trusty
X11 terminal application. I've done most hacking/testing in userspace,
but this week I experimented with removing the terminal emulation from
syscons and replaced it by the library. The result:

- We can finally SSH to other operating systems, network switches, etc.
  without messing up our terminals. Almost any operating system out
  there has termcap entries for `xterm', which means stuff should Just
  Work (tm).

- My library only accepts one character set of input: UTF-8. Right now
  it just directly forwards the character codes to Syscons, hoping
  Syscons has a character map that is capable of displaying them (which
  doesn't work).

There are still many small issues I have to fix in the terminal
emulation library, but also in the Syscons <-> libteken code. I won't
commit it on short notice, obviously. If people want to test it, the
code is in the MPSAFE TTY branch in Perforce. Diffs are available at:

	http://people.FreeBSD.org/~ed/mpsafetty/

My question is if there are people out there who could help me
implementing UTF-8 font rendering. I wouldn't have a clue where to
start (yet).

Yours,
--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--fCcDWlUEdh43YKr8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkk6oUwACgkQ52SDGA2eCwUWdgCeIww6rDWOB/CFmBiNPs+zL3PP
QL0AnRdWa/d+lMy5wxk4jpfsE3GiYY3o
=uMGu
-----END PGP SIGNATURE-----

--fCcDWlUEdh43YKr8--



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