|
Packit |
15a96c |
.\" This file Copyright 1992,93 Michael K. Johnson (johnsonm@stolaf.edu)
|
|
Packit |
15a96c |
.\" Copyright 1995,1996 Miquel van Smoorenburg <miquels@cistron.nl>
|
|
Packit |
15a96c |
.\" Copyright 1997-2002 Jukka Lahtinen <walker@netsonic.fi>
|
|
Packit |
15a96c |
.\" It may be distributed under the GNU Public License, version 2, or
|
|
Packit |
15a96c |
.\" any higher version. See section COPYING of the GNU Public license
|
|
Packit |
15a96c |
.\" for conditions under which this file may be redistributed.
|
|
Packit |
15a96c |
.TH MINICOM 1 "Dec 2013" "User's Manual" "Version 2.7"
|
|
Packit |
15a96c |
.SH NAME
|
|
Packit |
15a96c |
minicom \- friendly serial communication program
|
|
Packit |
15a96c |
.SH SYNOPSIS
|
|
Packit |
15a96c |
.B minicom
|
|
Packit |
15a96c |
.RI "[options] [" configuration ]
|
|
Packit |
15a96c |
.SH DESCRIPTION
|
|
Packit |
15a96c |
.B minicom
|
|
Packit |
15a96c |
is a communication program which somewhat resembles the shareware
|
|
Packit |
15a96c |
program TELIX but is free with source code and runs under most Unices.
|
|
Packit |
15a96c |
Features include dialing directory with auto-redial, support for
|
|
Packit |
15a96c |
UUCP-style lock files on serial devices, a separate script language
|
|
Packit |
15a96c |
interpreter, capture to file, multiple users with individual
|
|
Packit |
15a96c |
configurations, and more.
|
|
Packit |
15a96c |
.SH COMMAND-LINE
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-s, --setup
|
|
Packit |
15a96c |
.BR S etup.
|
|
Packit |
15a96c |
Root edits the system-wide defaults in /etc/minirc.dfl with this option.
|
|
Packit |
15a96c |
When it is used, minicom does
|
|
Packit |
15a96c |
.I not
|
|
Packit |
15a96c |
initialize, but puts you directly into the
|
|
Packit |
15a96c |
configuration menu. This is very handy if minicom refuses to start up
|
|
Packit |
15a96c |
because your system has changed, or for the first time you run
|
|
Packit |
15a96c |
minicom. For most systems, reasonable defaults are already compiled in.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-o, --noinit
|
|
Packit |
15a96c |
Do not initialize. Minicom will skip the initialization code. This
|
|
Packit |
15a96c |
option is handy if you quit from minicom without resetting, and
|
|
Packit |
15a96c |
then want to restart a session. It is potentially dangerous though: no
|
|
Packit |
15a96c |
check for lock files etc. is made, so a normal user could interfere
|
|
Packit |
15a96c |
with things like UUCP... maybe this will be taken out later. For now
|
|
Packit |
15a96c |
it is assumed, that users who are given access to a modem are
|
|
Packit |
15a96c |
responsible enough for their actions.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-m, --metakey
|
|
Packit |
15a96c |
Override command-key with the Meta or ALT key. This is the default in 1.80
|
|
Packit |
15a96c |
and it can also be configured in one of minicom's menus, but if you use
|
|
Packit |
15a96c |
different terminals all the time, of which some don't have a Meta or ALT key,
|
|
Packit |
15a96c |
it's handy to set the default command key to Ctrl-A and use this option
|
|
Packit |
15a96c |
when you have a keyboard supporting Meta or ALT keys. Minicom
|
|
Packit |
15a96c |
assumes that your Meta key sends the ESC prefix, not the other variant
|
|
Packit |
15a96c |
that sets the highest bit of the character.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-M, --metakey8
|
|
Packit |
15a96c |
Same as \-m, but assumes that your Meta key sets the 8th bit of the
|
|
Packit |
15a96c |
character high (sends 128 + character code).
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-z, --statline
|
|
Packit |
15a96c |
Use terminal status line. This only works on terminals that support it
|
|
Packit |
15a96c |
and that have the relevant information in their \fItermcap\fP or
|
|
Packit |
15a96c |
\fIterminfo\fP database entry.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-l, --ansi
|
|
Packit |
15a96c |
.BR L iteral
|
|
Packit |
15a96c |
translation of characters with the high bit set. With this flag on,
|
|
Packit |
15a96c |
minicom will try to translate the IBM line characters to ASCII. Many PC-unix
|
|
Packit |
15a96c |
clones will display character correctly without translation (Linux in a
|
|
Packit |
15a96c |
special mode, Coherent and SCO).
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-L, --iso
|
|
Packit |
15a96c |
Ditto but assume screen uses an ISO8859 character set.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-w, --wrap
|
|
Packit |
15a96c |
Turns line-wrap on at startup by default.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-H, --displayhex
|
|
Packit |
15a96c |
Turn on output in hex mode.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-a, --attrib=on/off
|
|
Packit |
15a96c |
.BR A ttribute
|
|
Packit |
15a96c |
usage. Some terminals, notably Televideo's, have rotten attribute
|
|
Packit |
15a96c |
handling (serial instead of parallel). By default, minicom uses '\-a
|
|
Packit |
15a96c |
on', but if you are using such a terminal you can (must!) supply the
|
|
Packit |
15a96c |
option '\-a off'. The trailing 'on' or 'off' is needed.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-t, --term=TERM
|
|
Packit |
15a96c |
.BR T erminal
|
|
Packit |
15a96c |
type. With this flag, you can override the environment TERM variable.
|
|
Packit |
15a96c |
This is handy for use in the MINICOM environment variable; one can create
|
|
Packit |
15a96c |
a special termcap entry for use with minicom on the console, that
|
|
Packit |
15a96c |
initializes the screen to raw mode so that in conjunction with the \-l
|
|
Packit |
15a96c |
flag, the IBM line characters are displayed untranslated.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-c, --color=on/off
|
|
Packit |
15a96c |
.BR C olor
|
|
Packit |
15a96c |
usage. Some terminals (such as the Linux console) support color with
|
|
Packit |
15a96c |
the standard ANSI escape sequences. Because there is apparently no
|
|
Packit |
15a96c |
termcap support for color, these escape sequences are hard-coded into
|
|
Packit |
15a96c |
minicom. Therefore this option is off by default. You can turn it on
|
|
Packit |
15a96c |
with '\-c on'. This, and the '\-m' option, are good candidates to put
|
|
Packit |
15a96c |
into the MINICOM environment variable.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-S, --script=SCRIPT
|
|
Packit |
15a96c |
.BR script .
|
|
Packit |
15a96c |
Run the named script at startup. So far, passing username and password
|
|
Packit |
15a96c |
to a startup script is not supported. If you also use the \-d option to
|
|
Packit |
15a96c |
start dialing at startup, the \-S script will be run BEFORE dialing the
|
|
Packit |
15a96c |
entries specified with \-d.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-d, --dial=ENTRY
|
|
Packit |
15a96c |
.BR D ial
|
|
Packit |
15a96c |
an entry from the dialing directory on startup. You can specify an
|
|
Packit |
15a96c |
index number, but also a substring of the name of the entry. If you
|
|
Packit |
15a96c |
specify a name that has multiple entries in the directory, they are all
|
|
Packit |
15a96c |
tagged for dialing. You can also specify multiple names or index numbers
|
|
Packit |
15a96c |
by separating them with commas. The dialing will start from the first
|
|
Packit |
15a96c |
entry specified after all other program initialization procedures are
|
|
Packit |
15a96c |
completed.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-p, --ptty=TTYP
|
|
Packit |
15a96c |
.BR P seudo
|
|
Packit |
15a96c |
terminal
|
|
Packit |
15a96c |
to use. This overrides the terminal port defined in the configuration
|
|
Packit |
15a96c |
files, but only if it is a pseudo TTY. The filename supplied must be of
|
|
Packit |
15a96c |
the form (/dev/)tty[p-z/][0-f], (/dev/)pts[p-z/][0-f] or
|
|
Packit |
15a96c |
(/dev/)pty[p-z/][0-f]. For example, /dev/ttyp1, pts/0 or /dev/ptyp2.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-C, --capturefile=FILE
|
|
Packit |
15a96c |
.BR filename .
|
|
Packit |
15a96c |
Open capture file at startup.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-F, --statlinefmt
|
|
Packit |
15a96c |
Format for the status line. The following format specifier are available:
|
|
Packit |
15a96c |
%H Escape key for help screen.
|
|
Packit |
15a96c |
%V Version string of minicom.
|
|
Packit |
15a96c |
%b Information on connection, such as baud rate.
|
|
Packit |
15a96c |
%T Terminal type.
|
|
Packit |
15a96c |
%C Cursor mode.
|
|
Packit |
15a96c |
%D Device path, possibly shorted to remaining available space.
|
|
Packit |
15a96c |
%t Online time.
|
|
Packit |
15a96c |
%% % character.
|
|
Packit |
15a96c |
|
|
Packit |
15a96c |
Example: "%H for help | %b | Minicom %V | %T | %C | %t"
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-b, --baudrate
|
|
Packit |
15a96c |
Specify the baud rate, overriding the value given in the configuration
|
|
Packit |
15a96c |
file.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-D, --device
|
|
Packit |
15a96c |
Specify the device, overriding the value given in the configuration file.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-R, --remotecharset
|
|
Packit |
15a96c |
Specify the character set of the remote system is using and convert it to
|
|
Packit |
15a96c |
the character set of the local side. Example might be 'latin1'.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-7, --7bit
|
|
Packit |
15a96c |
7bit mode for terminals which aren't 8bit capable. 8bit is default if the
|
|
Packit |
15a96c |
environment is configured for this via LANG or LC_ALL, 7bit otherwise.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-8, --8bit
|
|
Packit |
15a96c |
8bit characters pass through without any modification. 'Continuous'
|
|
Packit |
15a96c |
means no locate/attribute control sequences are inserted without
|
|
Packit |
15a96c |
real change of locate/attribute. This mode is to display 8bit
|
|
Packit |
15a96c |
multi-byte characters such as Japanese. Not needed in every language with
|
|
Packit |
15a96c |
8bit characters. (For example displaying Finnish text doesn't need this.)
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-h, --help
|
|
Packit |
15a96c |
Display help and exit.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B \-v, --version
|
|
Packit |
15a96c |
Print the minicom version.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.RS 0.5i
|
|
Packit |
15a96c |
When
|
|
Packit |
15a96c |
.B minicom
|
|
Packit |
15a96c |
starts, it first searches the MINICOM environment variable for
|
|
Packit |
15a96c |
command-line arguments, which can be over-ridden on the command line.
|
|
Packit |
15a96c |
Thus, if you have done
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.RS 0.5i
|
|
Packit |
15a96c |
.PD 0
|
|
Packit |
15a96c |
MINICOM=\[aq]\-m \-c on\[aq]
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
export MINICOM
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.RE
|
|
Packit |
15a96c |
or the equivalent, and start minicom, minicom will assume that your
|
|
Packit |
15a96c |
terminal
|
|
Packit |
15a96c |
.I has
|
|
Packit |
15a96c |
a Meta or <ALT> key and that color is supported. If you then log in
|
|
Packit |
15a96c |
from a terminal without color support, and you have set MINICOM in your
|
|
Packit |
15a96c |
startup (.profile or equivalent) file, and don't want to re-set your
|
|
Packit |
15a96c |
environment variable, you can type 'minicom \-c off' and run without
|
|
Packit |
15a96c |
color support for that session.
|
|
Packit |
15a96c |
.RE
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B configuration
|
|
Packit |
15a96c |
The
|
|
Packit |
15a96c |
.I configuration
|
|
Packit |
15a96c |
argument is more interesting. Normally, minicom gets its defaults from
|
|
Packit |
15a96c |
a file called "minirc.dfl". If you however give an argument to
|
|
Packit |
15a96c |
minicom, it will try to get its defaults from a file called
|
|
Packit |
15a96c |
"minirc.\fIconfiguration\fR\|". So it is possible to create multiple
|
|
Packit |
15a96c |
configuration files, for different ports, different users etc. Most
|
|
Packit |
15a96c |
sensible is to use device names, such as tty1, tty64, sio2 etc. If a
|
|
Packit |
15a96c |
user creates his own configuration file, it will show up in his home
|
|
Packit |
15a96c |
directory as ".minirc.dfl" or ".minirc.\fIconfiguration\fR\|".
|
|
Packit |
15a96c |
.SH USE
|
|
Packit |
15a96c |
Minicom is window based. To pop-up a window with the function you
|
|
Packit |
15a96c |
want, press Control-A (from now on, we will use C-A to mean
|
|
Packit |
15a96c |
Control-A), and then the function key (a-z or A-Z). By pressing C-A
|
|
Packit |
15a96c |
first and then 'z', a help screen comes up with a short summary of all
|
|
Packit |
15a96c |
commands. This escape key can be altered when minicom is configured
|
|
Packit |
15a96c |
(\-s option or C-A O), but we'll stick to Control-A for now.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.PD 0
|
|
Packit |
15a96c |
For every menu the next keys can be used:
|
|
Packit |
15a96c |
.TP 0.75i
|
|
Packit |
15a96c |
.B UP
|
|
Packit |
15a96c |
arrow-up or 'k'
|
|
Packit |
15a96c |
.TP 0.75i
|
|
Packit |
15a96c |
.B DOWN
|
|
Packit |
15a96c |
arrow-down or 'j'
|
|
Packit |
15a96c |
.TP 0.75i
|
|
Packit |
15a96c |
.B LEFT
|
|
Packit |
15a96c |
arrow-left or 'h'
|
|
Packit |
15a96c |
.TP 0.75i
|
|
Packit |
15a96c |
.B RIGHT
|
|
Packit |
15a96c |
arrow-right or 'l'
|
|
Packit |
15a96c |
.TP 0.75i
|
|
Packit |
15a96c |
.B CHOOSE
|
|
Packit |
15a96c |
Enter
|
|
Packit |
15a96c |
.TP 0.75i
|
|
Packit |
15a96c |
.B CANCEL
|
|
Packit |
15a96c |
ESCape.
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
The screen is divided into two portions: the upper 24 lines are the
|
|
Packit |
15a96c |
terminal-emulator screen. In this window, ANSI or VT100 escape
|
|
Packit |
15a96c |
sequences are interpreted. If there is a line left at the
|
|
Packit |
15a96c |
bottom, a status line is placed there. If this is not possible the
|
|
Packit |
15a96c |
status line will be showed every time you press C-A. On terminals
|
|
Packit |
15a96c |
that have a special status line that will be used if the termcap
|
|
Packit |
15a96c |
information is complete \fIand\fP the \fB\-k\fP flag has been given.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.PD 0
|
|
Packit |
15a96c |
Possible commands are listed next, in alphabetical order.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B C-A
|
|
Packit |
15a96c |
Pressing C-A a second time will just send a C-A to the remote system.
|
|
Packit |
15a96c |
If you have changed your "escape character" to something other than
|
|
Packit |
15a96c |
C-A, this works analogously for that character.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B A
|
|
Packit |
15a96c |
Toggle 'Add Linefeed' on/off. If it is on, a linefeed is added before
|
|
Packit |
15a96c |
every carriage return displayed on the screen.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B B
|
|
Packit |
15a96c |
Gives you a scroll back buffer. You can scroll up with \fBu\fP, down with
|
|
Packit |
15a96c |
\fBd\fP, a page up with \fBb\fP, a page down with \fBf\fP, and if you have them
|
|
Packit |
15a96c |
the \fBarrow\fP and \fBpage up/page down\fP keys can also be used. You can
|
|
Packit |
15a96c |
search for text in the buffer with \fBs\fP (case-sensitive) or \fBS\fP
|
|
Packit |
15a96c |
(case-insensitive). \fBN\fP will find the next occurrence of the string.
|
|
Packit |
15a96c |
\fBc\fP will enter citation mode. A text cursor appears and you
|
|
Packit |
15a96c |
specify the start line by hitting Enter key. Then scroll back mode will
|
|
Packit |
15a96c |
finish and the contents with prefix '>' will be sent.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B C
|
|
Packit |
15a96c |
Clears the screen.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B D
|
|
Packit |
15a96c |
Dial a number, or go to the dialing directory.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B E
|
|
Packit |
15a96c |
Toggle local echo on and off (if your version of minicom supports it).
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B F
|
|
Packit |
15a96c |
A break signal is sent to the modem.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B G
|
|
Packit |
15a96c |
Run script (Go). Runs a login script.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B H
|
|
Packit |
15a96c |
Hangup.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B I
|
|
Packit |
15a96c |
Toggle the type of escape sequence that the cursor keys send between
|
|
Packit |
15a96c |
normal and applications mode. (See also the comment about the status
|
|
Packit |
15a96c |
line below).
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B J
|
|
Packit |
15a96c |
Jump to a shell. On return, the whole screen will be redrawn.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B K
|
|
Packit |
15a96c |
Clears the screen, runs kermit and redraws the screen upon return.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B L
|
|
Packit |
15a96c |
Turn Capture file on off. If turned on, all output sent to the screen
|
|
Packit |
15a96c |
will be captured in the file too.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B M
|
|
Packit |
15a96c |
Sends the modem initialization string. If you are online and the DCD line
|
|
Packit |
15a96c |
setting is on, you are asked for confirmation before the modem is
|
|
Packit |
15a96c |
initialized.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B N
|
|
Packit |
15a96c |
Toggle between three states, whether each line is prefixed with current date
|
|
Packit |
15a96c |
and time, a timestamp is added every second, or no timestamps.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B O
|
|
Packit |
15a96c |
Configure minicom. Puts you in the configuration menu.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B P
|
|
Packit |
15a96c |
Communication Parameters. Allows you to change the bps rate, parity and
|
|
Packit |
15a96c |
number of bits.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B Q
|
|
Packit |
15a96c |
Exit minicom without resetting the modem. If macros changed and were not
|
|
Packit |
15a96c |
saved, you will have a chance to do so.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B R
|
|
Packit |
15a96c |
Receive files. Choose from various protocols (external). If you have the
|
|
Packit |
15a96c |
filename selection window and the prompt for download directory enabled,
|
|
Packit |
15a96c |
you'll get a selection window for choosing the directory for
|
|
Packit |
15a96c |
downloading. Otherwise the download directory defined in the Filenames and
|
|
Packit |
15a96c |
paths menu will be used.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B S
|
|
Packit |
15a96c |
Send files. Choose the protocol like you do with the receive command. If
|
|
Packit |
15a96c |
you don't have the filename selection window enabled (in the File transfer
|
|
Packit |
15a96c |
protocols menu), you'll just have to write the filename(s) in a dialog
|
|
Packit |
15a96c |
window. If you have the selection window enabled, a window will pop up
|
|
Packit |
15a96c |
showing the filenames in your upload directory. You can tag and untag
|
|
Packit |
15a96c |
filenames by pressing spacebar, and move the cursor up and down with the
|
|
Packit |
15a96c |
cursor keys or j/k. The selected filenames are shown highlighted. Directory
|
|
Packit |
15a96c |
names are shown [within brackets] and you can move up or down in the
|
|
Packit |
15a96c |
directory tree by pressing the spacebar twice. Finally, send the files by
|
|
Packit |
15a96c |
pressing ENTER or quit by pressing ESC.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B T
|
|
Packit |
15a96c |
Choose Terminal emulation: Ansi(color) or vt100.
|
|
Packit |
15a96c |
You can also change the backspace key here, turn the status line on or off,
|
|
Packit |
15a96c |
and define delay (in milliseconds) after each newline if you need that.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B W
|
|
Packit |
15a96c |
Toggle line-wrap on/off.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B X
|
|
Packit |
15a96c |
Exit minicom, reset modem. If macros changed and were not saved, you will
|
|
Packit |
15a96c |
have a chance to do so.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B Y
|
|
Packit |
15a96c |
Paste a file. Reads a file and sends its contests just as if it would be
|
|
Packit |
15a96c |
typed in.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B Z
|
|
Packit |
15a96c |
Pop up the help screen.
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.SH "DIALING DIRECTORY"
|
|
Packit |
15a96c |
By pressing C-A D the program puts you in the dialing directory. Select a
|
|
Packit |
15a96c |
command by pressing the capitalized letter or moving cursor right/left with
|
|
Packit |
15a96c |
the arrow keys or the h/l keys and pressing Enter. You can add, delete or
|
|
Packit |
15a96c |
edit entries and move them up and down in the directory list. By choosing
|
|
Packit |
15a96c |
"dial" the phone numbers of the tagged entries, or if nothing is tagged,
|
|
Packit |
15a96c |
the number of the highlighted entry will be dialed. While the modem is
|
|
Packit |
15a96c |
dialing, you can press escape to cancel dialing. Any other key will close
|
|
Packit |
15a96c |
the dial window, but won't cancel the dialing itself. Your dialing
|
|
Packit |
15a96c |
directory will be saved into the file ".dialdir" in your home directory.
|
|
Packit |
15a96c |
You can scroll up and down with the arrow keys, but you can also scroll
|
|
Packit |
15a96c |
complete pages by pressing the PageUp or PageDown key. If you don't have
|
|
Packit |
15a96c |
those, use Control-B (Backward) and Control-F (Forward). You can use the
|
|
Packit |
15a96c |
space bar to \fBtag\fP a number of entries and minicom will rotate trough
|
|
Packit |
15a96c |
this list if a connection can't be made. A '>' symbol is drawn in the
|
|
Packit |
15a96c |
directory before the names of the tagged entries.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
The "edit" menu speaks for itself, but I will discuss it briefly here.
|
|
Packit |
15a96c |
.PD 0
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B A - Name
|
|
Packit |
15a96c |
The name for this entry
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B B - Number
|
|
Packit |
15a96c |
and its telephone number.
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B C - Dial string #
|
|
Packit |
15a96c |
Which specific dial string you want to use to connect. There are three
|
|
Packit |
15a96c |
different dial strings (prefixes and suffixes) that can be configured
|
|
Packit |
15a96c |
in the \fBModem and dialing\fP menu.
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B D - Local echo
|
|
Packit |
15a96c |
can be on or off for this system (if your version of minicom supports it).
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B E - Script
|
|
Packit |
15a96c |
The script that must be executed after a successful connection is made
|
|
Packit |
15a96c |
(see the manual for runscript)
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B F - Username
|
|
Packit |
15a96c |
The username that is passed to the runscript program. It
|
|
Packit |
15a96c |
is passed in the environment string "$LOGIN".
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B G - Password
|
|
Packit |
15a96c |
The password is passed as "$PASS".
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B H - Terminal Emulation
|
|
Packit |
15a96c |
Use ANSI or VT100 emulation.
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B I - Backspace key sends
|
|
Packit |
15a96c |
What code (Backspace or Delete) the backspace key sends.
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B J - Linewrap
|
|
Packit |
15a96c |
Can be on or off.
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B K - Line settings
|
|
Packit |
15a96c |
Bps rate, bits, parity and number of stop bits to use for this connection.
|
|
Packit |
15a96c |
You can choose \fBcurrent\fP for the speed, so that it will use whatever
|
|
Packit |
15a96c |
speed is being used at that moment (useful if you have multiple modems).
|
|
Packit |
15a96c |
.TP 1.0i
|
|
Packit |
15a96c |
.B L - Conversion table
|
|
Packit |
15a96c |
You may specify a character conversion table to be loaded whenever this
|
|
Packit |
15a96c |
entry answers, before running the login script. If this field is blank,
|
|
Packit |
15a96c |
the conversion table stays unchanged.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
The edit menu also shows the latest date and time when you called this
|
|
Packit |
15a96c |
entry and the total number of calls there, but doesn't let you change them.
|
|
Packit |
15a96c |
They are updated automatically when you connect.
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
The moVe command lets you move the highlighted entry up or down in the
|
|
Packit |
15a96c |
dialing directory with the up/down arrow keys or the k and j keys. Press
|
|
Packit |
15a96c |
Enter or ESC to end moving the entry.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.SH CONFIGURATION
|
|
Packit |
15a96c |
By pressing C-A O you will be thrown into the setup menu.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.PD 0
|
|
Packit |
15a96c |
.B "Filenames and paths"
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.RS 0.25i
|
|
Packit |
15a96c |
This menu defines your default directories.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B A - Download directory
|
|
Packit |
15a96c |
where the downloaded files go to.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B B - Upload directory
|
|
Packit |
15a96c |
where the uploaded files are read from.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B C - Script directory
|
|
Packit |
15a96c |
Where you keep your login scripts.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B D - Script program
|
|
Packit |
15a96c |
Which program to use as the script interpreter. Defaults to the
|
|
Packit |
15a96c |
program "runscript", but if you want to use something else (eg,
|
|
Packit |
15a96c |
/bin/sh or "expect") it is possible. Stdin and stdout are connected
|
|
Packit |
15a96c |
to the modem, stderr to the screen.
|
|
Packit |
15a96c |
.RS 0.5i
|
|
Packit |
15a96c |
If the path is relative (ie, does not start with a slash) then it's
|
|
Packit |
15a96c |
relative to your home directory, except for the script interpreter.
|
|
Packit |
15a96c |
.RE
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B E - Kermit program
|
|
Packit |
15a96c |
Where to find the executable for kermit, and it's options. Some simple
|
|
Packit |
15a96c |
macro's can be used on the command line: '%l' is expanded to the
|
|
Packit |
15a96c |
complete filename of the dial out-device, '%f' is expanded to the serial
|
|
Packit |
15a96c |
port file descriptor and '%b' is expanded to the current serial port speed.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B F - Logging options
|
|
Packit |
15a96c |
Options to configure the logfile writing.
|
|
Packit |
15a96c |
.RS 0.5i
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B A - File name
|
|
Packit |
15a96c |
Here you can enter the name of the logfile. The file will be written in
|
|
Packit |
15a96c |
your home directory, and the default value is "minicom.log".
|
|
Packit |
15a96c |
If you blank the name, all logging is turned off.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B B - Log connects and hangups
|
|
Packit |
15a96c |
This option defines whether or not the logfile is written when the remote
|
|
Packit |
15a96c |
end answers the call or hangs up. Or when you give the hangup command
|
|
Packit |
15a96c |
yourself or leave minicom without hangup while online.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B C - Log file transfers
|
|
Packit |
15a96c |
Do you want log entries of receiving and sending files.
|
|
Packit |
15a96c |
.RE
|
|
Packit |
15a96c |
The 'log' command in the scripts is not affected by logging options B and C.
|
|
Packit |
15a96c |
It is always executed, if you just have the name of the log file defined.
|
|
Packit |
15a96c |
.RE
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.B "File Transfer Protocols"
|
|
Packit |
15a96c |
.PD 0
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.RS 0.25i
|
|
Packit |
15a96c |
Protocols defined here will show up when C-A s/r is pressed. "Name" in the
|
|
Packit |
15a96c |
beginning of the line is the name that will show up in the menu. "Program"
|
|
Packit |
15a96c |
is the path to the protocol. "Name" after that defines if the program needs
|
|
Packit |
15a96c |
an argument, e.g. a file to be transmitted. U/D defines if this entry should
|
|
Packit |
15a96c |
show up in the upload or the download menu. Fullscr defines if the program
|
|
Packit |
15a96c |
should run full screen, or that minicom will only show it's stderr in a
|
|
Packit |
15a96c |
window. IO-Red defines if minicom should attach the program's standard in
|
|
Packit |
15a96c |
and output to the modem port or not. "Multi" tells the filename selection
|
|
Packit |
15a96c |
window whether or not the protocol can send multiple files with one
|
|
Packit |
15a96c |
command. It has no effect on download protocols, and it is also ignored
|
|
Packit |
15a96c |
with upload protocols if you don't use the filename selection window. The
|
|
Packit |
15a96c |
old sz and rz are not full screen, and have IO-Red set. However, there are
|
|
Packit |
15a96c |
curses based versions of at least rz that do not want their stdin and
|
|
Packit |
15a96c |
stdout redirected, and run full screen. All file transfer protocols are
|
|
Packit |
15a96c |
run with the UID of the user, and not with UID=root. '%l', '%f' and '%b'
|
|
Packit |
15a96c |
can be used on the command line as with kermit. Within this menu you can
|
|
Packit |
15a96c |
also define if you want to use the filename selection window when prompted
|
|
Packit |
15a96c |
for files to upload, and if you like to be prompted for the download
|
|
Packit |
15a96c |
directory every time the automatic download is started. If you leave the
|
|
Packit |
15a96c |
download directory prompt disabled, the download directory defined in the
|
|
Packit |
15a96c |
file and directory menu is used.
|
|
Packit |
15a96c |
.RE
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.B "Serial port setup"
|
|
Packit |
15a96c |
.RS 0.25i
|
|
Packit |
15a96c |
.PD 0
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B A - Serial device
|
|
Packit |
15a96c |
/dev/tty1 or /dev/ttyS1 for most people.
|
|
Packit |
15a96c |
/dev/cua<n> is still possible under GNU/Linux, but no longer recommended
|
|
Packit |
15a96c |
as these devices are obsolete and many systems
|
|
Packit |
15a96c |
with kernel 2.2.x or newer don't have them.
|
|
Packit |
15a96c |
Use /dev/ttyS<n> instead.
|
|
Packit |
15a96c |
You may also have /dev/modem as a symlink to the real device.
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
If you have modems connected to two or more serial ports, you may specify
|
|
Packit |
15a96c |
all of them here in a list separated by space, comma or semicolon. When
|
|
Packit |
15a96c |
Minicom starts, it checks the list until it finds an available modem and
|
|
Packit |
15a96c |
uses that one. (However, you can't specify different init strings to
|
|
Packit |
15a96c |
them... at least not yet.)
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
To use a UNIX socket for communication the device name must be prefixed
|
|
Packit |
15a96c |
with "unix#" following by the full path and the filename of the socket.
|
|
Packit |
15a96c |
Minicom will then try to connect to this socket as a client. As long as it
|
|
Packit |
15a96c |
cannot connect to the socket it stays 'offline'. As soon as the connection
|
|
Packit |
15a96c |
establishes, minicom goes 'online'. If the server closes the socket, minicom
|
|
Packit |
15a96c |
switches to 'offline' again.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B B - Lock file location
|
|
Packit |
15a96c |
On most systems This should be /usr/spool/uucp. GNU/Linux systems use
|
|
Packit |
15a96c |
/var/lock. If this directory does not exist,
|
|
Packit |
15a96c |
minicom will not attempt to use lockfiles.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B C - Callin program
|
|
Packit |
15a96c |
If you have a uugetty or something on your serial port, it could be
|
|
Packit |
15a96c |
that you want a program to be run to switch the modem cq. port into
|
|
Packit |
15a96c |
dialin/dialout mode. This is the program to get into dialin mode.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B D - Callout program
|
|
Packit |
15a96c |
And this to get into dialout mode.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B E - Bps/Par/Bits
|
|
Packit |
15a96c |
Default parameters at startup.
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
If one of the entries is left blank, it will not be used. So if you
|
|
Packit |
15a96c |
don't care about locking, and don't have a getty running on your
|
|
Packit |
15a96c |
modemline, entries B - D should be left blank.
|
|
Packit |
15a96c |
.RE
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.B "Modem and Dialing"
|
|
Packit |
15a96c |
.PD 0
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.RS 0.25i
|
|
Packit |
15a96c |
Here, the parameters for your modem are defined. I will not explain
|
|
Packit |
15a96c |
this further because the defaults are for generic Hayes modems, and
|
|
Packit |
15a96c |
should work always. This file is not a Hayes tutorial :-) The only
|
|
Packit |
15a96c |
things worth noticing are that control characters can be sent by
|
|
Packit |
15a96c |
prefixing them with a '^', in which '^^' means '^' itself, and the '\\'
|
|
Packit |
15a96c |
character must also be doubled as '\\\\', because backslash is used
|
|
Packit |
15a96c |
specially in the macro definitions. Some options however, don't have
|
|
Packit |
15a96c |
much to do with the modem but more with the behaviour of minicom itself:
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B M - Dial time
|
|
Packit |
15a96c |
The number of seconds before minicom times out if no connection is
|
|
Packit |
15a96c |
established.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B N - Delay before redial
|
|
Packit |
15a96c |
Minicom will redial if no connection was made, but it first waits some
|
|
Packit |
15a96c |
time.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B O - Number of tries
|
|
Packit |
15a96c |
Maximum number of times that minicom attempts to dial.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B P - Drop DTR time
|
|
Packit |
15a96c |
If you set this to 0, minicom hangs up by sending a Hayes-type hangup
|
|
Packit |
15a96c |
sequence. If you specify a non-zero value, the hangup will be done by
|
|
Packit |
15a96c |
dropping the DTR line. The value tells in seconds how long DTR will be
|
|
Packit |
15a96c |
kept down.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B Q - Auto bps detect
|
|
Packit |
15a96c |
If this is on, minicom tries to match the dialed party's speed.
|
|
Packit |
15a96c |
With most modern modems this is NOT desirable, since the modem buffers
|
|
Packit |
15a96c |
the data and converts the speed.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B R - Modem has DCD line
|
|
Packit |
15a96c |
If your modem, and your O/S both support the DCD line (that goes 'high'
|
|
Packit |
15a96c |
when a connection is made) minicom will use it. When you have this option
|
|
Packit |
15a96c |
on, minicom will also NOT start dialing while you are already online.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B S - Status line shows DTE speed / line speed
|
|
Packit |
15a96c |
You can toggle the status line to show either the DTE speed (the speed
|
|
Packit |
15a96c |
which minicom uses to communicate with your modem) or the line speed
|
|
Packit |
15a96c |
(the speed that your modem uses on the line to communicate with the
|
|
Packit |
15a96c |
other modem). Notice that the line speed may change during the connection,
|
|
Packit |
15a96c |
but you will still only see the initial speed that the modems started
|
|
Packit |
15a96c |
the connection with. This is because the modem doesn't tell the program
|
|
Packit |
15a96c |
if the speed is changed. Also, to see the line speed, you need to have
|
|
Packit |
15a96c |
the modem set to show it in the connect string.
|
|
Packit |
15a96c |
Otherwise you will only see 0 as the line speed.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B T - Multi-line untag
|
|
Packit |
15a96c |
You can toggle the feature to untag entries from the dialing directory when
|
|
Packit |
15a96c |
a connection is established to a multi-line BBS. All the tagged entries that
|
|
Packit |
15a96c |
have the same name are untagged.
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.RE
|
|
Packit |
15a96c |
.RS 0.5i
|
|
Packit |
15a96c |
.B Note that a special exception is made for this menu: every user
|
|
Packit |
15a96c |
.B can change all parameters here, but some of them will not be saved.
|
|
Packit |
15a96c |
.RE
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
.B "Screen and keyboard"
|
|
Packit |
15a96c |
.RS 0.25i
|
|
Packit |
15a96c |
.PD 0
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B A - Command key is
|
|
Packit |
15a96c |
the 'Hot Key' that brings you into command mode. If this is set
|
|
Packit |
15a96c |
to 'ALT' or 'meta key', you can directly call commands
|
|
Packit |
15a96c |
by alt-key instead of HotKey-key.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B B - Backspace key sends
|
|
Packit |
15a96c |
There still are some systems that want a VT100 to send DEL instead of
|
|
Packit |
15a96c |
BS. With this option you can enable that stupidity. (Eh, it's even on
|
|
Packit |
15a96c |
by default...)
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B C - Status line is
|
|
Packit |
15a96c |
Enabled or disabled. Some slow terminals (for example, X-terminals)
|
|
Packit |
15a96c |
cause the status line to jump "up and down" when scrolling, so you can
|
|
Packit |
15a96c |
turn it off if desired. It will still be shown in command-mode.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B D - Alarm sound
|
|
Packit |
15a96c |
If turned on, minicom will sound an alarm (on the console only) after
|
|
Packit |
15a96c |
a successful connection and when up/downloading is complete.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B E - Foreground Color (menu)
|
|
Packit |
15a96c |
indicates
|
|
Packit |
15a96c |
the foreground color to use for all the configuration windows in minicom.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B F - Background Color (menu)
|
|
Packit |
15a96c |
indicates the background color to use for
|
|
Packit |
15a96c |
all the configuration windows in minicom. Note that minicom will not allow
|
|
Packit |
15a96c |
you to set foreground and background colors to the same value.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B G - Foreground Color (term)
|
|
Packit |
15a96c |
indicates the foreground color to use in the terminal window.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B H - Background Color (term)
|
|
Packit |
15a96c |
indicates the background color to use in
|
|
Packit |
15a96c |
the terminal window. Note that minicom will not allow you to set foreground
|
|
Packit |
15a96c |
and background colors to the same value.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B I - Foreground Color (stat)
|
|
Packit |
15a96c |
indicates the foreground color to use in for the status bar.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B J - Background Color (stat)
|
|
Packit |
15a96c |
indicates the color to use in for the
|
|
Packit |
15a96c |
status bar. Note that minicom will allow you to set the status bar's
|
|
Packit |
15a96c |
foreground and background colors to the same value. This will effectively
|
|
Packit |
15a96c |
make the status bar invisible but if these are your intentions, please
|
|
Packit |
15a96c |
see the option
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B K - History buffer size
|
|
Packit |
15a96c |
The number of lines to keep in the history buffer (for backscrolling).
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B L - Macros file
|
|
Packit |
15a96c |
is the full path to the file that holds
|
|
Packit |
15a96c |
macros. Macros allow you to define a string to be sent when you press
|
|
Packit |
15a96c |
a certain key. In minicom, you may define F1 through F10 to send
|
|
Packit |
15a96c |
up to 256 characters [this is set at compile time]. The filename you
|
|
Packit |
15a96c |
specify is verified as soon as you hit ENTER. If you do not have permissions
|
|
Packit |
15a96c |
to create the specified file, an error message will so indicate and you
|
|
Packit |
15a96c |
will be forced to re-edit the filename. If you are permitted to create
|
|
Packit |
15a96c |
the file, minicom checks to see if it already exists. If so, it assumes
|
|
Packit |
15a96c |
it's a macro file and reads it in. If it isn't, well, it's your problem :-)
|
|
Packit |
15a96c |
If the file does not exist, the filename is accepted.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B M - Edit Macros
|
|
Packit |
15a96c |
opens up a new window
|
|
Packit |
15a96c |
which allows you to edit the F1 through F10 macros.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B N - Macros enabled
|
|
Packit |
15a96c |
- Yes or No. If macros are disabled, the F1-F10
|
|
Packit |
15a96c |
keys will just send the VT100/VT220 function key escape sequences.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B O - Character conversion
|
|
Packit |
15a96c |
The active conversion table filename is shown here. If you can see no
|
|
Packit |
15a96c |
name, no conversion is active. Pressing O, you will see the conversion
|
|
Packit |
15a96c |
table edit menu.
|
|
Packit |
15a96c |
.RS 0.5i
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.TP 0.25i
|
|
Packit |
15a96c |
.B "Edit Macros"
|
|
Packit |
15a96c |
Here, the macros for F1 through F10 are defined. The bottom of the
|
|
Packit |
15a96c |
window shows a legend of character combinations that have special meaning.
|
|
Packit |
15a96c |
They allow you to enter special control characters with plain text by
|
|
Packit |
15a96c |
prefixing them with a '^', in which '^^' means '^' itself. You can
|
|
Packit |
15a96c |
send a 1 second delay with the '^~' code. This is useful when you are
|
|
Packit |
15a96c |
trying to login after ftp'ing or telnet'ing somewhere.
|
|
Packit |
15a96c |
You can also include your current username and password from the phone
|
|
Packit |
15a96c |
directory in the macros with '\\u' and '\\p', respectively. If you need
|
|
Packit |
15a96c |
the backslash character in the macro, write it doubled as '\\\\'.
|
|
Packit |
15a96c |
To edit a macro, press the number (or letter for F10) and you will be
|
|
Packit |
15a96c |
moved to the end of the macro. When editing the line, you may use the
|
|
Packit |
15a96c |
left & right arrows, Home & End keys, Delete & BackSpace, and ESC and
|
|
Packit |
15a96c |
RETURN. ESC cancels any changes made while ENTER accepts the changes.
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.TP 0.25i
|
|
Packit |
15a96c |
.B "Character conversion"
|
|
Packit |
15a96c |
Here you can edit the character conversion table. If you are not an
|
|
Packit |
15a96c |
American, you know that in many languages there are characters that are
|
|
Packit |
15a96c |
not included in the ASCII character set, and in the old times they may
|
|
Packit |
15a96c |
have replaced some less important characters in ASCII and now they are
|
|
Packit |
15a96c |
often represented with character codes above 127. AND there are various
|
|
Packit |
15a96c |
different ways to represent them. This is where you may edit conversion
|
|
Packit |
15a96c |
tables for systems that use a character set different from the one on your
|
|
Packit |
15a96c |
computer.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B A - Load table
|
|
Packit |
15a96c |
You probably guessed it. This command loads a table from the disk.
|
|
Packit |
15a96c |
You are asked a file name for the table.
|
|
Packit |
15a96c |
Predefined tables .mciso, .mcpc8 and .mcsf7 should be included with the
|
|
Packit |
15a96c |
program. Table .mciso does no conversion, .mcpc8 is to be used for
|
|
Packit |
15a96c |
connections with systems that use the 8-bit pc character set, and .mcsf7
|
|
Packit |
15a96c |
is for compatibility with the systems that uses the good old 7-bit coding
|
|
Packit |
15a96c |
to replace the characters {|}[]\\ with the diacritical characters used in
|
|
Packit |
15a96c |
Finnish and Swedish.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B B - Save table
|
|
Packit |
15a96c |
This one saves the active table on the filename you specify.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B C - edit char
|
|
Packit |
15a96c |
This is where you can make your own modifications to the existing table.
|
|
Packit |
15a96c |
First you are asked the character value (in decimal) whose conversion you
|
|
Packit |
15a96c |
want to change. Next you'll say which character you want to see on your
|
|
Packit |
15a96c |
screen when that character comes from the outside world. And then you'll
|
|
Packit |
15a96c |
be asked what you want to be sent out when you enter that character from
|
|
Packit |
15a96c |
your keyboard.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B D - next screen
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B E - prev screen
|
|
Packit |
15a96c |
Yeah, you probably noticed that this screen shows you what kind of
|
|
Packit |
15a96c |
conversions are active. The screen just is (usually) too small to show
|
|
Packit |
15a96c |
the whole table at once in an easy-to-understand format. This is how you can
|
|
Packit |
15a96c |
scroll the table left and right.
|
|
Packit |
15a96c |
.TP 0.5i
|
|
Packit |
15a96c |
.B F - convert capture
|
|
Packit |
15a96c |
Toggles whether or not the character conversion table is used when
|
|
Packit |
15a96c |
writing the capture file.
|
|
Packit |
15a96c |
.RE
|
|
Packit |
15a96c |
.RE
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.TP 0.25i
|
|
Packit |
15a96c |
.B "Save setup as dfl"
|
|
Packit |
15a96c |
Save the parameters as the default for the next time the program is
|
|
Packit |
15a96c |
started. Instead of dfl, any other parameter name may appear, depending
|
|
Packit |
15a96c |
on which one was used when the program was started.
|
|
Packit |
15a96c |
.TP 0.25i
|
|
Packit |
15a96c |
.B "Save setup as.."
|
|
Packit |
15a96c |
Save the parameters under a special name. Whenever Minicom is started
|
|
Packit |
15a96c |
with this name as an argument, it will use these parameters. This
|
|
Packit |
15a96c |
option is of course privileged to root.
|
|
Packit |
15a96c |
.TP 0.25i
|
|
Packit |
15a96c |
.B "Exit"
|
|
Packit |
15a96c |
Escape from this menu without saving. This can also be done with ESC.
|
|
Packit |
15a96c |
.TP 0.25i
|
|
Packit |
15a96c |
.B "Exit from minicom"
|
|
Packit |
15a96c |
Only root will see this menu entry, if he/she started minicom with the '\-s'
|
|
Packit |
15a96c |
option. This way, it is possible to change the configuration without
|
|
Packit |
15a96c |
actually running minicom.
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.SH "STATUS LINE"
|
|
Packit |
15a96c |
The status line has several indicators, that speak for themselves.
|
|
Packit |
15a96c |
The mysterious APP or NOR indicator probably needs explanation. The
|
|
Packit |
15a96c |
VT100 cursor keys can be in two modes: applications mode and cursor
|
|
Packit |
15a96c |
mode. This is controlled by an escape sequence. If you find that
|
|
Packit |
15a96c |
the cursor keys do not work in, say, vi when you're logged in using
|
|
Packit |
15a96c |
minicom then you can see with this indicator whether the cursor keys
|
|
Packit |
15a96c |
are in applications or cursor mode. You can toggle the two with the
|
|
Packit |
15a96c |
C-A I key. If the cursor keys then work, it's probably an error in
|
|
Packit |
15a96c |
the remote system's termcap initialization strings (is).
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.SH "LOCALES"
|
|
Packit |
15a96c |
Minicom has support for local languages. This means you can change most
|
|
Packit |
15a96c |
of the English messages and other strings to another language by setting
|
|
Packit |
15a96c |
the environment variable LANG.
|
|
Packit |
15a96c |
.PD 1
|
|
Packit |
15a96c |
.SH MISC
|
|
Packit |
15a96c |
If minicom is hung, kill it with SIGTERM . (This means kill \-15, or
|
|
Packit |
15a96c |
since sigterm is default, just plain "kill <minicompid>". This will
|
|
Packit |
15a96c |
cause a graceful exit of minicom, doing resets and everything.
|
|
Packit |
15a96c |
You may kill minicom from a script with the command "! killall \-9 minicom"
|
|
Packit |
15a96c |
without hanging up the line. Without the \-9 parameter, minicom first
|
|
Packit |
15a96c |
hangs up before exiting.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
Since a lot of escape sequences begin with ESC (Arrow up is ESC [ A),
|
|
Packit |
15a96c |
Minicom does not know if the escape character it gets is you pressing
|
|
Packit |
15a96c |
the escape key, or part of a sequence.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
An old version of Minicom, V1.2, solved this in a rather crude way:
|
|
Packit |
15a96c |
to get the escape key, you had to press it
|
|
Packit |
15a96c |
.IR twice .
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
As of release 1.3 this has bettered a little: now a 1-second timeout
|
|
Packit |
15a96c |
is builtin, like in vi. For systems that have the select() system call
|
|
Packit |
15a96c |
the timeout is 0.5 seconds. And... surprise: a special Linux-dependent
|
|
Packit |
15a96c |
.BR hack " :-) was added. Now, minicom can separate the escape key and"
|
|
Packit |
15a96c |
escape-sequences. To see how dirty this was done, look into wkeys.c.
|
|
Packit |
15a96c |
But it works like a charm!
|
|
Packit |
15a96c |
.SH FILES
|
|
Packit |
15a96c |
Minicom keeps it's configuration files in one directory, usually
|
|
Packit |
15a96c |
/var/lib/minicom, /usr/local/etc or /etc. To find out what default
|
|
Packit |
15a96c |
directory minicom has compiled in, issue the command \fIminicom -h\fP.
|
|
Packit |
15a96c |
You'll probably also find the demo files for \fBrunscript\fP(1),
|
|
Packit |
15a96c |
and the examples of character conversion tables either there or
|
|
Packit |
15a96c |
in the subdirectories of /usr/doc/minicom*. The conversion tables are
|
|
Packit |
15a96c |
named something like mc.* in that directory, but you probably want to
|
|
Packit |
15a96c |
copy the ones you need in your home directory as something beginning
|
|
Packit |
15a96c |
with a dot.
|
|
Packit |
15a96c |
.sp 1
|
|
Packit |
15a96c |
.nf
|
|
Packit |
15a96c |
minirc.*
|
|
Packit |
15a96c |
$HOME/.minirc.*
|
|
Packit |
15a96c |
$HOME/.dialdir
|
|
Packit |
15a96c |
$HOME/minicom.log
|
|
Packit |
15a96c |
/usr/share/locale/*/LC_MESSAGES/minicom.mo
|
|
Packit |
15a96c |
.fi
|
|
Packit |
15a96c |
.SH SEE ALSO
|
|
Packit |
15a96c |
.BR runscript (1)
|
|
Packit |
15a96c |
.SH BUGS
|
|
Packit |
15a96c |
Please report any bugs to
|
|
Packit |
15a96c |
.IR minicom-devel@lists.alioth.debian.org .
|
|
Packit |
15a96c |
Thank you!
|
|
Packit |
15a96c |
.SH AUTHORS
|
|
Packit |
15a96c |
The original author of minicom is Miquel van Smoorenburg (miquels@cistron.nl).
|
|
Packit |
15a96c |
He wrote versions up to 1.75.
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
Jukka Lahtinen (walker@netsonic.fi, jukkal@despammed.com) has been responsible
|
|
Packit |
15a96c |
for new versions since 1.78, helped by some other people, including:
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
filipg@paranoia.com wrote the History buffer searching to 1.79.
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
Arnaldo Carvalho de Melo (acme@conectiva.com.br) did the internationalization
|
|
Packit |
15a96c |
and the Brazilian Portuguese translations.
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
Jim Seymour (jseymour@jimsun.LinxNet.com) wrote the multiple modem support
|
|
Packit |
15a96c |
and the filename selection window used since 1.80.
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
Tomohiro Kubota (kubota@debian.or.jp) wrote the Japanese translations
|
|
Packit |
15a96c |
and the citation facility, and did some fixes.
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
Gael Queri (gqueri@mail.dotcom.fr) wrote the French translations.
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
Arkadiusz Miskiewicz (misiek@pld.org.pl) wrote the Polish translations.
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
Kim Soyoung (nexti@chollian.net) wrote the Korean translations.
|
|
Packit |
15a96c |
.br
|
|
Packit |
15a96c |
Jork Loeser (jork.loeser@inf.tu-dresden.de) provided the socket extension.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
Most of this man page is copied, with corrections, from the original minicom
|
|
Packit |
15a96c |
README, but some pieces and the corrections are by Michael K. Johnson.
|
|
Packit |
15a96c |
.PP
|
|
Packit |
15a96c |
Jukka Lahtinen (walker@netsonic.fi) has added some information of the changes
|
|
Packit |
15a96c |
made after version 1.75.
|