Hello Robert, and thanks for your comments.

RB> luit seems to lose characters if it's given more than 3-4k very quickly.

I think I've got it.  The terminal is put into non-blocking mode, but
writes to it are assumed never to fail (see copyOut).  I'll implement
proper output buffering, which will also make luit more efficient.

RB> I notice the CSI 11/12m stuff doesn't work: evil idea DONT try it :-)

Sorry, I don't have my reference handy.  Is that some SGR attribute?

RB> Are you going to do ISO646 national sets ?

Yes, if we can work out a set of XLFD names for them.  Anybody got
suggestions?

By the way, if you have a map from DEC Technical into Unicode, I'm
interested.  There's a semi-standard XLFD for that (-dec-dectech).

RB> Is there any reason you're using X as the build environment using
RB> it's charmaps and requiring it's installation rather than the (I
RB> thought) standard /usr/share/i18n/charmaps character maps?

Yes, portability and flexibility.  

The XFree86 font encoding libraries (the files included with luit with
`enc' in the name) don't assume anything about the environment, except
that it is ANSI C and that char is compatible with ASCII.

  In addition, adding support for a new encoding is a simple matter of
doing a commit in our CVS tree: I've already included DEC Special
Graphics; how long would it take us to have it included in all
supported platforms?

Note by the way that you don't need to install XFree86; you only need
its encoding files.  And hacking a makefile by hand for systems that
don't have Imake is a two-minute job:

  CFLAGS = -g -DFONTENC_NOT_IN_X -DSYSTEM_FONT_ENCODINGS_DIRECTORY=...
  # optionally -DBSD or -DSVR4, GNU libc systems don't need anything

  luit: luit.o iso2022.o ...

I have successfully built a slightly hacked version of luit for stock
Minix this way.  (I have needed to hack around the lack of select in
Minix -- Minix luit does busy-waiting.)

RB> It is linux so no-problem but I imagine there may be issues later
RB> with other unices.

I doubt it.  I have run luit on two BSD variants and Solaris.  One of
the BSDs already had XFree86 4, on the other systems I have needed to
install the encoding files.

Regards,

                                        Juliusz
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to