дружественная программа последовательной связи (friendly serial communication program)
MISC
If minicom is hung, kill it with SIGTERM . (This means kill -15,
or since sigterm is default, just plain "kill <minicompid>". This
will cause a graceful exit of minicom, doing resets and
everything. You may kill minicom from a script with the command
"! killall -9 minicom" without hanging up the line. Without the
-9 parameter, minicom first hangs up before exiting.
Since a lot of escape sequences begin with ESC (Arrow up is ESC [
A), Minicom does not know if the escape character it gets is you
pressing the escape key, or part of a sequence.
An old version of Minicom, V1.2, solved this in a rather crude
way: to get the escape key, you had to press it twice.
As of release 1.3 this has bettered a little: now a 1-second
timeout is builtin, like in vi. For systems that have the
select() system call the timeout is 0.5 seconds. And... surprise:
a special Linux-dependent hack
:-) was added. Now, minicom can
separate the escape key and escape-sequences. To see how dirty
this was done, look into wkeys.c. But it works like a charm!