minicom英文手册.docx
- 文档编号:9818794
- 上传时间:2023-05-21
- 格式:DOCX
- 页数:20
- 大小:27.15KB
minicom英文手册.docx
《minicom英文手册.docx》由会员分享,可在线阅读,更多相关《minicom英文手册.docx(20页珍藏版)》请在冰点文库上搜索。
minicom英文手册
Name
minicom-friendlyserialcommunicationprogram
Synopsis
minicom[-somMlwz8][-con|off][-Sscript][-dentry]
[-aon|off][-tterm][-ppty][-Ccapturefile][configuration]
Description
minicomisacommunicationprogramwhichsomewhatresemblesthesharewareprogramTELIXbutisfreewithsourcecodeandrunsundermostunices.Featuresincludedialingdirectorywithauto-redial,supportforUUCP-stylelockfilesonserialdevices,aseperatescriptlanguageinterpreter,capturetofile,multipleuserswithindividualconfigurations,andmore.
Command-line
-s
Setup.Rooteditsthesystem-widedefaultsin/etc/minirc.dflwiththisoption.Whenitisused,minicomdoesnotinitialize,butputsyoudirectlyintotheconfigurationmenu.Thisisveryhandyifminicomrefusestostartupbecauseyoursystemhaschanged,orforthefirsttimeyourunminicom.Formostsystems,reasonabledefaultsarealreadycompiledin.
-o
Donotinitialize.Minicomwillskiptheinitializationcode.Thisoptionishandyifyouquittedfromminicomwithoutresetting,andthenwanttorestartasession.Itispotentiallydangerousthough:
nocheckforlockfilesetc.ismade,soanormalusercouldinterferewiththingslikeuucp...Maybethiswillbetakenoutlater.Fornowitisassumed,thatuserswhoaregivenaccesstoamodemareresponsibleenoughfortheiractions.
-m
Overridecommand-keywiththeMetaorALTkey.Thisisthedefaultin1.80anditcanalsobeconfiguredinoneofminicom'smenus,butifyouusedifferentterminalsallthetime,ofwhichsomedon'thaveaMetaorALTkey,it'shandytosetthedefaultcommandkeytoCtrl-AandusethisoptionwhenyouhaveakeyboardsupportingMetaorALTkeys.MinicomassumesthatyourMetakeysendstheESCprefix,nottheothervariantthatsetsthehighestbitofthecharacter.
-M
Sameas-m,butassumesthatyourMetakeysetsthe8thbitofthecharacterhigh(sends128+charactercode).
-z
Useterminalstatusline.Thisonlyworksonterminalsthatsupportitandthathavetherelevantinformationintheirtermcaporterminfodatabaseentry.
-l
Literaltranslationofcharacterswiththehighbitset.Withthisflagon,minicomwillnottrytotranslatetheIBMlinecharacterstoASCII,butpassesthemstraighttrough.ManyPC-unixcloneswilldisplaythemcorrectlywithouttranslation(Linuxinaspecialmode,CoherentandSco).
-L
DittobutassumescreenusesanISO8859characterset.
-w
Turnslinewraponatstartupbydefault.
-a
Attributeusage.Someterminals,notablytelevideo's,havearottenattributehandling(serialinsteadofparallel).Bydefault,minicomuses'-aon',butifyouareusingsuchaterminalyoucan(must!
)supplytheoption'-aoff'.Thetrailing'on'or'off'isneeded.
-t
Terminaltype.Withthisflag,youcanoverridetheenvironmentTERMvariable.ThisishandyforuseintheMINICOMenvironmentvariable;onecancreateaspecialtermcapentryforusewithminicomontheconsole,thatinitializesthescreentorawmodesothatinconjunctionwiththe-lflag,theIBMlinecharactersaredisplayeduntranslated.
-c
Colorusage.Someterminals(suchastheLinuxconsole)supportcolorwiththestandardANSIescapesequences.Becausethereisapparentlynotermcapsupportforcolor,theseescapesequencesarehard-codedintominicom.Thereforethisoptionisoffbydefault.Youcanturnitonwith'-con'.This,andthe'-m'option,aregoodcandidatestoputintotheMINICOMenvironmentvariable.
-S
script.Runthenamedscriptatstartup.Sofar,passingusernameandpasswordtoastartupscriptisnotsupported.Ifyoualsousethe-doptiontostartdialingatstartup,the-SscriptwillberunBEFOREdialingtheentriesspecifiedwith-d.
-d
Dialanentryfromthedialingdirectoryonstartup.Youcanspecifyanindexnumber,butalsoasubstringofthenameoftheentry.Ifyouspecifyanamethathasmultipleentriesinthedirectory,theyarealltaggedfordialing.Youcanalsospecifymultiplenamesorindexnumbersbyseparatingthemwithcommas.Thedialingwillstartfromthefirstentryspecifiedafterallotherprograminitializationproceduresarecompleted.
-p
Pseudoterminaltouse.Thisoverrridestheterminalportdefinedintheconfigurationfiles,butonlyifitisapseudotty.Thefilenamesuppliedmustbeoftheform(/dev/)tty[p-z/][0-f],(/dev/)pts[p-z/][0-f]or(/dev/)pty[p-z/][0-f].Forexample,/dev/ttyp1,pts/0or/dev/ptyp2.
-C
filename.Opencapturefileatstartup.
-T
Disablethedisplayoftheonlinetimeinthestatusbar.
-8
8bitcharacterspassthroughwithoutanymodification.'Continuous'meansnolocate/attributecontrolsequencesareinsertedwithoutrealchangeoflocate/attribute.Thismodeistodisplay8bitmultibytecharacterssuchasJapanese.Notneededineverylanguagewith8bitcharacters.(ForexampledisplayingFinnishtextdoesn'tneedthis.)
Whenminicomstarts,itfirstsearchestheMINICOMenvironmentvariableforcommand-linearguments,whichcanbeover-riddenonthecommandline.Thus,ifyouhavedone
MINICOM='-m-con'
exportMINICOM
ortheequivalent,andstartminicom,minicomwillassumethatyourterminalhasaMetaor
configuration
Theconfigurationargumentismoreinteresting.Normally,minicomgetsitsdefaultsfromafilecalled"minirc.dfl".Ifyouhowevergiveanargumenttominicom,itwilltrytogetitsdefaultsfromafilecalled"minirc.configuration".Soitispossibletocreatemultipleconfigurationfiles,fordifferentports,differentusersetc.Mostsensibleistousedevicenames,suchastty1,tty64,sio2etc.Ifausercreateshisownconfigurationfile,itwillshowupinhishomedirectoryas'.minirc.dfl'.
Use
Minicomiswindowbased.Topopupawindowwiththefunctionyouwant,pressControl-A(fromnowon,wewilluseC-AtomeanControl-A),andthenthefunctionkey(a-zorA-Z).BypressingC-Afirstandthen'z',ahelpscreencomesupwithashortsummaryofallcommands.Thisescapekeycanbealteredwhenminicomisconfigured(-soptionorC-AO),butwe'llsticktoControl-Afornow.
Foreverymenuthenextkeyscanbeused:
UP
arrow-upor'k'
DOWN
arrow-downor'j'
LEFT
arrow-leftor'h'
RIGHT
arrow-rightor'l'
CHOOSE
Enter
CANCEL
ESCape.
Thescreenisdividedintotwoportions:
theupper24linesaretheterminal-emulatorscreen.Inthiswindow,ANSIorVT100escapesequencesareinterpreted.Ifthereisalineleftatthebottom,astatuslineisplacedthere.IfthisisnotpossiblethestatuslinewillbeshowedeverytimeyoupressC-A.Onterminalsthathaveaspecialstatuslinethatwillbeusedifthetermcapinformationiscompleteandthe-kflaghasbeengiven.
Possiblecommandsarelistednext,inalphabeticalorder.
C-A
PressingC-AasecondtimewilljustsendaC-Atotheremotesystem.Ifyouhavechangedyour"escapecharacter"tosomethingotherthanC-A,thisworksanalogouslyforthatcharacter.
A
Toggle'AddLinefeed'on/off.Ifitison,alinefeedisaddedbeforeeverycarriagereturndisplayedonthescreen.
B
Givesyouascrollbackbuffer.Youcanscrollupwithu,downwithd,apageupwithb,apagedownwithf,andifyouhavethemthearrowandpageup/pagedownkeyscanalsobeused.Youcansearchfortextinthebufferwiths(case-sensitive)orS(case-insensitive).Nwillfindthenextoccurrenceofthestring.cwillentercitationmode.AtextcursorappearsandyouspecifythestartlinebyhittingEnterkey.Thenscrollbackmodewillfinishandthecontentswithprefix'>'willbesent.
C
Clearsthescreen.
D
Dialanumber,orgotothedialingdirectory.
E
Togglelocalechoonandoff(ifyourversionofminicomsupportsit).
F
Abreaksignalissenttothemodem.
G
Runscript(Go).Runsaloginscript.
H
Hangup.
I
Togglethetypeofescapesequencethatthecursorkeyssendbetweennormalandapplicationsmode.(Seealsothecommentaboutthestatuslinebelow).
J
Jumptoashell.Onreturn,thewholescreenwillberedrawn.
K
Clearsthescreen,runskermitandredrawsthescreenuponreturn.
L
TurnCapturefileonoff.Ifturnedon,alloutputsenttothescreenwillbecapturedinthefiletoo.
M
Sendsthemodeminitializationstring.IfyouareonlineandtheDCDlinesettingison,youareaskedforconfirmationbeforethemodemisinitialized.
O
Configureminicom.Putsyouintheconfigurationmenu.
P
CommunicationParameters.Allowsyoutochangethebpsrate,parityandnumberofbits.
Q
Exitminicomwithoutresettingthemodem.Ifmacroschangedandwerenotsaved,youwillhaveachancetodoso.
R
Receivefiles.Choosefromvariousprotocols(external).Ifyouhavethefilenameselectionwindowandthepromptfordownloaddirectoryenabled,you'llgetaselectionwindowforchoosingthedirectoryfordownloading.OtherwisethedownloaddirectorydefinedintheFilenamesandpathsmenuwillbeused.
S
Sendfiles.Choosetheprotocollikeyoudowiththereceivecommand.Ifyoudon'thavethefilenameselectionwindowenabled(intheFiletransferprotocolsmenu),you'lljusthavetowritethefilename(s)inadialogwindow.Ifyouhavetheselectionwindowenabled,awindowwillpopupshowingthefilenamesinyouruploaddirectory.Youcantaganduntagfilenamesbypressingspacebar,andmovethecursorupanddownwiththecursorkeysorj/k.Theselectedfilenamesareshown
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- minicom 英文 手册