[PATCH] UTF-8 support for minicom
Miloslav Trmac
mitr at volny.cz
Sun Jul 17 10:35:03 UTC 2005
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).
* 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.
* 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.
* 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.
Thanks,
Mirek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minicom-ansi.patch.gz
Type: application/x-gzip
Size: 20937 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20050717/5a2522f5/minicom-ansi.patch.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minicom-tools.patch.gz
Type: application/x-gzip
Size: 395629 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20050717/5a2522f5/minicom-tools.patch.bin
-------------- next part --------------
diff -urN minicom_last/po/cs.po minicom/po/cs.po
--- minicom_last/po/cs.po 2004-07-06 20:31:03.675304568 +0200
+++ minicom/po/cs.po 2004-07-06 21:12:14.853628360 +0200
@@ -591,7 +591,7 @@
#: src/config.c:1404
msgid " J: 230400 R: 7-E-1\n"
-msgstr " J: 115200 P: 8-N-1\n"
+msgstr " J: 230400 R: 7-E-1\n"
#: src/config.c:1406
msgid " R: 7-E-1\n"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minicom-i18n.patch.gz
Type: application/x-gzip
Size: 16742 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20050717/5a2522f5/minicom-i18n.patch.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minicom-l10n.patch.gz
Type: application/x-gzip
Size: 112982 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20050717/5a2522f5/minicom-l10n.patch.bin
More information about the minicom-devel
mailing list