man minicom Command

Man page for apt-get minicom Command

Man Page for minicom in Linux

Ubuntu Man Command : man minicom

Man Minicom  Command

This tutorial shows the man page for man minicom in linux.

Open terminal with 'su' access and type the command as shown below:
man minicom

Result of the Command Execution shown below:

MINICOM(1)                                                                   Version 2.1                                                                  MINICOM(1)

minicom friendly serial communication program

minicom [ somMlwz8] [ c on|off] [ S script] [ d entry]
[ a on|off] [ t term] [ p pty] [ C capturefile] [configuration]

minicom is a communication program which somewhat resembles the shareware program TELIX but is free with source code and runs under most unices. Features
include dialing directory with auto redial, support for UUCP style lock files on serial devices, a separate script language interpreter, capture to file,
multiple users with individual configurations, and more.

s Setup. Root edits the system wide defaults in /etc/minicom/minirc.dfl with this option. When it is used, minicom does not initialize, but puts you
directly into the configuration menu. This is very handy if minicom refuses to start up because your system has changed, or for the first time you run
minicom. For most systems, reasonable defaults are already compiled in.

o Do not initialize. Minicom will skip the initialization code. This option is handy if you quitted from minicom without resetting, and then want to
restart a session. It is potentially dangerous though: no check for lock files etc. is made, so a normal user could interfere with things like uucp...
Maybe this will be taken out later. For now it is assumed, that users who are given access to a modem are responsible enough for their actions.

m Override command key with the Meta or ALT key. This is the default in 1.80 and it can also be configured in one of minicom's menus, but if you use dif Äê
ferent terminals all the time, of which some don't have a Meta or ALT key, it's handy to set the default command key to Ctrl A and use this option when
you have a keyboard supporting Meta or ALT keys. Minicom assumes that your Meta key sends the ESC prefix, not the other variant that sets the highest
bit of the character.

M Same as m, but assumes that your Meta key sets the 8th bit of the character high (sends 128 + character code).

z Use terminal status line. This only works on terminals that support it and that have the relevant information in their termcap or terminfo database

l Literal translation of characters with the high bit set. With this flag on, minicom will try to translate the IBM line characters to ASCII. Many PC unix
clones will display character correctly without translation (Linux in a special mode, Coherent and Sco).

L Ditto but assume screen uses an ISO8859 character set.

w Turns line wrap on at startup by default.

a Attribute usage. Some terminals, notably Televideo's, have rotten attribute handling (serial instead of parallel). By default, minicom uses ' a on', but
if you are using such a terminal you can (must!) supply the option ' a off'. The trailing 'on' or 'off' is needed.

t Terminal type. With this flag, you can override the environment TERM variable. This is handy for use in the MINICOM environment variable; one can cre Äê
ate a special termcap entry for use with minicom on the console, that initializes the screen to raw mode so that in conjunction with the l flag, the
IBM line characters are displayed untranslated.

c Color usage. Some terminals (such as the Linux console) support color with the standard ANSI escape sequences. Because there is apparently no termcap
support for color, these escape sequences are hard coded into minicom. Therefore this option is off by default. You can turn it on with ' c on'. This,
and the ' m' option, are good candidates to put into the MINICOM environment variable.

S script. Run the named script at startup. So far, passing username and password to a startup script is not supported. If you also use the d option to
start dialing at startup, the S script will be run BEFORE dialing the entries specified with d.

d Dial an entry from the dialing directory on startup. You can specify an index number, but also a substring of the name of the entry. If you specify a
name that has multiple entries in the directory, they are all tagged for dialing. You can also specify multiple names or index numbers by separating
them with commas. The dialing will start from the first entry specified after all other program initialization procedures are completed.

p Pseudo terminal to use. This overrides the terminal port defined in the configuration files, but only if it is a pseudo tty. The filename supplied must
be of the form (/dev/)tty[p z/][0 f], (/dev/)pts[p z/][0 f] or (/dev/)pty[p z/][0 f]. For example, /dev/ttyp1, pts/0 or /dev/ptyp2.

C filename. Open capture file at startup.

T Disable the display of the online time in the status bar.

b Specify the baud rate, overwriting the value given in the configuration file.

D Specify the device, overwriting the value given in the configuration file.

R Specify the character set of the remote system is using and convert it to the character set of the local side. Example might be 'latin1'.

7 7bit mode for terminals which aren't 8bit capable. 8bit is default if the environment is configured for this via LANG or LC_ALL, 7bit otherwise.

8 8bit characters pass through without any modification. 'Continuous' means no locate/attribute control sequences are inserted without real change of
locate/attribute. This mode is to display 8bit multi byte characters such as Japanese. Not needed in every language with 8bit characters. (For example
displaying Finnish text doesn't need this.)

When minicom starts, it first searches the MINICOM environment variable for command line arguments, which can be over ridden on the command line. Thus,
if you have done

MINICOM=' m c on'
export MINICOM
or the equivalent, and start minicom, minicom will assume that your terminal has a Meta or <ALT> key and that color is supported. If you then log in
from a terminal without color support, and you have set MINICOM in your startup (.profile or equivalent) file, and don't want to re set your environment
variable, you can type 'minicom c off' and run without color support for that session.

The configuration argument is more interesting. Normally, minicom gets its defaults from a file called "minirc.dfl". If you however give an argument to
minicom, it will try to get its defaults from a file called "minirc.configuration". So it is possible to create multiple configuration files, for dif Äê
ferent ports, different users etc. Most sensible is to use device names, such as tty1, tty64, sio2 etc. If a user creates his own configuration file, it
will show up in his home directory as '.minirc.dfl'.

Minicom is window based. To popup a window with the function you want, press Control A (from now on, we will use C A to mean Control A), and then the func Äê
tion key (a z or A Z). By pressing C A first and then 'z', a help screen comes up with a short summary of all commands. This escape key can be altered when
minicom is configured ( s option or C A O), but we'll stick to Control A for now.

For every menu the next keys can be used:
UP arrow up or 'k'
DOWN arrow down or 'j'
LEFT arrow left or 'h'
RIGHT arrow right or 'l'

The screen is divided into two portions: the upper 24 lines are the terminal emulator screen. In this window, ANSI or VT100 escape sequences are interpreted.
If there is a line left at the bottom, a status line is placed there. If this is not possible the status line will be showed every time you press C A. On
terminals that have a special status line that will be used if the termcap information is complete and the k flag has been given.

Possible commands are listed next, in alphabetical order.
C A Pressing C A a second time will just send a C A to the remote system. If you have changed your "escape character" to something other than C A, this
works analogously for that character.
A Toggle 'Add Linefeed' on/off. If it is on, a linefeed is added before every carriage return displayed on the screen.
B Gives you a scroll back buffer. You can scroll up with u, down with d, a page up with b, a page down with f, and if you have them the arrow and page
up/page down keys can also be used. You can search for text in the buffer with s (case sensitive) or S (case insensitive). N will find the next occur Äê
rence of the string. c will enter citation mode. A text cursor appears and you specify the start line by hitting Enter key. Then scroll back mode will
finish and the contents with prefix '>' will be sent.
C Clears the screen.
D Dial a number, or go to the dialing directory.
E Toggle local echo on and off (if your version of minicom supports it).
F A break signal is sent to the modem.
G Run script (Go). Runs a login script.
H Hangup.
I Toggle the type of escape sequence that the cursor keys send between normal and applications mode. (See also the comment about the status line below).
J Jump to a shell. On return, the whole screen will be redrawn.
K Clears the screen, runs kermit and redraws the screen upon return.
L Turn Capture file on off. If turned on, all output sent to the screen will be captured in the file too.
M Sends the modem initialization string. If you are online and the DCD line setting is on, you are asked for confirmation before the modem is initialized.
O Configure minicom. Puts you in the configuration menu.
P Communication Parameters. Allows you to change the bps rate, parity and number of bits.
Q Exit minicom without resetting the modem. If macros changed and were not saved, you will have a chance to do so.
R Receive files. Choose from various protocols (external). If you have the filename selection window and the prompt for download directory enabled, you'll
get a selection window for choosing the directory for downloading. Otherwise the download directory defined in the Filenames and paths menu will be
S Send files. Choose the protocol like you do with the receive command. If you don't have the filename selection window enabled (in the File transfer pro Äê
tocols menu), you'll just have to write the filename(s) in a dialog window. If you have the selection window enabled, a window will pop up showing the
filenames in your upload directory. You can tag and untag filenames by pressing spacebar, and move the cursor up and down with the cursor keys or j/k.
The selected filenames are shown highlighted. Directory names are shown [within brackets] and you can move up or down in the directory tree by pressing
the spacebar twice. Finally, send the files by pressing ENTER or quit by pressing ESC.
T Choose Terminal emulation: Ansi(color) or vt100. You can also change the backspace key here, turn the status line on or off, and define delay (in mil Äê
liseconds) after each newline if you need that.
W Toggle line wrap on/off.
X Exit minicom, reset modem. If macros changed and were not saved, you will have a chance to do so.
Y Paste a file. Reads a file and sends its contests just as if it would be typed in.
Z Pop up the help screen.

By pressing C A D the program puts you in the dialing directory. Select a command by pressing the capitalized letter or moving cursor right/left with the
arrow keys or the h/l keys and pressing Enter. You can add, delete or edit entries and move them up and down in the directory list. By choosing "dial" the
phone numbers of the tagged entries, or if nothing is tagged, the number of the highlighted entry will be dialed. While the modem is dialing, you can press
escape to cancel dialing. Any other key will close the dial window, but won't cancel the dialing itself. Your dialing directory will be saved into the file
".dialdir" in your home directory. You can scroll up and down with the arrow keys, but you can also scroll complete pages by pressing the PageUp or PageDown
key. If you don't have those, use Control B (Backward) and Control F (Forward). You can use the space bar to tag a number of entries and minicom will rotate
trough this list if a connection can't be made. A '>' symbol is drawn in the directory before the names of the tagged entries.

The "edit" menu speaks for itself, but I will discuss it briefly here.
A Name The name for this entry
B Number
and its telephone number.
C Dial string

Related Topics

Apt Get Commands