[minicom-Bugs][315744] -R option with non-latin interface issue

minicom-bugs at alioth.debian.org minicom-bugs at alioth.debian.org
Thu Jun 1 12:58:06 UTC 2017


minicom-Bugs item #315744 was changed at 2017-06-01 17:58 by Anton Karmanov
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=100031&aid=315744&group_id=30018

Status: Open
Priority: 3
Submitted By: Anton Karmanov (bergentroll-guest)
Assigned to: Nobody (None)
Summary: -R option with non-latin interface issue 
Category: localization
Group: None
Resolution: None


Initial Comment:
I am using ru_RU.utf-8 locale.

minicom works fine until I am using "-R utf-8" option. The R key affects not only on a tty output but also on all minicom interface and I do not get cyrillic letters e.g. " 
" +: I18n" instead of "ПАРАМЕТРЫ: I18n".

I tried also run minicom with english interface and it looks proper. 

Tried on 2.7.1.

----------------------------------------------------------------------

Comment By: Anton Karmanov (bergentroll-guest)
Date: 2017-06-01 17:58

Message:
Yes, it is do the thing.
Now minicom seems well.

----------------------------------------------------------------------

Comment By: Matthias Wallnöfer (mwallnoefer-guest)
Date: 2017-06-01 01:16

Message:
This is weird. This assertion should fail indifferently with my patch applied or not (look at minicom.c line 1151 where test_mbswidth() gets directly called by main()).

How does minicom behave if you comment out line 1151 and recompile?


----------------------------------------------------------------------

Comment By: Anton Karmanov (bergentroll-guest)
Date: 2017-05-30 15:25

Message:
Sorry, I am not too familiar with mercurial.

I cloned hg repo and applied your patch with
$ hg patch attachment.diff

But after make I tried to execute minicom and get:
minicom: minicom.c:1032: test_mbswidth: Assertion `mbswidth(e[i].s) == e[i]._mbswidth' failed.

----------------------------------------------------------------------

Comment By: Matthias Wallnöfer (mwallnoefer-guest)
Date: 2017-05-30 11:31

Message:
Please try my patch on the mailing list: http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20170424/07157220/attachment.diff

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=100031&aid=315744&group_id=30018



More information about the minicom-devel mailing list