⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 doc.me

📁 通讯程序源码
💻 ME
📖 第 1 页 / 共 5 页
字号:
.sp           1) Modem name (1 of 5) ... HAYES           2) Modem init string ..... ATS7=60S11=70E0Q0V1X4&D2!           3) Dialing command ....... ATDT           4) Dialing cmd suffix .... !           5) Hang up string ........ ~~+++~~ATH0!           6) Auto baud detect ...... Y           7) 300 baud connect ...... CONNECT!           8) 1200 baud connect ..... CONNECT 1200           9) 2400 baud connect ..... CONNECT 2400          10) 4800 baud connect .....          11) 9600 baud connect .....          12) 19200 baud connect ....          13) 38400 baud connect ....          14) No connect string 1 ... BUSY          15) No connect string 2 ... VOICE          16) No connect string 3 ... NO CARRIER          17) No connect string 4 ...-----------------------------------------------------------------OPTION ==> _                                Press <ESC> to return.)c.)b.Cs.lpThe fields of the modem setup are:.ba +0.5i.lp1) Modem name.  This is the key word that links the modem database withthe TTY database.  A menu prompt is used to select the modem name (andthe remaining parameters that go with it).  The \*(lq(1 of 5)\*(rq fieldindicates there are additional modems in the database..lp2) Modem initialization string.  This is sent to the modem whenever theport is selected.  Consult your modem manual for the codes to be used.Notice the use of the \*(lq!\*(rq character.  This is the \*(lqcharactersynonym\*(rq for the carriage return..lp.ft INOTE:\ \ See section 3.5 for the complete list of character synonyms.  Toremove the special meaning of a character synonym, you must prepend a\*(lq\e\*(rq to the character..ft.lp3) Dialing command.  The first part of the command to make the modemdial.  It is assumed that the phone number will immediately follow..lp4) Dialing command suffix.  The last part of the command to make themodem dial.  Typically this will be the carriage return \*(lqcharactersynonym\*(rq..lp5) Hang up string.  The command to make the modem hang up the phone.The character synonym for a 1 second pause is the tilde \*(lq~\*(rqcharacter..lp6) Auto baud detect.  Should Pcomm attempt to change the baud rate ofthe TTY to the baud rate matching the connect string?  This featurerequires the connect strings to be unique.  This does not override thelocked speed feature (discussed in section 3.2)..lp7\-13) Connect strings.  The return messages when the modem has connectedto the remote.  If different messages are returned for each baud rate atwhich the modem answers, then they should be specified..lp.ft INOTE:\ \ Pcomm uses the connect strings to determine which baud rates themodem is capable of supporting.  For example, if the 4800 baud connectstring is empty, Pcomm assumes the modem can not support 4800 baud..spNOTE:\ \ If two connect strings are very similar, (for example,\*(lqCONNECT\*(rq is entirely contained in \*(lqCONNECT 1200\*(rq), itis possible that the return code from the modem will match the incorrectstring.  To prevent this from happening, use the command synonym for thecarriage return to terminate the shorter string (for example, use\*(lqCONNECT!\*(rq instead of \*(lqCONNECT\*(rq)..ft.lp14\-17) No connect strings.  The messages returned by the modem when noconnection is made..ba.sh 2 "Terminal setup".(x  \*($n Terminal setup.)x.lpThe terminal setup allows you to define the hot key and the mapping ofthe end-of-line characters.  A typical terminal setup menu will looklike this:.br.CS.(b L.(c---------------------- Terminal Setup ---------------------------.sp              1) Hot key (decimal) ...... 1              2) ASCII version of hot ... ^A.sp              3) Duplex ................. FULL              4) Flow control ........... XON/XOFF              5) CR translation (in) .... CR              6) CR translation (out) ... CR.sp-----------------------------------------------------------------OPTION ==> _                                Press <ESC> to return.)c.)b.Cs.lpThe fields in the terminal setup are:.ba +0.5i.lp1) Hot key.  This is the decimal code for the user definable hot key.Consult an ASCII/decimal conversion chart for the decimal values ofother characters..lp2) ASCII version of hot key.  This is the printable version of the hotkey used by Pcomm in the help screen and status line..lp3) Duplex.  A menu prompt is shown to select between FULL duplex andHALF duplex.  In the half duplex mode, characters sent to the remotesystem are also sent to the screen.  (The duplex mode can also bechanged \*(lqon the fly\*(rq by the ^A-E command.).lp4) Flow control.  A menu prompt is shown to select between XON/XOFF flowcontrol and NONE.  A value of NONE assumes that the hardware (not Pcomm)will perform the flow control..lp.ft INOTE:\ \ If your terminal gets \*(lqstuck\*(rq due to a flow controlproblem, any ^A (hot key) sequence will resume the flow..ft.lp5\-6) CR translations.  The end-of-line characters for both incoming andoutgoing carriage returns can be altered to suit the remote system'sneeds.  A menu prompt provides the following choices:.sp.in +0.5i.nf\(bu CR (no translation)\(bu CR/LF translate CR to CR/LF.fi.in.lpThe incoming CR translation can also be changed \*(lqon the fly\*(rqwith the ^A-3 command..ba.sh 2 "General setup".(x  \*($n General setup.)x.lpThe general setup allows you to define the character synonyms and thedefault files used by the screen dump and other features.  A typicalgeneral setup screen might look like this:.br.CS.(b L.(c------------------------- General Setup -------------------------.sp              1) Default log file ....... pcomm.log              2) Screen dump file ....... pcomm.dump.sp              3) Strip high bit  ........ YES.sp              4) Pause character ........ ~              5) CR character ........... !              6) CTRL character ......... ^              7) ESC character .......... |              8) Break character ........ %.sp              9) Aborted downloads ...... KEEP.sp             10) Connect delay (sec) .... 35             11) Redial delay (sec) ..... 5.sp-----------------------------------------------------------------OPTION ==> _                                Press <ESC> to return.)c.)b.Cs.lpThe general setup fields are:.ba +0.5i.lp1) Default log file.  The file name to be used as the default when thedata logging is activated (^A-1).  The log file name can be changed\*(lqon the fly\*(rq by the ^A-1 command..lp2) Screen dump file.  The file name to be used for the screen dumpcommand (^A-G)..lp3) Strip high bit.  Should Pcomm strip the eighth bit on incoming andoutgoing characters?  A menu prompt allows you to select YES or NO.This feature is not used during file transfers..lp4\-8) Character synonyms.  These are symbols that Pcomm uses to representspecial characters (or perform special functions) when sending commandsto the modem.  Synonyms are useful for entering and displaying specialcharacters in a human readable form.  The synonyms are:.sp.in +0.5i.nf\(bu Pause for 1 second\(bu The carriage return character (control-M)\(bu Convert the next character to control-xx\(bu The escape character (control-[)\(bu Send a modem break.fi.in.lp.ft INOTE:\ \ To prevent the special meaning of one of these characters prependa \*(lq\e\*(rq to it..ft.lp9) Aborted downloads.  When a download aborts (fails), should thepartially completed file be kept?  The menu prompt allows \*(lqKEEP\*(rqor \*(lqDELETE\*(rq..lp10) Connect delay.  The number of seconds Pcomm will wait for the modemto return a status code..lp11) Redial delay.  The number of seconds to wait before Pcomm tries tocall the number again..ba.sh 2 "ASCII transfer setup".(x  \*($n ASCII xfer setup.)x.lpThis setup screen allows you to select options to be used for ASCIIuploads and downloads.  A typical ASCII transfer setup will look likethis:.br.CS.(b L.(c---------------------- ASCII Transfer Setup ---------------------.sp                          ASCII UPLOAD.sp                1) Echo locally ........... NO                2) Expand blank lines ..... NO                3) CR delay (ms) .......... 0                4) Pace the output ........ NO                5) CR translation ......... NONE                6) LF translation ......... ADD CR.sp                         ASCII DOWNLOAD.sp                7) Transfer timeout (sec) . 5                8) CR translation ......... STRIP                9) LF translation ......... NONE.sp-----------------------------------------------------------------OPTION ==> _                                Press <ESC> to return.)c.)b.Cs.lpThe fields are:.ba +0.5i.lp1) Echo locally.  This is similar to the duplex option in that it copiesoutgoing characters to the screen.  The options are YES and NO..lp2) Expand blank lines.  Should a blank line (LF alone) be expanded to aspace and LF?  Some BBS systems use a blank line to signal the end of anASCII upload.  The options are YES and NO..lp3) CR delay.  The delay in milliseconds to be used when sending a CR.The menu prompt limits the choice to 0, 100, or 150..lp4) Pace output.  Should each character sent be delayed?  Very old BBSsystems may require this.  The choice is YES or NO..lp5) CR translation.  The menu prompt provides the following choices forupload translations:.br.in +0.5i.(b L\(bu NONE (no translation)\(bu ADD LF translate CR to CR/LF\(bu STRIP remove the CR character.)b.in.lp6) LF translation. Same as above except the choices are:.br.in +0.5i.(b L\(bu NONE (no translation)\(bu ADD CR translate LF to CR/LF\(bu STRIP remove the LF character.)b.in.lp7) Transfer timeout.  The number of seconds to be used to determine theend of an ASCII download.  You can halt the transfer before the timergoes off by hitting the <ESC> key..lp8\-9) Same as 5) and 6) above, except the translations apply to ASCIIdownloading..ba.sh 2 "External protocol setup".(x  \*($n External protocol.)x.lpThis setup screen allows you to embed the name of external file transferprograms into the list of available protocols.  When transferring files,the external program name will appear on the list of options along withthe built-in protocols..br.CS.(b L.(c-------------------- External Protocol Setup --------------------.sp                            UPLOAD.sp        Name     Command Line             Requires file list?     1) zmodem   sz                               Y     2) kermit   kermit -ivs                      Y     3)                                           N.sp                           DOWNLOAD.sp        Name     Command Line             Requires file list?     4) zmodem   rz                               N     5) kermit   kermit -ivr                      Y     6)                                           N.sp-----------------------------------------------------------------OPTION ==> _                                Press <ESC> to return.)c.)b.Cs.lpTo change a line (or add a new one), enter the line number at theprompt.  You will be prompted for the Name, the Command Line, and the\*(lqRequires file list?\*(rq flag.  To remove an entry, enter a singlespace character at the Name prompt..lpThe Command Line is the Unix command that you would normally type in toinvoke the program (minus the names of the files to be transferred).The last field in the setup is used to indicate whether or not Pcommshould prompt for a list of file names to be added to the command..lp.ft INOTE:\ \ Pcomm adds a single space character and the file names (if any)to the end of the command..spNOTE:\ \ The program itself isn't \*(lqembedded\*(rq into Pcomm (it stillgets called like any other external program), only the name andinvocation information is actually incorporated into Pcomm..ft.bp.if e \{.ep.bp\}.sh 1 "MAJOR FUNCTIONS".(x .)x _.(x\*($n MAJOR FUNCTIONS.)x.lpWhen Pcomm is invoked without the \*(lq\-f\*(rq or \*(lq\-a\*(rq commandline option, you're placed in the terminal mode with a blank screen anda status line.  However, since Pcomm hasn't yet selected a serial portto use, characters typed at the blank screen are ignored.  Normally thefirst command you'll use is ^A-D to bring up the dialing directory menu..sh 2 "Dialing directory".(x  \*($n Dialing directory.)x.lpTo dial another system, you type ^A-D to access the dialing directorymenu, then enter the entry number at the prompt..lpThe entry number could be preceded by a special long distance dialingcode such as \*(lq#5\*(rq in lieu of \*(lq5\*(rq alone.  Long distancecodes could contain access numbers such as those that MCI and Sprintrequire..lpA typical dialing directory will look like this:.br.if n .po 0				\" table may be more than 6.5in wide.if n .ll 8.5i.CS.(b L.TSbox center;c s s s sc c r c ll r r c l..spD I A L I N G       D I R E C T O R Y.sp_.spName	Number	Baud P D S	Dpx	Auxiliary  1- Abbey Road	1 (512) 590-6036	2400-N-8-1	F	  2- Tel-Med-Com	555-8686	9600-E-7-1	F	TELEBIT_V.32  3- C Board	1 (619) 722-8724	2400-N-8-1	F	  4- Crest	1 (213) 471-2518	2400-N-8-1	F	Sample  5- Last Chance	1 (219) 762-8411	2400-E-7-1	F	  6- Killer	1 (214) 827-1994	1200-E-7-1	F	  7- System A (direct)		19200-N-8-1	F	tty12  8-		1200-E-7-1	F	  9-		1200-E-7-1	F	 10-		1200-E-7-1	F	.sp.T&l s s s s..nf   ==> _      R Revise           M Manual Dialing    Entry to Dial              P LD Codes         D Delete Entry      <CR> Scroll Down              <up>/<down> Page   L Print Entries     <ESC> Exit.sp   LD Codes Active: @ #.fi.sp.TE.)b.Cs.if n .po 1.0i.if n .ll 6.5i.lpThe fields of the dialing directory are:.ba +0.5i.lpName) The name of the remote system..lpNumber) The telephone number to the remote system..lp.ft INOTE:\ \ The \*(lq(\*(rq, \*(lq)\*(rq, \*(lq-\*(rq, and space charactersare just for looks, and don't get sent to the modem.  To prevent thestripping of one of these characters, prepend a \*(lq\e\*(rq to it..ft.lpLine settings) The communications settings to be used when dialingthat entry.  The range of values are:.br.in +0.5i.(b L.TSr c c cr l c c.Baud	Parity	Data bits	Stop bits_300	N - none	7	11200	E - even	8	22400	O - odd4800			9600			19200			38400			.TE.)b.in.lpDuplex) The duplex mode.  Either \*(lqF\*(rq for full or\*(lqH\*(rq for half..lpAuxiliary) This field contains the name of a file which has one of threeuses:.lp.in +0.5i1) A shell script to be used during the auto-login \*(lqchat\*(rqsequence..br2) A particular TTY to be used for hard-wired ports..br3) A customized modem configuration to be used for the entry..in.lp.ft INOTE:\ \ On all hard-wired ports, the script field is used to contain thename of the port.  For example, if tty12 is a hard-wired port to\*(lqSystem A\*(rq, then the dialing directory entry for \*(lqSystemA\*(rq will have \*(lqtty12\*(rq in the script field..ft.lp.ft INOTE:\ \ The ability to specify a customized modem configuration allowsyou to tailor each dialing directory entry to meet the peculiar needs ofthe modem at the other end of the connection.  See Appendix C for moredetails..ft.ba.lpThe commands at the dialing directory prompt are:.ba +0.5i.lp

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -