?? minicom.1
字號:
downloading. Otherwise the download directory defined in the Filenames andpaths menu will be used..TP 0.5i.B SSend files. Choose the protocol like you do with the receive command. Ifyou don't have the filename selection window enabled (in the File transferprotocols menu), you'll just have to write the filename(s) in a dialogwindow. If you have the selection window enabled, a window will pop upshowing the filenames in your upload directory. You can tag and untagfilenames by pressing spacebar, and move the cursor up and down with thecursor keys or j/k. The selected filenames are shown highlighted. Directorynames are shown [within brackets] and you can move up or down in thedirectory tree by pressing the spacebar twice. Finally, send the files bypressing ENTER or quit by pressing ESC..TP 0.5i.B TChoose 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 milliseconds) after each newline if you need that..TP 0.5i.B WToggle linewrap on/off..TP 0.5i.B XExit minicom, reset modem. If macros changed and were not saved, you will have a chance to do so..TP 0.5i.B ZPop up the help screen..PD 1.SH "DIALING DIRECTORY"By pressing C-A D the program puts you in the dialing directory. Select acommand by pressing the capitalized letter or moving cursor right/left withthe arrow keys or the h/l keys and pressing Enter. You can add, delete oredit 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 isdialing, you can press escape to cancel dialing. Any other key will closethe dial window, but won't cancel the dialing itself. Your dialingdirectory will be saved into a the file ".dialdir" in your home directory.You can scroll up and down with the arrow keys, but you can also scrollcomplete pages by pressing the PageUp or PageDown key. If you don't havethose, use Control-B (Backward) and Control-F (Forward). You can use thespace bar to \fBtag\fP a number of entries and minicom will rotate troughthis list if a connection can't be made. A '>' symbol is drawn in thedirectory before the names of the tagged entries..PPThe "edit" menu speaks for itself, but I will discuss it briefly here..PD 0.TP 1.0i.B A - NameThe name for this entry.TP 1.0i.B B - Numberand its telephone number..TP 1.0i.B C - Dial string #Which specific dial string you want to use to connect. There are threedifferent dial strings (prefixes and suffixes) that can be configuredin the \fBModem and dialing\fP menu..TP 1.0i.B D - Local echocan be on or off for this system (if your version of minicom supports it)..TP 1.0i.B E - Script The script that must be executed after a succesfull connection is made(see the manual for runscript).TP 1.0i.B F - UsernameThe username that is passed to the runscript program. Itis passed in the environment string "$LOGIN"..TP 1.0i.B G - PasswordThe password is passed as "$PASS"..TP 1.0i.B H - Terminal EmulationUse ANSI or VT100 emulation..TP 1.0i.B I - Backspace key sendsWhat code (Backspace or Delete) the backspace key sends..TP 1.0i.B J - LinewrapCan be on or off..TP 1.0i.B K - Line settingsBps rate, bits, parity and number of stop bits to use for this connection. You can choose \fBcurrent\fP for the speed, so that it will use whatever speed is being used at that moment (useful if you have multiple modems)..TP 1.0i.B L - Conversion tableYou may spacify a character conversion table to be loaded whenever thisentry answers, before running the login script. If this field is blank, the conversion table stays unchanged..PP .PD 1The edit menu also shows the latest date and time when you called thisentry and the total number of calls there, but doesn't let you change them.They are updated automatically when you connect..PD 1.PPThe moVe command lets you move the highlighted entry up or down in thedialing directory with the up/down arrow keys or the k and j keys. PressEnter or ESC to end moving the entry. .PP.SH CONFIGURATIONBy pressing C-A O you will be thrown into the setup menu. Mostsettings there can be changed by everyone, but some are restrictedto root only. Those priviliged settings are marked with a star (*) here..PP.PD 0.B "Filenames and paths".PP.RS 0.25iThis menu defines your default directories..TP 0.5i.B A - Download directorywhere the downloaded files go to..TP 0.5i.B B - Upload directorywhere the uploaded files are read from..TP 0.5i.B C - Script directoryWhere you keep your login scripts..TP 0.5i.B D - Script programWhich program to use as the script interpreter. Defaults to theprogram "runscript", but if you want to use something else (eg,/bin/sh or "expect") it is possible. Stdin and stdout are connectedto the modem, stderr to the screen..RS 0.5iIf the path is relative (ie, does not start with a slash) then it'srelative to your home directory, except for the script interpreter..RE.TP 0.5i.B E - Kermit programWhere to find the executable for kermit, and it's options. Some simplemacro's can be used on the command line: '%l' is expanded to thecomplete filename of the dial out-device, '%f' is expanded to the serialport file descriptor and '%b' is expanded to the current serial port speed..TP 0.5i.B F - Logging optionsOptions to configure the logfile writing..RS 0.5i.PD 1.TP 0.5i.B A - File nameHere you can enter the name of the logfile. The file will be written inyour home directory, and the default value is "minicom.log". If you blank the name, all logging is turned off..TP 0.5i.B B - Log connects and hangupsThis option defines whether or not the logfile is written when the remoteend answers the call or hangs up. Or when you give the hangup commandyourself or leave minicom without hangup while online..TP 0.5i.B C - Log file transfersDo you want log entries of receiving and sending files..REThe 'log' command in the scripts is not affected by logging options B and C.It is always executed, if you just have the name of the log file defined..RE.PD 1.PP.B "File Transfer Protocols".PD 0.PP.RS 0.25iProtocols defined here will show up when C-A s/r is pressed. "Name" in thebeginning of the line is the name that will show up in the menu. "Program"is the path to the protocol. "Name" after that defines if the program needsan argument, eg. a file to be transmitted. U/D defines if this entry shouldshow up in the upload or the download menu. Fullscr defines if the programshould run full screen, or that minicom will only show it's stderr in awindow. IO-Red defines if minicom should attach the program's standard inand output to the modem port or not. "Multi" tells the filename selectionwindow whether or not the protocol can send multiple files with onecommand. It has no effect on download protocols, and it is also ignoredwith upload protocols if you don't use the filename selection window. Theold sz and rz are not full screen, and have IO-Red set. However, there arecurses based versions of at least rz that do not want their stdin andstdout redirected, and run full screen. All file transfer protocols arerun with the UID of the user, and not with UID=root. '%l', '%f' and '%b' can be used on the command line as with kermit. Within this menu you can also define if you want to use the filename selection window when prompted for files to upload, and if you like to be prompted for the download directory every time the automatic download is started. If you leave the download directory prompt disabled, the download directory defined in the file and directory menu is used..RE.PD 1.PP.B "Serial port setup".RS 0.25i.PD 0.TP 0.5i.B *A - Serial device/dev/tty1 or /dev/ttyS1 for most people./dev/cua<n> is still possible under linux, but not recommended any more because these devices are obsolete and many newly installed systems with kernel 2.2.x or newer don't have them. Use /dev/ttyS<n> instead. You may also have /dev/modem as a symlink to the real device..brIf you have modems connected to two or more serial ports, you may specifyall of them here in a list separated by space, comma or semicolon. WhenMinicom starts, it checks the list until it finds an available modem and uses that one. (However, you can't specify different init strings to them ..at least not yet.).brTo use a UNIX socket for communication the device name must be prefixedwith "unix#" following by the full path and the filename of the socket.Minicom will then try to connect to this socket as a client. As long as itcannot connect to the socket it stays 'offline'. As soon as the connectionestablishes, minicom goes 'online'. If the server closes the socket, minicomswitches to 'offline' again..TP 0.5i.B *B - Lock file locationOn most systems This should be /usr/spool/uucp. Linux systems use/var/lock. If this directory does not exist,minicom will not attempt to use lockfiles..TP 0.5i.B *C - Callin programIf you have a uugetty or something on your serial port, it could bethat you want a program to be run to switch the modem cq. port intodialin/dialout mode. This is the program to get into dialin mode..TP 0.5i.B *D - Callout programAnd this to get into dialout mode..TP 0.5i.B E - Bps/Par/BitsDefault parameters at startup..PD 1.PP If one of the entries is left blank, it will not be used. So if youdon't care about locking, and don't have a getty running on yourmodemline, entries B - D should be left blank. Be warned! The callinand callout programs are run with the effective user id of "root", eg0!.RE.PP.B "Modem and Dialing".PD 0.PP.RS 0.25iHere, the parameters for your modem are defined. I will not explainthis further because the defaults are for generic Hayes modems, andshould work always. This file is not a Hayes tutorial :-) The onlythings worth noticing are that control characters can be sent byprefixing them with a '^', in which '^^' means '^' itself, and the '\\'character must also be doubled as '\\\\', because backslash is used specially in the macro definitions. Some options however, don't have much to do with the modem but more with the behaviour of minicom itself:.PP.TP 0.5i.B M - Dial timeThe number of seconds before minicom times out if no connection isestablished..TP 0.5i.B N - Delay before redialMinicom will redial if no connection was made, but it first waits sometime..TP 0.5i.B O - Number of triesMaximum number of times that minicom attempts to dial..TP 0.5i.B P - Drop DTR timeIf you set this to 0, minicom hangs up by sending a Hayes-type hangupsequence. If you specify a non-zero value, the hangup will be done by dropping the DTR line. The value tells in seconds how long DTR will bekept down..TP 0.5i.B Q - Auto bps detectIf this is on, minicom tries to match the dialed party's speed.With most modern modems this is NOT desirable, since the modem buffersthe data and converts the speed..TP 0.5i.B R - Modem has DCD lineIf your modem, and your O/S both support the DCD line (that goes 'high'when a connection is made) minicom will use it. When you have this optionon, minicom will also NOT start dialing while you are already online..TP 0.5i.B S - Status line shows DTE speed / line speedYou can toggle the status line to show either the DTE speed (the speed which minicom uses to communicate with your modem) or the line speed(the speed that your modem uses on the line to communicate with the other modem). Notice that the line speed may change during the connection,but you will still only see the initial speed that the modems startedthe connection with. This is because the modem doesn't tell the programif the speed is changed. Also, to see the line speed, you need to havethe modem set to show it in the connect string.
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -