[PATCH] UTF-8 support for minicom

Adam Lackorzynski adam at os.inf.tu-dresden.de
Sun Jul 17 10:46:41 UTC 2005


Alioth got upgraded recently and now I got a moderator approval mail for
mails in the queue. Unbelievable! I didn't know of this work. :/


On Sun Jul 11, 2004 at 16:44:24 +0200, Miloslav Trmac wrote:
> Hello,
> The attached patches mainly add UTF-8 support for minicom. It is possible
> that they also break semigraphics in 8-bit locales, but I can't
> test that (there is apparently no BBS left in my area).

Cool.

> * minicom-ansi.patch:
>   Converts minicom source to better ISO C, mainly making sure that every
>   called function has a prototype in scope, and properly using <stdarg.h>.
>   Also adds the const qualifier where appropriate.

I did this work some time ago myself, so this somehow clashes.

> * minicom-tools.patch:
>   Updates minicom to newer autotools and gettext release; this is not strictly
>   necessary for the following patches (I hope), but I needed to do something
>   like this anyway in order to work on the other parts.
>   Note that most of the changes are gnerated files, real changes are only
>   to acconfig.h, acinclude.m4, configure.in, and all Makefile.am files.

I upgraded minicom to some newer version recently too...

> * minicom-czech0.patch:
>   An important bug fix to Czech translation.
> * minicom-i18n.patch:
>   The main part, conversion of the window code and the rest to properly
>   handle multibyte encodings.
>   Removes the pre-output character conversion ("IBM->ISO-8859-1"), it works
>   only for 8859-1 users and it can be done using the generic translation
>   tables anyway.
>   Fixes reading of configuration files written by minicom in UTF-8 locales
>   (the line buffer was too small)
>   Fixes a format string bug in the 'log' script command
>   Note that this patch doesn't add support for multibyte communication
>   over the serial line; the keyboard input code makes this difficult and
>   all I use minicom for is experimenting with commands for my cellular phone.
> * minicom-l10n.patch:
>   Fixes a few instances of strings that were not marked for translation well,
>   and adds an updated Czech translation.

Would you like to rediff your patches? If not (no time etc.) I'll try to
work through the patches later...



Thanks,
Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the minicom-devel mailing list