Translation: Vanson 2000.2.28
name
Minicom - Friendly easy serial communication program
Syntax summary
Minicom [-somlz8] [-c on | OFF] [-s script] [-d entry]
[-A on | Off] [-t term] [-p pty] [-c capturefile]
[configuration]
description
Minicom is a communication program, a bit like sharing software Telix, but its source code can be free
Obtain and be able to run in most UNIX systems. It includes the following features: Automatic dialing
Dial-up directory, support for the Lock file in the serial device UUCP format, separate scripts
Language interpreter, file capture, multi-user separate configuration, and so on.
---------------------------------------------------------------------------------------------------------------------------------------
Command line parameters
-s set. Root Use this option to edit the default value of the system range in /etc/minirc.dfl.
After using this parameter, Minicom will not initialize, but directly enter the configuration menu.
If your system is changed, or when you run MINICOM for the first time, Minicom cannot
This parameter will be useful. For most systems, it has been fixed.
Default.
-o does not initialize. Minicom will skip the initialization code. If you don't reset (Reset)
Just quit Minicom, and want to restart a session (session), use this option
It is more cool (no error tips: modem is locked ---- Note). but also
There is potential danger: because the Lock file is not checked, the general user may
There is a conflict with Dongdong, which is like UUCP ... Maybe this parameter will be removed. right now
Aunt and assume that users who use MODEM are sufficiently responsible for their behavior.
-m uses a META or ALT key to load the command key. This is the default value in version 1.80.
This option is configured in the MINICOM menu. However, if you have been using different terminals, among them.
Some no meta or alt keys, so convenient practice or set the default command key to
Ctrl-a, use this option when you have a keyboard that supports the META or ALT key. Minicom
Assume that your Meta button sends an ESC prefix instead of setting the highest bit of character (see below).
-M is the same as "-m", but assumes that your META key sets the eighth bit of the character (send 128 )
Character code).
-z uses the terminal status line. Only when the terminal is supported and in its Termcap or Terminfo database
It is only available when there is related information in the entrance.
-l word-word translation of the high position. With this sign, Minicom will no longer try to put IBM
The line character is translated into an ASCII code, but directly transmits it. Many PC-UNIX clones do not translate
It can also be displayed correctly (Linux uses specialized modes: Coherent and SCO).
-A characteristics. Some terminals, especially Televideo terminals, have a very annoying property
(Serial rather than parallel). Minicom uses '-a on' by default, but if you are using this
Terminal, you can (must!) Plus option '-a off'. Tail 'on' or 'off'
Need to add it.
-T terminal type. With this logo, you can overload the environment variable Term, which in environment variables
It is very convenient to use in Minicom; you can create a special TERMCAP entry for
MINICOM is used on the console, which initials the screen to RAW mode, so
The '-f' flags can be displayed without translating, IBM line characters.
-c color is used. Some terminals (such as the Linux Console) support standard ANSI escape sequence colors. Since Termcap is clearly not supported for color, this escape is built into these escapes.
The code of the sequence. So this option defaults to OFF. This item can be opened with '-c on'. Put
This logo, and '-M' is a good choice in the MINICOM environment variable.
-S script. The script for the given name is performed at startup. So far, do not support the name of the user
Transferred to the startup script. If you also use '-d' options to open at startup
Start dialing, this script will run before dialing, and the dial item entry is indicated by '-d'.
-D When you call one of the dial-up directory. You can use the index number to specify or use the entry.
A substring of the item. After all other programs are initialized, the dial will begin.
-p The pseudo terminal to be used. It overloads the terminal port defined in the configuration file, but only when it is pseudo
TTY device. The file name provided must be in this form: (/ dev /) TTY [P-Z] [0-f]
-C file name. Open the capture file at startup.
-8 does not modify the 8-bit character. "Continuous" means that the location / characteristics do not change,
The location / characteristic control sequence is not inserted. This mode is used to display 8 multi-byte characters, such as
Japanese words (TMD! Should be Chinese words !!). Not the language of the 8-bit character needs (for example, display
The Finnish text does not need this). When MINICOM starts, it first searches for the command line ginseng
Number MINICOM environment variables ---- These parameters can overload on the command line. For example: if you enter
The following settings are set:
Minicom = '- m -c on'
Export minicom
Or other equivalent settings, then start MINICOM, Minicom assumes your terminal
Have a MEAT key or ALT key and support color. If you are from a terminal that does not support colored
Log in and set up Minicom in your boot file (.profile or equivalent file).
And you don't want to reset your environment variable, then you can type
'Minicom -c off',
To run the session that has no color support.
---------------------------------------------------------------------------------------------------------------------------------------
Configure
Configuration parameters are more interesting. Typically, Minicom gets default from the file "minirc.dfl"
value. However, if you give the minicom, it will try from the file
"Minirc.configuration"
Get the default value. Therefore, for different ports, different users, etc. to create multiple profiles are
possible. It is best to use the device name, such as: TTY1, TTY64, SiO2, etc. If the user is created
With your own profile, then the file will appear in his name ".minirc.dfl".
Among the home directory.
---------------------------------------------------------------------------------------------------------------------------------------
use
Minicom is based on the window. To pop up the window you want, press Ctrl-a (hereinafter
Use C-A to represent Ctrl-a), then press each function key (A-Z or A-Z). Press C-A first, then
Press 'Z', there will be a help window that provides a brief description of all commands. Configuring Minicom
(-S option, or C-a, o), you can change this escape key, but now we still
Is Ctrl-a.
The following keys are available in all menus:
UP arrow-up or 'k'
Down arrow-down or 'j'
LEFT Arrow-Left or 'h'
Right Arrow-Right or 'L'
Choose Enter
Cancel escape.
The screen is divided into two parts: the screen of the upper 24 behavior terminal simulator. ANSI or VT100 escape sequence is explained in this window. If there is still a line in the bottom, then the state is put here;
Otherwise, the status line appears every time C-A. At those terminals having a special state
Use this line if the Termcap is complete and the -k flag is added.
The available commands are listed in alphabetical order:
C-a Press C-A twice will send a C-A command to the remote system. If you put "escape characters"
In exchange, what is the character of C-A, the mode of operation is similar.
A Switch "Add Linefeed" is ON / OFF. If it is ON, each board button is on the screen.
Before displaying, add a linefeed.
B provides you with a buffer of a scroll back. You can press U. The roll is pressed.
Press B to turn a page, press f. You can also use the arrow keys and pages. Available S or S button
(Sensitive) Find a text string in the buffer, press n to find the next appearance of the string.
Press C to enter the reference mode, the text cursor, you can press the Enter key to specify the starting line.
Then the back mode will end, the content with prefix '>' will be sent.
C clear screen.
D Dial one number or turn to the dial-up directory.
E Switch Locally elected to ON / OFF (if your Minicom version is supported).
F gives the BREAK signal MODEM.
G Run the script (Go). Run a login script.
H hang up.
I Switch the type of escape sequence transmitted between the cursor keys in ordinary and application mode (refer to
Note about the status line).
J jumped to the shell. When returns, the entire screen will be refreshed (RedRaw).
K clear screen, run Kermit, refresh the screen when returning.
L File capture switch. When open, all outputs to the screen will also be captured in the file.
M Send the MODEM initialization string. If you online, and the DCD line is set to ON, then Modem is initialized.
You will ask you to confirm before.
O Configure Minicom. Go to the configuration menu.
P Communication parameters. Allow you to change the BPS rate, parity and number of bits.
Q does not reset MODEM and exit Minicom. If Macros is changed, and there is no storage,
Will provide a chance to be a SAVE.
R Receive the file. Choose from a variety of protocols (outside). If the filename selection window and next
The contipted tips are available, there will be a window that requires selection to download the directory. Otherwise it will be used
The download directory defined in the Filenames and Paths menu.
S Send a file. Select the protocol you use in the received command. If you do not make the file name
Window available (setting in the File Transfer Protocols menu), you will only be in one
Write the file name in the dialog window. If it is set to be available, one window will pop up, display
The name of the file in your upload directory. The space bar can be added or canceled with the file name.
The cursor button or the J / K key moves the cursor. The selected file name will highlight. Directory
In square brackets, press the space bar twice to move up and down in the directory tree. Finally, press
ENTER sends a file, or press the ESC button to exit.
T Select Terminal Simulation: ANSI (Color) or VT100. You can also change the retracted key, open or open or
Close the status line.
W Switch LINEWRAP is ON / OFF.
X Exit Minicom, reset the Modem. If Macros is changed, but not stored, it will provide
Your opportunity for Save.
Z pops up the Help screen.
---------------------------------------------------------------------------------------------------------------------------------------
Dial Directory (Dialing Directory)
Press CTRL-A, D, will enter the dial-up directory. Can be reduced, delete, or modify each item.
Select "Dial", you will call the phone number of the tag item, or the item number that is highlighted when not tagging. When MODEM dial, press ESC to cancel; any other button
The dial-up window will be closed but do not cancel the dial. The dial-up directory will be saved in your home directory
In the ".dialDir" file. The arrow keys can be rolled up, but it can also be used
PageUp or pagedown key rollings. If there is no such button, Ctrl-B (backward) can be used.
And Ctrl-f (forward). The space bar can be marked with multiple items, if MinICOM cannot establish
A connection that will loop in this list. Before the name of the mark in the directory
A '>' symbol will be displayed.
The "Edit" menu does not speak, but it is still a brief introduction.
A - NAME project name
B - Number Phone Number
C - Dial string #
It is pointed out the dial string for connecting. In the Modem and DiRing menu
There are three different dial strings (prefixes and suffixes) that can be set.
D - Local Echo is ON or OFF (if your Minicom version is supported)
E - Script Successfully established a script that must be executed after the connection (Particle Runscript Manual)
F - username passed to the RunScript program. In the environment string "$ login"
Transfer.
G - Password is sent to the password of "$ pass".
H - Terminal Emulation
Use ANSI or VT100 simulation.
I - Backspace Key Sends
The code (Backspace or Delete) sent by the backpoint.
J - LINEWRAP can be ON or OFF.
K - line settings
The BPS rate, bits, and parity settings of this connection. Rate can be selected
The previous value so that you can use any rate value that is in use at the time (when you
This is useful when there are multiple modems).
L - converness TABLE
You can specify anything before running the login script, any of this dial-up item
The character conversion table to be loaded. If this domain is empty, the conversion table
constant.
The EDIT menu also shows the date and time you have recently called this item, and call the item.
Total number. But do not allow you to change these values. They will be automatically updated when you connect.
---------------------------------------------------------------------------------------------------------------------------------------
Configure
Press CTRL-A, O to enter the Setup menu. Everyone can change most of them,
But some are limited to root. Here, those privilege settings are marked with an asterisk (*).
FILENAMES AND PATHS
This menu defines your default directory.
A - Download location of Download file
B - UPLOAD reads uploaded files from this
C - Script Store Login script location
D - Script Program
As a program of the script interpreter. The default is "Runscript",
Other stuff (such as: / bin / sh or "expect" can also be used.
STDIN and STDOUT are connected to Modem, Stderr is connected to the screen.
If you use a relative path (ie, you don't start with '/'), it is relative to you.
The Home directory except for the script interpreter.
E - kermit program
Find the location of the executable and parameters for Kermit. Command line
Available in some simple macros: '% 1' expands to allocate the complete equipment
File name, '% B' extends to the current baud rate.
----------------------------
File Transfer Protocols
The protocol specified here will be displayed when Ctrl-A, S / R is pressed. The first "name" is to
Display the name in the menu. "Program" is a protocol path, and the "Name" determines whether the program needs parameters, such as the file to be transmitted. "U / D" determined whether the item is
The "UPLOAD / DOWNLOAD" menu appears. "FullsCR" determines if you want to run full screen,
Otherwise, MINCOM will only display its standard output in one window. "IO-RED"
MINICOM wants to connect the program's standard IO to the Modem port. "Multi" tells the file
Name Selection window protocol can send multiple files with a command. It is invalid for the download protocol;
If you don't have to select a window, the upload agreement will ignore it. Old version of SZ and
RZ is non-full screen and sets IO-RED. However, some Curses-based versions are at least
RZ, do not want its stdin and stdout to be reached, and the full screen is running. Transfer of all files
The protocol runs with the user's UID, but not there is a UID = root. For kermit, command
Use '% l' and '% b' on the line. In this menu, you can also specify when prompted to upload,
Estrency if the file selection window, and if you have prompted to download the directory each time you download. in case
Download directory prompts will be prohibited to use the Download directory specified in the File and Directory menu.
----------------------------
Serial port settings
* A - serial equipment
Most people use / dev / tty1. Use / dev / cua or / dev / modem under Linux.
If you have multiple MODEMs to connect to two or more serial ports, you can here
The list is specified, with spaces, commas, or semicolons as separators. Minicom starts
When checking this list until you find available modems and use it. (but,
You can't specify different initialization skewers for them .... At least can't now)
* B - Lock file location
This should be / usr / spool / uucp on most systems. Linux system uses
VAR / LOCK. If this directory does not exist, Minicom will not try to use LOCK.
file.
* C - Callin Program
If you have a uugetty device or other on your serial, you may need to run
A program switches the MODEM's CQ port to Dialin / Dialout mode. This
That is to enter the procedure required for DiLin mode.
* D - Callout Program
This is the procedure used to enter the DioS.
E - BPS / PAR / BITS
The default parameter at startup.
If one of them is empty, it will not be used. So if you don't care Locking,
There is no getty on your modemline, and the project B - D should be empty. note!
Valid user ID "root" (such as 0) can run callin and callout.
----------------------------
Modem and DiRing
The parameters of MODEM are defined here. I no longer explain, because the default is
For generichayes modems, this should always work normally. This file
Not Hayes learning guidance :-) The only thing worth noting is that the control character can
Send with plus prefix '^', where '^^' refers to '^' itself, '/'
The characters must be double-written as '//' because the backlash has a special meaning in the macro definition.
However, some options, there is not much relationship with MODEM, but with minicom's own line
It is a lot of relationships:
M - Dial Time
When the connection is not established, the number of seconds before the Minicom is timeout.
N - DELAY Before Redial
If there is no connection, Minicom will re-dial, but you must wait for a while. O - Number of Tries
MINICOM tries to dial the maximum number of times.
P - DROP DTR TIME
When this is set to 0, Minicom sends a Hayes type Hanup sequence.
Make up. If it is set to a non-0 value, the DTR Line is given. This value
Specifies the number of seconds to end DTR to experience.
Q - Auto BPS Detect
When set to ON, Minicom tries to match the speed of the caller. But most of the modern
MODEM does not need this option because MODEM buffers and converts data.
Speed.
R - MODEM HAS DCD LINE
If your MODEM and operating system are ash support DCD LINE (it will be established
Lifting "high"), then MINICOM will use it.
S - Status Line Shows DTE Speed / Line SPEED
You can switch status lines or display DTE speed (Minicom with your MODEM
The speed of the letter) or the display line speed (your MODEM is online online
The speed of communication, pay attention to the line speed of the connection, but you will still
You can only see the initial speed when the MODEM starts the connection. This is because MODEM is not
Tell the procedure to change. Moreover, to see the line speed, you need to connect
Setting in the string so that MODEM is displayed. Otherwise, you will only see one
The value of 0 line speed.
Note This menu is also a special case: each user can change parameters here, but they will not be
save.
----------------------------
Screen and Keyboard
A - Command Key IS
Enter the hotkey of the command mode. If you set it to 'alt' or 'meta' buttons,
You can call the command directly instead of using HotKey-Key.
B - Backspace Key Sends
Still some systems require VT100 to send DEL instead of BS. Use this option,
You can do that stupid thing. (I fell! Even the default is ON!)
C - Status Line IS
Turn it on or off. Some slow terminals (such as X-Terminals) are currently rolling,
The status line will be hopped on the status line, so it is necessary to turn off the status line when needed.
The command mode will still be displayed.
D - alarm Sound
If you open, Minicom will be successfully connected, as well as upload / download.
Alarm sound.
E - Foreground Color (MENU)
Specifies the foreground color used by all MINICOM configuration windows.
F - Background Color (MENU)
Specifies all MINICOM configuration windows to use the background colors used. Note: Minicom
Do not allow you to set the front / background color to the same value.
G - Foreground Color (TERM)
Specifies the foreground color used in the terminal window.
H - Background Color (TERM)
Specifies the background color used in the terminal window. Note: MINICOM does not allow you to
The front / background color is set to the same value.
I - Foreground Color (STAT)
Specifies the foreground color used in the status line.
J - Background Color (STAT)
Specifies the background color used in the status line. Note: MINICOM allows you to be status
The front / background color of the row is set to the same value. This is actually hidden in the state, but
If you intend to do it, you can refer to this option.
K - History Buffer Size
The number of rows saved in the historical buffer (for returning).
L - Macros File saves the full path to the file with Macros. Macros allows you to define when pressed
A string that is sent when a key is sent. In MINICOM, F1 to F10 can be defined.
Send up to 256 characters. (This is determined when compiling). Press
Enter, you will verify the name you specified. If you don't have the right to establish a specified file,
There will be an error message to point out, and then you have to re-edit the file name.
If you can create this file, MinICOM will check if it already exists.
Existence, assume that it is a macro file and reads; otherwise, ha, that is your
The problem is :-) If this file does not exist, accept this file name.
M - Edit Macros
Open a new window, allow you to edit the F1 to F10 macro here.
N - macros enabled
whether. If Macro is allowed, the F1-F10 key will send the function of VT100 / VT200.
Key transfusion sequence.
O - Character Conversion
The name of the activated conversion table file is displayed here. If it is not seen, it indicates that there is no living.
Moving conversion table. Press 0 to see the conversion table editing menu.
----------------------------
Edit Macros
The macros of F1 to F10 are defined here. The bottom of the window displays a character combination with a special meaning.
Allows the control character to be input with '^' to add ordinary text, where '^^' is expressed
'^' Itself. The delay of 1 second can be sent with the '^ ~' code. When you ftp or telnet an address
After that, it is useful when trying to login. You can also add your current user from the dial-up directory.
Names and passwords, are represented by '/ u' and '/ p', respectively. If you need to use a backlash in Macro
Character, should be dual-write as '//'. To edit a macro, press the corresponding number (or letters such as
F10), then the cursor is moved to the end of Macro. When editing this line, you can use the left and right arrows, Home
And END keys, Del and Backspace keys, and ESC and Enter key. ESC cancels anything
Modify, the carriage return is accepted.
----------------------------
Character Conversion
You can edit the character conversion table here. If you are not Americans, you should know, in many languages
The characters are not included in the ASCII character set, and the past may have replaced the ASCII table with them.
It is not very important in characters, and now it is often represented by characters greater than 127. Actually
Methods to represent these characters. This is exactly those who use different from your computer characters.
The set system editing the conversion table,
A - loading table
You may have guess. This command is loaded into the conversion table from the disk. Will ask your table
file name. Predefined table. McISO, .mcpc8 and .mcsf7 should be included in the program. table
.mciso does not conversion,. MCPC8 is used to connect the system using the 8-bit PC character set.
.MCSF7 is used for compatible with very old 7-bit encoded systems, this 7-digit code with Finnish and
Swedish distinction character sets the character {|} [] /.
B - Save Table
Save the conversion table of the active file name.
C - Edit Char
Here you can modify the existing tables. First, you will ask the character value of the conversion you want to modify (ten
Enter); then you want to point out the characters received from the outside display on the screen. then
Ask you when you press the key on the keyboard, what you want to send.
D - Next Screen Next Screen
E - PREV Screen front screen
Yes, maybe you noticed this screen to show the type of activity conversion. Screen (usually) too
Small, I can't display the entire table with a simple and easy format. You can use this
Do the right rollover conversion table.
F - Convert Capture Switching Whether to use a conversion table when writing to capture files.
Save setup as dfl
Save the parameters as the default value when the next startup program is launched. In addition to DFL, other parameter names
It will appear, depending on which one will be used when the program is started next.
Save setup as ..
Save the parameters with the specified name. Just start Minicom with this name as a reference, it will use these
parameter. Of course, only root has privileges using this option.
Exit
Do not save exit this menu. You can also press the ESC key.
EXIT from minicom
Only Root will only see this menu item ---- If you start MINICOM, you will use the option.
'-S'. In this way, it can be practically not running minicom.
Change its configuration.
---------------------------------------------------------------------------------------------------------------------------------------
Status
There are several indicators on the status line, and its meaning is self-satisfied. Maybe you may need to explain the strange
APP and NOR indicator. There are two modes of VT100 cursor keys: application models and cursor
mode. This is controlled by a escape sequence. When you log in with minicom, if you find
The cursor keys cannot work, such as in VI, you can use this indicator to view the cursor
The key is in the application mode or in the cursor mode. You can switch with Ctrl-a, i.
If this time the cursor key can work, it may be the TERMCAP initialization string of the remote system.
Error.
---------------------------------------------------------------------------------------------------------------------------------------
location
MINICOM has now supported local languages. That is to say, you can set up environment variables
LANG, transition most English messages and other strings into other languages. By July 1998,
Brazilian Portuguese, Finnish and Japanese are supported. Support for Turkish is under construction.
---------------------------------------------------------------------------------------------------------------------------------------
Security Question
Since Minicom runs on some computers, you may limit it to it.
You can use a configuration file called "minicom.users" in the default file directory.
to fulfill. The syntax of this file is as follows:
[configuration ...]
In order to allow users 'Miquels' to use default configurations, they can be in "minicom.users"
Enter down:
Miquels DFL
If you want the user to use more configurations than the default value, then below the username
Those names are configured. If the user is not given, Minicom assumes the user.
All configurations can be used.
---------------------------------------------------------------------------------------------------------------------------------------
Other miscellaneous
If Minicom is suspended, you can use Sigterm to kill (ie kill -15, or,
Since Sigterm is the default, "KILL is safe to exit Minicom after the action is equal to the action, but can not hang the line, with command
"! Killall -9 minicom" Script of Kill Minicom. If you do not use parameters -9,
Then Minicom will hang up first, and then exit.
Because many escape sequences begin with ESC (the up arrow is ESC [A), Minicom cannot
Know that the ESC character it get is the ESC key you pressed or a part of a certain escape sequence.
An old version of Minicom, V1.2, solves this problem with a fairly poor manner:
To get an ESC button, you have to press it twice.
This is a little bit in version 1.3: It is now built in 1 second time, like in VI.
In the system called by the SELECT () system, it is 0.5 seconds. And .... Strange:
Also add Linux related dedicated HACK :-) Now, Minicom can distinguish ESC keys
And escape sequences. To know the greatest, please refer to WKEYS.C. However, it is really good! ---------------------------------------------------------------------------------------------------------------------------------------
file
MINICOM Saves its configuration file in a directory, usually:
/ VAR / lib / minicom, / usr / local / etc or / etc.
If you want to know the default directory that MINICOM compiles, you can use the command
"Minicom -h",
Where you may also find the demo file of Runscript (1):
minicom.users
Minirc. *
$ Home / .minirc. *
$ Home / .dialdir
/usR/share/locale/*/lc_messages/minicom.mo
---------------------------------------------------------------------------------------------------------------------------------------
version
Minicom has been upgraded to v1.82.1
Author
The original author of Minicom is Miquel Van SMoorenburg
(Miquels@drinkel.ow.org, href = "mailto: miquels@cistron.nl)."> miquels@cistron.nl).
Jukka lahtinen (Walker@clinet.fi, href = "mailto: walker@megabaud.fi)> Walker@megabaud.fi)
Responsible for 1.78 or more new versions, assisted by the following people:
HREF = "mailto: filmg@paranoia.com Writes Historical Buffer Search for V1.79."> Filipg@paranoia.com Writes Historical Buffer Search for V1.79.
Arnaldo Carvalho de Melo (acme@conectiva.com.br) complete internationalization
And Brazilian Portuguese translation.
Jim Seymour (jseymour@jimsun.linxnet.com) Write multi-modem support,
And the file name selection window used in the V1.80 version.
Tomohiro Kubota (Kubota@debian.or.jp) Writing Japanese translation and reference programs,
And some corrections have been made.
Ga qui (gqueri@mail.dotcom.fr) Writing French translation.
The content in this Man Page is more copied from the original Readme of Minicom.
Some of these contents and corrections by Michael K.johnson (Johnsonm@stolaf.edu)
carry out.
Jukka lahtinen (Walker@clinet.fi) plus some of the 1.75 version
Change information.
============================================================================================================================================================================================================= ===================
User Manual January 10, 1999
(Finish)