📄 doc.me
字号:
File name\&: main.c File size\&: 4420 Error check method\&: CRC Est transfer time\&: 0:00:50 Block count\&: 5 Percent complete\&: 11.2% Bytes transferred\&: 640 Errors this block\&: 0 Total error count\&: 0 Last message\&: NONE.sp.T&c.Press <ESC> to abort.TE.)b.Cs.in.lpAs the transfer progresses, the \*(lqblock count\*(rq, \*(lqpercentcomplete\*(rq, and \*(lqbytes transferred\*(rq fields will becontinuously updated. If errors occur the \*(lqerrors this block\*(rqand \*(lqtotal error count\*(rq fields will be updated and the \*(lqlastmessage\*(rq field will contain a message about the error..lpAt the end of the transfer, Pcomm will beep and return to the terminalmode. If an error occurred and the transfer was aborted, you will beprompted to acknowledge the error by pressing a key before returning tothe terminal mode..sh 2 "Receive files".(x \*($n Receive files.)x.lpTo receive a file (or group of files) from a remote system, you'll haveto first instruct the remote system, then type ^A-\*(lqdown arrow\*(rq.Receiving a file is basically the same as sending a file..lp.ft INOTE:\ \ Some systems do not pad the end of the file with control-Z's andtherefore files might grow in length when received..ft.sh 2 "Pass thru mode".(x \*($n Pass thru mode.)x.lpThe pass through mode is used when you have two or more machines in acommunications daisy chain. The following diagram shows an example ofthis type of arrangement:.br.in +0.5i.(b L.TS|c|c|c|c|c|._ _ _IBM PC Unix IBM PC running <---- running <---- running ProComm ----> Pcomm ----> RBBS _ _ _.TE.)b.in.lpIf a file is to be transferred from the last machine to the firstmachine, the middle machine must appear completely transparent. Themiddle machine must \*(lqforward the data\*(rq without altering it inany way. The pass through mode \*(lqexpires\*(rq after a designatedperiod of inactivity, after which the user is returned to the terminalmode..lpTo access the pass through mode, you type ^A-T. The following screenwill appear:.br.CS.(b L.TSbox center;l. Pass Thru Mode.sp.\" spaces out to here Enter the expiration time (5-60 sec) : _ .sp.TE.)b.Cs.lp.ft INOTE:\ \ While in the pass through mode, no Pcomm command to the middlemachine will be honored. Therefore, the \fBonly\fP way to exit thismode is to not type anything on the keyboard until the expiration periodhas elapsed..spNOTE:\ \ The baud rates to and from the middle machine need not be thesame, however the slowest speed determines the overall speed of thetransfer (the weakest link in the chain)..ft R.sh 2 Directory.(x \*($n Directory.)x.lpTo obtain a listing of a directory on the local system while stillrunning Pcomm, you type ^A-F. The following screen will appear:.br.CS.(b L.TSbox center;l. List Directory.sp.\" spaces out to here Current directory: /usr/egray File spec (wildcards allowed): _ .sp.TE.)b.Cs.lpAbbreviations known to the shell are valid. Output is sent through a\*(lqmore\*(rq like program..lp.ft INOTE:\ \ Since we're really doing a popen() to the \*(lqls\*(rq command,additional command line options are also valid..ft.sh 2 "Screen dump".(x \*($n Screen dump.)x.lpTo dump the contents of the current screen (minus any windows showing)you type ^A-G. The contents of the screen are written to the filespecified in the general setup for this purpose. If the file alreadyexists, the screen contents are appended to the file. The message\*(lqscreen dump\*(rq will briefly appear in the status line..lp.ft INOTE:\ \ The screen contents are subject to the available VCS (videocommand sequence) emulation, so an exact representation is notguaranteed..ft.sh 2 "Start data logging".(x \*($n Start data logging.)x.lpTo start the data logging, or change the file used for data logging, youtype ^A-1. The following screen will appear:.br.CS.(b L.TSbox center;l. Start Data Logging.sp.\" spaces out to here Default log file: pcomm.log New log file: _.sp.TE.)b.Cs.lpTo keep the default file, just press a carriage return at the prompt,otherwise, enter a new file name. If the file already exits, the newdata is appended to the file..lpThe status of the logging is shown in the status line..lp.sh 2 "Toggle logging".(x \*($n Toggle logging.)x.lpTo temporarily suspend data logging or to start it again without beingprompted for the file name, you type ^A-2..bp.if e \{.ep.bp\}.sh 1 "DIALING WINDOW".(x .)x _.(x\*($n DIALING WINDOW.)x.lpWhile Pcomm is dialing another system, a screen similar to the followingis shown:.sp.if n .po 0 \" table may be wider than 6.5in.if n .ll 8.5i.CS.(b L.TSbox center;cn..spD I A L I N G W I N D O W.sp_.sp.\" spaces out to hereSystem name\&: C Board Pass number\&: 1Elapse time this try\&: 4Time at start of dial\&: 14:53:36Time at start of this try\&: 14:53:36Connect delay time\&: 35Redial delay time\&: 5Auxiliary\&:Result of last try\&:.T&c..sp <SPACE>: Recycle <DEL>: Remove from queue E: Change delays .spPress <ESC> to abort.TE.)b.Cs.if n .po 1.0i.if n .ll 6.5i.lpItems in the window are continuously updated to show the progress of thedialing attempt..lpThe options available during the dialing window are:.ba +0.5i.lpSPACE) Press the space bar to stop the dialing of the current entry andgo on to the next entry in the queue. If there is only one entry in thequeue, that number is redialed..lpDEL) Press the DEL key to remove the current number from the queue..lpE) Press the letter \*(lqE\*(rq to change the connect delay time, or theredial delay time (the pause between dialing attempts). You will beprompted to save the changes to disk..lp.CS.(b L.TSbox center;l. Change Delay Times.sp.\" spaces out to here Current connect delay time: 35 Current redial delay time: 5.sp New connect delay: _ New redial delay:.sp.TE.)b.Cs.ft INOTE:\ \ While the DEL and E options are being processed, the dialing istemporarily suspended..ft.ba.bp.if e \{.ep.bp\}.sh 1 "SCRIPT COMMANDS".(x .)x _.(x\*($n SCRIPT COMMANDS.)x.lpPcomm doesn't have a built-in script language, instead it uses Unixshell scripts (Bourne shell, C shell, Korn shell, etc) to perform thenecessary \*(lqchat\*(rq sequences to log a user on to a remote system..lpSince shell scripts are run \*(lqoutside\*(rq of Pcomm, the\*(lqpcomm_cmd\*(rq program is used to transmit command sequences toPcomm. For example, a script can contain a line such as \*(lqpcomm_cmddata_log on\*(rq to turn on the data logging feature..lpShell scripts specified in the dialing directory are run \fBafter\fP theconnection to the remote system, while script specified on the commandline (with the \-a option) are run \fBbefore\fP the connection is made.You can make a shell script work under both situations by using the\*(lqpcomm_cmd is connected\*(rq command. See the third example insection 8.4..lpYou may hit the <ESC> key at any time to abort an auto-login scriptbefore it has completed..lp.ft BWARNING:\ \ Any file that has a \*(lqclear text\*(rq (un-encrypted)version of your password is a significant security threat. You shouldremove the read permission to all others..ft.lpIn order to assist in the creation of auto-login scripts, the followingexternal programs have been provided..sh 2 "Pcomm_cmd command".(x \*($n Pcomm_cmd command.)x.lpPcomm_cmd is an external Pcomm support program. It is used from insideshell scripts to access Pcomm commands, such as \*(lqpcomm_cmd sendxmodem junk\*(rq for sending the file \*(lqjunk\*(rq to the remote usingthe xmodem file transfer protocol..lpThe following command line options are supported..in +1.0i.sp.ti -0.5iSET BAUD [ 300 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400 ].brSet the baud rate for the current connection. This feature is for usewith the DIAL MANUAL command, since the baud rate information in thedialing directory entries overrides this value. .sp.ti -0.5iSET PARITY [ EVEN | ODD | NONE ].brSet the parity for the current connection. For use with the DIAL MANUALcommand..sp.ti -0.5iSET DATA_BITS [ 7 | 8 ].brThe number of data bits (word length) used for the current connection.For use with the DIAL MANUAL command..sp.ti -0.5iSET STOP_BITS [ 1 | 2 ].brThe number of stop bits for the current connection. For use with theDIAL MANUAL command..sp.ti -0.5iSET DUPLEX [ HALF | FULL ].brSet the duplex mode (local echo). The HALF option is used if the remotesystem does not echo characters as they are typed..sp.ti -0.5iSET AUX filename.brUse the argument as the auxiliary file associated with the currentconnection. Since chaining of scripts is not supported, this featurewould only be used to set the TTY or modem..sp.ti -0.5iSET HOT_KEY [1-256].brChange the decimal value of the \*(lqhot key\*(rq to this value..sp.ti -0.5iSET ASCII_HOT string.brChange the ASCII representation of the hot key to the given argument. Thelength of the string must be no more than 4 characters wide..sp.ti -0.5iSET FLOW_CTRL [ XON/XOFF | NONE ].brSet the flow control between the local and remote systems to either XON/XOFFor NONE..sp.ti -0.5iSET CR_IN [ CR | CR/LF ].brTranslate in-comming carriage returns carriage return followed by a linefeed, or pass the carriage return through unchanged..sp.ti -0.5iSET CR_OUT [ CR | CR/LF ].brTranslate out-going carriage returns to CR or CR/LF..sp.ti -0.5iSET LOGFILE filename.brChange the name of the default log file. For use with the DATA_LOG command..sp.ti -0.5iSET DUMPFILE filename.brChange the name of the screen dump file. For use with the SCREEN_DUMP command..sp.ti -0.5iSET STRIP [ YES | NO ].brShould the in-comming data be stripped to 7 bits?.sp.ti -0.5iSET LOCAL_ECHO [ YES | NO ].brShould data be shown on the screen during ASCII uploads?.sp.ti -0.5iSET EXPAND [ YES | NO ].brShould blank lines be \*(lqexpanded\*(rq to a line with a single space?For use only during ASCII uploads..sp.ti -0.5iSET CR_DELAY [ 0 | 100 | 150 ].brSet the delay for the carriage returns for ASCII uploads..sp.ti -0.5iSET PACE [ YES | NO ].brShould the entire upload be artificially slowed down? For use during ASCIIuploads..sp.ti -0.5iSET CR_UP [ NONE | ADD_LF | STRIP ].brControls the translation of carriage returns during ASCII uploads..sp.ti -0.5iSET LF_UP [ NONE | ADD_CR | STRIP ].brControls the translation of line feeds during ASCII uploads..sp.ti -0.5iSET TIMER [5-150].brControls the timer (in seconds) that detects the end of an ASCII download..sp.ti -0.5iSET CR_DN [ NONE | ADD_LF | STRIP ].brControls the translation of carriage returns during ASCII downloads..sp.ti -0.5iSET LF_DN [ NONE | ADD_CR | STRIP ].brControls the translation of line feeds during ASCII downloads..sp.ti -0.5iQUERY TTY_NAME.brReturns the name of the current TTY in use or NONE..sp.ti -0.5iQUERY MODEM_NAME.brReturns the name of the current modem in use or NONE..sp.ti -0.5iIF CONNECTED.brReturns a 1 if Pcomm is currently connected to a remote, otherwise a 0..sp.ti -0.5iIF LOG_STATUS.brReturns a 1 if the data logging feature is turned on, otherwise 0..sp.ti -0.5iIF PRINTER_STATUS.brReturns a 1 if the printer is turned on, otherwise 0..sp.ti -0.5iDIAL [ MANUAL phone_number ] entry_number.brDial an entry from the dialing directory. The MANUAL option is used tooptionally dial a phone number without the use of the dialing directory.DIAL returns after 1 attempt. A return code of 1 means a connectionwas made..sp.ti -0.5iREDIAL entry_number.brSimilar to the DIAL command, but 10 attempts are made..sp.ti -0.5iEXIT.brHang up the phone and exit from Pcomm..sp.ti -0.5iCLEAR_SCREEN.brClear the screen..sp.ti -0.5i
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -