Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#659351: minicom: Minicom stops receiving in -R utf-8 mode

229 views
Skip to first unread message

Mike Crowe

unread,
Feb 10, 2012, 9:10:02 AM2/10/12
to
Package: minicom
Version: 2.4-3
Severity: normal

LANG=en_GB.utf8
Minicom parameters -m -c on -8 -R utf-8

If minicom receives an invalid UTF-8 sequence from the serial port it doesn't
display any more of the characters that have been sent.

For example (borrowing from bug 413934) if the byte sequence "f8 e2 82 ac c2 a3
0a" is received then no further serial output is displayed.

Steps to reproduce:

Connect via serial to another Linux box and enter something like this at the
shell:

printf "\xf8\xe2\x82\xac\xc2\xa3\nFoo bar baz"; ls -lR /

Notice that no more output is seen. Exiting from minicom and relaunching is
required to see further serial input.



-- System Information:
Debian Release: 6.0.4
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages minicom depends on:
ii libc6 2.11.3-2 Embedded GNU C Library: Shared lib
ii libncurses5 5.7+20100313-5 shared libraries for terminal hand

Versions of packages minicom recommends:
ii lrzsz 0.12.21-5 Tools for zmodem/xmodem/ymodem fil

minicom suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Adam Lackorzynski

unread,
Feb 11, 2012, 9:50:02 AM2/11/12
to
Hi,

On Fri Feb 10, 2012 at 13:01:20 +0000, Mike Crowe wrote:
> Package: minicom
> Version: 2.4-3
> Severity: normal
>
> LANG=en_GB.utf8
> Minicom parameters -m -c on -8 -R utf-8
>
> If minicom receives an invalid UTF-8 sequence from the serial port it doesn't
> display any more of the characters that have been sent.
>
> For example (borrowing from bug 413934) if the byte sequence "f8 e2 82 ac c2 a3
> 0a" is received then no further serial output is displayed.
>
> Steps to reproduce:
>
> Connect via serial to another Linux box and enter something like this at the
> shell:
>
> printf "\xf8\xe2\x82\xac\xc2\xa3\nFoo bar baz"; ls -lR /
>
> Notice that no more output is seen. Exiting from minicom and relaunching is
> required to see further serial input.

Thanks for the test case, confirmed and fixed upstream, and included in
new version 2.6.1.



Adam
--
Adam ad...@os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
0 new messages