Linux/minicom

From Omnia
Jump to navigation Jump to search

minicom

Minicom home page (current version: 2.3)

"Minicom is a menu driven communications program. It emulates ANSI and VT102 terminals. It has a dialing directory and auto zmodem download."


Special keys:

CTRL-A Z

Installation:

# Redhat/CentOS
yum install minicom
# Debian/Ubuntu
apt install minicom

Configure minicom:

minicom -s
minicom -s -c on  # with color

Configure the following:

mode - /dev/ttyS0
speed - 9600

Start minicom:

minicom

With color:

minicom -s -c on

Default commands can be placed in $MINICOM:

# multi line
export MINICOM="-m -c on"
minicom
# one line
export MINICOM="-m -c on" minicom


Minicom keys:

   1. UP arrow-up or k
   2. DOWN arrow-down or j
   3. LEFT arrow-left or h
   4. RIGHT arrow-right or l
   5. CHOOSE (select menu) Enter
   6. CANCEL ESCape

Press CTRL-A Z for help on special keys

Default minicom config: /etc/minirc.dfl

# Machine-generated file - use "minicom -s" to change parameters.
pr port             /dev/ttyS0
pu baudrate         9600
pu bits             8
pu parity           N
pu stopbits         1

If you are running minicom inside of screen you can send a CTRL-A by pressing: [1]

[CTRL]+[a] [a]

References:

Issues

xmodem "Failure executing protocol"

Solution:

apt-get install lrzsz 

Gumstix - Transferring Files from the gumstix - http://gumstix.8.x6.nabble.com/Transferring-Files-from-the-gumstix-td640287.html