home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / unix / volume26 / pcomm202 / part06 < prev    next >
Encoding:
Text File  |  1993-04-13  |  70.8 KB  |  2,686 lines

  1. Newsgroups: comp.sources.unix
  2. From: fthood!egray@uxc.cso.uiuc.edu (Emmet Gray)
  3. Subject: v26i158: pcomm-2.0.2 - a serial communications program (clone of ProComm), Part06/06
  4. Sender: unix-sources-moderator@vix.com
  5. Approved: paul@vix.com
  6.  
  7. Submitted-By: fthood!egray@uxc.cso.uiuc.edu (Emmet Gray)
  8. Posting-Number: Volume 26, Issue 158
  9. Archive-Name: pcomm-2.0.2/part06
  10.  
  11. #! /bin/sh
  12. # This is a shell archive.  Remove anything before this line, then unpack
  13. # it by saving it into a file and typing "sh file".  To overwrite existing
  14. # files, type "sh file -c".  You can also feed this as standard input via
  15. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  16. # will see the following message at the end:
  17. #        "End of archive 6 (of 6)."
  18. # Contents:  Doc.me
  19. # Wrapped by vixie@gw.home.vix.com on Wed Apr 14 00:38:44 1993
  20. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  21. if test -f 'Doc.me' -a "${1}" != "-c" ; then 
  22.   echo shar: Will not clobber existing file \"'Doc.me'\"
  23. else
  24. echo shar: Extracting \"'Doc.me'\" \(69077 characters\)
  25. sed "s/^X//" >'Doc.me' <<'END_OF_FILE'
  26. X.\" format this thru tbl and the me macro package.
  27. X.po 1.0i                \" 1 inch page offset
  28. X.ps 10                    \" 10 point type
  29. X.nh                    \" no hyphenation
  30. X.ll 6.5i                \" line length (8.5in -1.0in, -1.0in)
  31. X.nr sf 3                \" section font is bold
  32. X.nr tf 1                \" title font is roman
  33. X.\" this macro is used to change the proportional font to 12 pitch
  34. X.\" some folks may need ".cs CW" in lieu of ".cs R 22"
  35. X.de CS
  36. X.cs R 22
  37. X..
  38. X.\" and this one puts things back
  39. X.de Cs
  40. X.cs R
  41. X..
  42. X.tp
  43. X.sp 7
  44. X.CS
  45. X.(l C
  46. PPPPPP    CCCC    OOOO    MM   MM   MM   MM
  47. P    P   C       O    O   M M M M   M M M M
  48. PPPPPP   C       O    O   M  M  M   M  M  M
  49. P        C       O    O   M     M   M     M
  50. P         CCCC    OOOO    M     M   M     M
  51. X.)l
  52. X.Cs
  53. X.sp 7
  54. X.ce 11
  55. Pcomm Reference Manual
  56. X.sp
  57. version 2.0
  58. X.sp 3
  59. X written by
  60. X.sp
  61. XEmmet P. Gray
  62. X.cc A
  63. X...!uunet!uiucuxc!fthood!egray
  64. Acc .
  65. fthood!egray@uxc.cso.uiuc.edu
  66. X.ce 0
  67. X.sp 6
  68. Pcomm is a public domain telecommunication program for Unix that is
  69. designed to operate similarly to the MSDOS program, ProComm.  ProComm (TM)
  70. is copyrighted by Datastorm Technologies, Inc.  This is a completely new
  71. program and contains no ProComm source code.  This is not a Datastorm
  72. product.
  73. X.bp
  74. X.oh ''Pcomm Reference Manual'Page %'
  75. X.eh 'Page %'Pcomm Reference Manual''
  76. X.pn 1
  77. X.ep
  78. X.bp
  79. X.sh 1 INTRODUCTION 
  80. X.(x
  81. X\*($n INTRODUCTION
  82. X.)x
  83. X.lp
  84. Pcomm is a public domain, menu driven, telecommunication program
  85. designed to provide the same \*(lqease of use\*(rq as similar programs
  86. available in MSDOS.  Some of its features are:
  87. X.br
  88. X.in +0.5i
  89. X.(b L
  90. X\(bu Large dialing directory
  91. X\(bu Full scripting feature
  92. X\(bu Automatic redial feature
  93. X\(bu Six built-in file transfer protocols
  94. X\(bu External file transfer program support
  95. X\(bu Data logging (log of the terminal session)
  96. X\(bu Printer logging
  97. X\(bu Screen dump to a file
  98. X\(bu Shell escapes to Unix
  99. X\(bu Help screen
  100. X\(bu Keyboard macros
  101. X\(bu User customization
  102. X\(bu Administrative logging of phone calls
  103. X\(bu Optional modem configuration per dialing directory entry
  104. X\(bu Administrative limits on long distance access
  105. X.)b
  106. X.in
  107. X.lp
  108. Pcomm does not emulate any particular terminal.  Whatever terminal
  109. you're on, is what the remote system \*(lqsees\*(rq.
  110. X.sh 2 Abbreviations
  111. X.(x
  112. X  \*($n Abbreviations
  113. X.)x
  114. X.lp
  115. Pcomm uses the notation \*(lq^A-X\*(rq to mean control-A followed by the
  116. letter X. The dash (\-) in the notation is just for clarity; it is not
  117. included in the actual command sequence.  Also, there is no distinction
  118. between upper and lower case letters.
  119. X.lp
  120. The following abbreviations appear in Pcomm:
  121. X.br
  122. X.in +0.5i
  123. X.(b L
  124. X.TS
  125. l l.
  126. X<CR>    carriage return key (sometimes labeled Enter)
  127. X<ESC>    escape key
  128. X<SPACE>    space bar
  129. X<DEL>    del key
  130. X<up>    up arrow key
  131. X<down>    down arrow key
  132. LF    line feed character (control-J)
  133. CR    carriage return character (control-M)
  134. X.TE
  135. X.)b
  136. X.in
  137. X.sh 2 Requirements
  138. X.(x
  139. X  \*($n Requirements
  140. X.)x
  141. X.lp
  142. Pcomm will not run on terminals with a screen size of less than 80
  143. columns by 24 lines or on terminals that lack cursor movement
  144. capabilities.  For terminals without arrow keys, use the letter
  145. X\*(lqU\*(rq in place of \*(lqup arrow\*(rq and the letter \*(lqN\*(rq in
  146. place of \*(lqdown arrow\*(rq (the letter \*(lqD\*(rq would have been a
  147. more obvious choice, but, unfortunately, it is used elsewhere).
  148. X.sh 2 "Support files"
  149. X.(x
  150. X  \*($n Support files
  151. X.)x
  152. X.lp
  153. Pcomm uses four support files, namely:
  154. X.br
  155. X.in +0.5i
  156. X.(b L
  157. X.TS
  158. l l.
  159. pcomm\^.\^dial_dir    the dialing directory
  160. pcomm\^.\^extrnl    the external file transfer programs
  161. pcomm\^.\^modem    the modem/TTY database
  162. pcomm\^.\^param    the start-up default parameters
  163. X.TE
  164. X.)b
  165. X.in
  166. X.lp
  167. There is a default directory (typically \*(lq/usr/local/lib/pcomm\*(rq)
  168. where the \*(lqstandard\*(rq support files live.  Since the average user
  169. won't have write permission on these files, it's assumed that they will
  170. copy one or more of these standard files to their own directories and
  171. edit them to suit their needs.
  172. X.lp
  173. Pcomm can use the environmental variable \*(lqPCOMM\*(rq to search for
  174. these \*(lqprivate\*(rq support files.  If used, the variable must
  175. contain the path to the directory containing the files.  You can
  176. X\*(lqmix and match\*(rq the use of standard and private support files.
  177. XFor example, the pcomm\^.\^modem file is rarely changed by the user so there
  178. would be no need to copy that file to the private directory.
  179. X.lp
  180. Pcomm also uses normal Unix shell scripts to perform the \*(lqchat\*(rq
  181. sequences necessary to automatically log a user onto a system.
  182. X.lp
  183. The following directories are searched to find the support files and the
  184. shell scripts:
  185. X.br
  186. X.in +0.5i
  187. X.(b L
  188. X1) directory given with the \*(lq\-d\*(rq option
  189. X2) directory in the PCOMM environmental variable
  190. X3) the current working directory
  191. X4) the default directory (compiled into Pcomm)
  192. X.)b
  193. X.in
  194. X.bp
  195. X.\"                    force "chapter" heading to odd page
  196. X.if e \{
  197. X.ep
  198. X.bp\}
  199. X.sh 1 "RUNNING PCOMM"
  200. X.\"                    put a blank line in the index
  201. X.(x
  202. X.)x _
  203. X.(x
  204. X\*($n RUNNING PCOMM
  205. X.)x
  206. X.lp
  207. Pcomm has the following command line syntax.
  208. X.sp
  209. X.in +0.5i
  210. X.(b L
  211. pcomm [\-d directory] [\-f system name] [\-a auxiliary file]
  212. X.br
  213. X.ti +\w'pcomm 'u
  214. X[-e|o|n] [-w word length] [-b baud rate] [-p phone number]
  215. X.)b
  216. X.in
  217. X.lp
  218. The \*(lq\-d\*(rq option allows you to specify an additional path to be
  219. used when searching for the Pcomm support files.  This option is often
  220. useful for \*(lqborrowing\*(rq someone else's dialing directory.
  221. X.lp
  222. The \*(lq\-f\*(rq option is used to specify automatic dialing of an entry
  223. in the dialing directory.  The name field in the dialing directory
  224. X(described later) is checked against the string given on the command
  225. line.  If a match is found, that entry is automatically dialed.  The
  226. match does not consider upper and lower case differences.
  227. X.lp
  228. The \*(lq\-a\*(rq option is used to specify a script file to be
  229. X\*(lqplayed\*(rq prior to dialing, to specify the TTY to be use, or to
  230. specify the modem to be used.  This feature can be used to customize
  231. Pcomm options or perform unattended operations.
  232. X.lp
  233. The remaining options are used to set the parity, data bits, baud rate,
  234. and telephone number from the command line.
  235. X.br
  236. X.in +0.5i
  237. X.(b L
  238. X.TS
  239. l l.
  240. X\-e    Set the parity to even
  241. X\-o    Set the parity to odd
  242. X\-n    Set the parity to none
  243. X\-w    Set the word length (number of data bits)
  244. X\-b    Set the baud rate
  245. X\-p    Dial this number
  246. X.TE
  247. X.)b
  248. X.in
  249. X.sh 2 "Hot key"
  250. X.(x
  251. X  \*($n Hot key
  252. X.)x
  253. X.lp
  254. Pcomm uses a \*(lqhot key\*(rq to precede each command.  (The value of
  255. the hot key is a user tunable parameter, but for the purpose of this
  256. document we'll assume the hot key is defined as control-A).
  257. X.lp
  258. The hot key is used to put Pcomm in the command mode.  For example, to
  259. get the help screen, you type control-A (to get to the command mode)
  260. then the number 0 (to display the help screen).  When a command is
  261. completed, Pcomm returns to the terminal mode.
  262. X.lp
  263. X.ft I
  264. NOTE:\ \ While in the command mode, the communication with the remote
  265. system is temporarily suspended.
  266. X.ft
  267. X.sh 2 "Status line"
  268. X.(x
  269. X  \*($n Status line
  270. X.)x
  271. X.lp
  272. Whenever Pcomm is in the command mode (or is not currently connected to
  273. a remote) a status line is displayed at the bottom of the screen.  A
  274. typical status line might look like this:
  275. X.br
  276. X.if n .po 0                \" table may be more than 6.5in wide
  277. X.if n .ll 8.5i
  278. X.CS
  279. X.(b L
  280. X.TS
  281. box center;
  282. l|l|l|l|l|l|l|l.
  283. X^A-0 HELP     No TTY     FDX     1200 E71     LOG OFF     PTR OFF     CR      CR  
  284. X.TE
  285. X.)b
  286. X.Cs
  287. X.if n .po 1.0i
  288. X.if n .ll 6.5i
  289. X.lp
  290. The eight fields of the status line are:
  291. X.br
  292. X.in +0.5i
  293. X.(b L
  294. X\(bu help screen command (or a temporary message)
  295. X\(bu name of the TTY device in use
  296. X\(bu duplex mode (FDX = full duplex, HDX = half duplex)
  297. X\(bu current connection settings (not necessarily DTE speed)
  298. X\(bu status of data logging option
  299. X\(bu status of printer logging option
  300. X\(bu incoming CR translation
  301. X\(bu outgoing CR translation
  302. X.)b
  303. X.in
  304. X.lp
  305. X.ft I
  306. NOTE:\ \ If the DTE (Data Terminal Equipment) interface speed is locked,
  307. the status line will show the \*(lqconnected\*(rq speed rather than the
  308. speed of the serial port.
  309. X.ft
  310. X.sh 2 "Help screen"
  311. X.(x
  312. X  \*($n Help screen
  313. X.)x
  314. X.lp
  315. The help screen gives a brief review of all the available commands.  To
  316. access the help screen type ^A and \*(lq0\*(rq (zero).  The typical help
  317. screen will look like this:
  318. X.br
  319. X.if n .po 0                \" table may be more than 6.5in wide
  320. X.if n .ll 8.5i
  321. X.CS
  322. X.(b L
  323. X.TS
  324. box center;
  325. c s s
  326. c c c
  327. l l l.
  328. X.sp
  329. P C O M M    H E L P
  330. X.sp
  331. X_
  332. X.sp
  333. Major Functions    Utility Functions    File Functions
  334. X.sp
  335. X Dialing Directory. ^A-D    Program Info .... ^A-I    Send Files .... ^A-<up>
  336. X Auto Redial ...... ^A-R    Setup Screen .... ^A-S    Receive Files . ^A-<down>
  337. X Keyboard Macros .. ^A-M    Change Directory. ^A-B    Pass Thru Mode. ^A-T
  338. X Line Settings .... ^A-P    Clear Screen .... ^A-C    Directory ..... ^A-F
  339. X Exit Pcomm ....... ^A-X    Toggle Duplex ... ^A-E    Screen Dump ... ^A-G
  340. X Unix Gateway ..... ^A-4    Hang Up Phone ... ^A-H    Start Data Log. ^A-1
  341. X Command Files .... ^A-5    Printer On/Off .. ^A-L    Toggle Log .... ^A-2
  342. X    Toggle CR-CR/LF . ^A-3
  343. X    Break Key ....... ^A-7
  344. X.sp
  345. X.T&
  346. c s s.
  347. Press any key to continue
  348. X.TE
  349. X.)b
  350. X.Cs
  351. X.if n .po 1.0i
  352. X.if n .ll 6.5i
  353. X.sh 2 "Exit Pcomm"
  354. X.(x
  355. X  \*($n Exit Pcomm
  356. X.)x
  357. X.lp
  358. To exit Pcomm, you type ^A and \*(lqx\*(rq to access the exit window.
  359. X.br
  360. X.in +0.5i
  361. X.CS
  362. X.(b L
  363. X.TS
  364. box;
  365. l.
  366. X   Exit
  367. X.sp
  368. X.\"                           spaces out to here
  369. X   Exit to Unix? (y/n): _     
  370. X.sp
  371. X.TE
  372. X.)b
  373. X.Cs
  374. X.in
  375. X.lp
  376. To exit, you press the letter \*(lqy\*(rq (carriage return not required).
  377. X.bp
  378. X.if e \{
  379. X.ep
  380. X.bp\}
  381. X.sh 1 "SETUP SCREENS"
  382. X.(x
  383. X.)x _
  384. X.(x
  385. X\*($n SETUP SCREENS
  386. X.)x
  387. X.lp
  388. Pcomm allows you to change many of the default parameters.  The setup
  389. screen is accessed by typing ^A and \*(lqs\*(rq.  The following screen
  390. shows the sub-menu choices:
  391. X.br
  392. X.CS
  393. X.(b L
  394. X.(c
  395. X------------------------- Setup Menu ----------------------------
  396. X.sp
  397. X                      1) TTY Setup
  398. X                      2) Modem Setup
  399. X                      3) Terminal Setup
  400. X                      4) General Setup
  401. X                      5) ASCII Transfer Setup
  402. X                      6) External Protocol Setup
  403. X                      S) Save setup to disk
  404. X.sp
  405. X-----------------------------------------------------------------
  406. OPTION ==> _                                  Press <ESC> to exit
  407. X.)c
  408. X.)b
  409. X.Cs
  410. X.lp
  411. To select one of the sub-menu choices, you type the number (or letter)
  412. at the \*(lqOPTION ==>\*(rq prompt.  To exit from a sub-menu and return
  413. to this setup menu screen, you press the escape key.
  414. X.lp
  415. Changes made affect the current Pcomm session only.  To make the changes
  416. become the default, you select the \*(lqs\*(rq option.
  417. X.sh 2 Prompting
  418. X.(x
  419. X  \*($n Prompting
  420. X.)x
  421. X.lp
  422. There are several different types of prompts used in the setup screens.
  423. The prompts use the bottom two lines on the display for user input and
  424. to give more information on what is being asked.  Pcomm will beep at any
  425. illegal input.  The escape key <ESC> will abort any prompt.  The prompt
  426. types are:
  427. X.sp
  428. X.in +0.5i
  429. X\(bu Character prompt.  Asks you to input a single character.
  430. X.br
  431. X.in +\w'\(bu 'u
  432. X.ti -\w'\(bu 'u
  433. X\(bu String prompt.  Asks you to input a word or group of characters.
  434. X.in 0.5i
  435. X.br
  436. X\(bu Numeric prompt.  Asks you for a number.
  437. X.br
  438. X.in +\w'\(bu 'u
  439. X.ti -\w'\(bu 'u
  440. X\(bu Menu prompt.  Shows a selection and allows you to choose the
  441. current selection by pressing the carriage return or change the
  442. selection by pressing the space bar.
  443. X.in 0
  444. X.sh 2 "TTY setup"
  445. X.(x
  446. X  \*($n TTY setup
  447. X.)x
  448. X.lp
  449. The TTY setup allows you to assign the serial ports that Pcomm is
  450. allowed to use, and what is attached to each port.  A typical TTY setup
  451. screen might look like this:
  452. X.br
  453. X.CS
  454. X.(b L
  455. X.(c
  456. X-------------------------- TTY Setup ----------------------------
  457. X.sp
  458. X            TTY name        Modem name     Locked speed
  459. X.sp
  460. X            1) tty10        HAYES               0
  461. X            2) tty11        HAYES               0
  462. X            3) tty12        DIRECT              0
  463. X            4) tty13        TELEBIT             38400
  464. X            5) tty13        TELEBIT_V.32        38400
  465. X            6) tty13        TELEBIT_PEP         38400
  466. X            7)                                  0
  467. X            8)                                  0
  468. X            9)                                  0
  469. X           10)                                  0
  470. X.sp
  471. X            A) Add a TTY entry                   
  472. X            D) Delete a TTY entry                
  473. X.sp
  474. X-----------------------------------------------------------------
  475. OPTION ==> _                                Press <ESC> to return
  476. X.)c
  477. X.)b
  478. X.Cs
  479. X.lp
  480. You may edit an entry by typing the entry number at the prompt.  To add
  481. an entry, you type \*(lqA\*(rq at the prompt, etc.
  482. X.lp
  483. The TTY setup fields are:
  484. X.ba +0.5i
  485. X.lp
  486. X1) TTY name.  This is the name of the serial port that Pcomm will be
  487. allowed to use.  Notice that the path component of the name,
  488. X\*(lq/dev/\*(rq is not used.
  489. X.lp
  490. X2) Modem name.  This a key word that is used later to link the modem
  491. database with the TTY database.  The name could be any combination of
  492. letters or numbers (both upper and lower case).
  493. X.lp
  494. X.ft I
  495. NOTE:\ \ All hard-wired ports (ports without modems attached) \fBmust\fP
  496. use the word \*(lqDIRECT\*(rq for the modem name.
  497. X.ft R
  498. X.lp
  499. X3) Locked speed.  Normally Pcomm will use the baud rate in the dialing
  500. directory when talking to the modem.  If the locked speed is non-zero,
  501. then the baud rate specified is the only one that will ever be use.  The
  502. baud rate is selected from a \*(lqmenu prompt\*(rq.  See Appendix C for
  503. more information about the use of this feature.
  504. X.lp
  505. X.ft I
  506. NOTE:\ \ It is often best to put the fastest modem/TTYs at the end of the
  507. TTY database.
  508. X.ft
  509. X.ba
  510. X.sh 2 "Modem setup"
  511. X.(x
  512. X  \*($n Modem setup
  513. X.)x
  514. X.lp
  515. The modem setup contains the commands to make the modem dial, hang up
  516. the phone, etc.  A typical modem setup screen might look like this:
  517. X.br
  518. X.CS
  519. X.(b L
  520. X.(c
  521. X-------------------------- Modem Setup --------------------------
  522. X.sp
  523. X           1) Modem name (1 of 5) ... HAYES
  524. X           2) Modem init string ..... ATS7=60S11=70E0Q0V1X4&D2!
  525. X           3) Dialing command ....... ATDT
  526. X           4) Dialing cmd suffix .... !
  527. X           5) Hang up string ........ ~~+++~~ATH0!
  528. X           6) Auto baud detect ...... Y
  529. X           7) 300 baud connect ...... CONNECT!
  530. X           8) 1200 baud connect ..... CONNECT 1200
  531. X           9) 2400 baud connect ..... CONNECT 2400
  532. X          10) 4800 baud connect .....
  533. X          11) 9600 baud connect .....
  534. X          12) 19200 baud connect ....
  535. X          13) 38400 baud connect ....
  536. X          14) No connect string 1 ... BUSY
  537. X          15) No connect string 2 ... VOICE
  538. X          16) No connect string 3 ... NO CARRIER
  539. X          17) No connect string 4 ...
  540. X-----------------------------------------------------------------
  541. OPTION ==> _                                Press <ESC> to return
  542. X.)c
  543. X.)b
  544. X.Cs
  545. X.lp
  546. The fields of the modem setup are:
  547. X.ba +0.5i
  548. X.lp
  549. X1) Modem name.  This is the key word that links the modem database with
  550. the TTY database.  A menu prompt is used to select the modem name (and
  551. the remaining parameters that go with it).  The \*(lq(1 of 5)\*(rq field
  552. indicates there are additional modems in the database.
  553. X.lp
  554. X2) Modem initialization string.  This is sent to the modem whenever the
  555. port is selected.  Consult your modem manual for the codes to be used.
  556. Notice the use of the \*(lq!\*(rq character.  This is the \*(lqcharacter
  557. synonym\*(rq for the carriage return.
  558. X.lp
  559. X.ft I
  560. NOTE:\ \ See section 3.5 for the complete list of character synonyms.  To
  561. remove the special meaning of a character synonym, you must prepend a
  562. X\*(lq\e\*(rq to the character.
  563. X.ft
  564. X.lp
  565. X3) Dialing command.  The first part of the command to make the modem
  566. dial.  It is assumed that the phone number will immediately follow.
  567. X.lp
  568. X4) Dialing command suffix.  The last part of the command to make the
  569. modem dial.  Typically this will be the carriage return \*(lqcharacter
  570. synonym\*(rq.
  571. X.lp
  572. X5) Hang up string.  The command to make the modem hang up the phone.
  573. The character synonym for a 1 second pause is the tilde \*(lq~\*(rq
  574. character.
  575. X.lp
  576. X6) Auto baud detect.  Should Pcomm attempt to change the baud rate of
  577. the TTY to the baud rate matching the connect string?  This feature
  578. requires the connect strings to be unique.  This does not override the
  579. locked speed feature (discussed in section 3.2).
  580. X.lp
  581. X7\-13) Connect strings.  The return messages when the modem has connected
  582. to the remote.  If different messages are returned for each baud rate at
  583. which the modem answers, then they should be specified.
  584. X.lp
  585. X.ft I
  586. NOTE:\ \ Pcomm uses the connect strings to determine which baud rates the
  587. modem is capable of supporting.  For example, if the 4800 baud connect
  588. string is empty, Pcomm assumes the modem can not support 4800 baud.
  589. X.sp
  590. NOTE:\ \ If two connect strings are very similar, (for example,
  591. X\*(lqCONNECT\*(rq is entirely contained in \*(lqCONNECT 1200\*(rq), it
  592. is possible that the return code from the modem will match the incorrect
  593. string.  To prevent this from happening, use the command synonym for the
  594. carriage return to terminate the shorter string (for example, use
  595. X\*(lqCONNECT!\*(rq instead of \*(lqCONNECT\*(rq).
  596. X.ft
  597. X.lp
  598. X14\-17) No connect strings.  The messages returned by the modem when no
  599. connection is made.
  600. X.ba
  601. X.sh 2 "Terminal setup"
  602. X.(x
  603. X  \*($n Terminal setup
  604. X.)x
  605. X.lp
  606. The terminal setup allows you to define the hot key and the mapping of
  607. the end-of-line characters.  A typical terminal setup menu will look
  608. like this:
  609. X.br
  610. X.CS
  611. X.(b L
  612. X.(c
  613. X---------------------- Terminal Setup ---------------------------
  614. X.sp
  615. X              1) Hot key (decimal) ...... 1
  616. X              2) ASCII version of hot ... ^A
  617. X.sp
  618. X              3) Duplex ................. FULL
  619. X              4) Flow control ........... XON/XOFF
  620. X              5) CR translation (in) .... CR
  621. X              6) CR translation (out) ... CR
  622. X.sp
  623. X-----------------------------------------------------------------
  624. OPTION ==> _                                Press <ESC> to return
  625. X.)c
  626. X.)b
  627. X.Cs
  628. X.lp
  629. The fields in the terminal setup are:
  630. X.ba +0.5i
  631. X.lp
  632. X1) Hot key.  This is the decimal code for the user definable hot key.
  633. Consult an ASCII/decimal conversion chart for the decimal values of
  634. other characters.
  635. X.lp
  636. X2) ASCII version of hot key.  This is the printable version of the hot
  637. key used by Pcomm in the help screen and status line.
  638. X.lp
  639. X3) Duplex.  A menu prompt is shown to select between FULL duplex and
  640. HALF duplex.  In the half duplex mode, characters sent to the remote
  641. system are also sent to the screen.  (The duplex mode can also be
  642. changed \*(lqon the fly\*(rq by the ^A-E command.)
  643. X.lp
  644. X4) Flow control.  A menu prompt is shown to select between XON/XOFF flow
  645. control and NONE.  A value of NONE assumes that the hardware (not Pcomm)
  646. will perform the flow control.
  647. X.lp
  648. X.ft I
  649. NOTE:\ \ If your terminal gets \*(lqstuck\*(rq due to a flow control
  650. problem, any ^A (hot key) sequence will resume the flow.
  651. X.ft
  652. X.lp
  653. X5\-6) CR translations.  The end-of-line characters for both incoming and
  654. outgoing carriage returns can be altered to suit the remote system's
  655. needs.  A menu prompt provides the following choices:
  656. X.sp
  657. X.in +0.5i
  658. X.nf
  659. X\(bu CR (no translation)
  660. X\(bu CR/LF translate CR to CR/LF
  661. X.fi
  662. X.in
  663. X.lp
  664. The incoming CR translation can also be changed \*(lqon the fly\*(rq
  665. with the ^A-3 command.
  666. X.ba
  667. X.sh 2 "General setup"
  668. X.(x
  669. X  \*($n General setup
  670. X.)x
  671. X.lp
  672. The general setup allows you to define the character synonyms and the
  673. default files used by the screen dump and other features.  A typical
  674. general setup screen might look like this:
  675. X.br
  676. X.CS
  677. X.(b L
  678. X.(c
  679. X------------------------- General Setup -------------------------
  680. X.sp
  681. X              1) Default log file ....... pcomm.log
  682. X              2) Screen dump file ....... pcomm.dump
  683. X.sp
  684. X              3) Strip high bit  ........ YES
  685. X.sp
  686. X              4) Pause character ........ ~
  687. X              5) CR character ........... !
  688. X              6) CTRL character ......... ^
  689. X              7) ESC character .......... |
  690. X              8) Break character ........ %
  691. X.sp
  692. X              9) Aborted downloads ...... KEEP
  693. X.sp
  694. X             10) Connect delay (sec) .... 35
  695. X             11) Redial delay (sec) ..... 5
  696. X.sp
  697. X-----------------------------------------------------------------
  698. OPTION ==> _                                Press <ESC> to return
  699. X.)c
  700. X.)b
  701. X.Cs
  702. X.lp
  703. The general setup fields are:
  704. X.ba +0.5i
  705. X.lp
  706. X1) Default log file.  The file name to be used as the default when the
  707. data logging is activated (^A-1).  The log file name can be changed
  708. X\*(lqon the fly\*(rq by the ^A-1 command.
  709. X.lp
  710. X2) Screen dump file.  The file name to be used for the screen dump
  711. command (^A-G).
  712. X.lp
  713. X3) Strip high bit.  Should Pcomm strip the eighth bit on incoming and
  714. outgoing characters?  A menu prompt allows you to select YES or NO.
  715. This feature is not used during file transfers.
  716. X.lp
  717. X4\-8) Character synonyms.  These are symbols that Pcomm uses to represent
  718. special characters (or perform special functions) when sending commands
  719. to the modem.  Synonyms are useful for entering and displaying special
  720. characters in a human readable form.  The synonyms are:
  721. X.sp
  722. X.in +0.5i
  723. X.nf
  724. X\(bu Pause for 1 second
  725. X\(bu The carriage return character (control-M)
  726. X\(bu Convert the next character to control-xx
  727. X\(bu The escape character (control-[)
  728. X\(bu Send a modem break
  729. X.fi
  730. X.in
  731. X.lp
  732. X.ft I
  733. NOTE:\ \ To prevent the special meaning of one of these characters prepend
  734. a \*(lq\e\*(rq to it.
  735. X.ft
  736. X.lp
  737. X9) Aborted downloads.  When a download aborts (fails), should the
  738. partially completed file be kept?  The menu prompt allows \*(lqKEEP\*(rq
  739. or \*(lqDELETE\*(rq.
  740. X.lp
  741. X10) Connect delay.  The number of seconds Pcomm will wait for the modem
  742. to return a status code.
  743. X.lp
  744. X11) Redial delay.  The number of seconds to wait before Pcomm tries to
  745. call the number again.
  746. X.ba
  747. X.sh 2 "ASCII transfer setup"
  748. X.(x
  749. X  \*($n ASCII xfer setup
  750. X.)x
  751. X.lp
  752. This setup screen allows you to select options to be used for ASCII
  753. uploads and downloads.  A typical ASCII transfer setup will look like
  754. this:
  755. X.br
  756. X.CS
  757. X.(b L
  758. X.(c
  759. X---------------------- ASCII Transfer Setup ---------------------
  760. X.sp
  761. X                          ASCII UPLOAD
  762. X.sp
  763. X                1) Echo locally ........... NO
  764. X                2) Expand blank lines ..... NO
  765. X                3) CR delay (ms) .......... 0
  766. X                4) Pace the output ........ NO
  767. X                5) CR translation ......... NONE
  768. X                6) LF translation ......... ADD CR
  769. X.sp
  770. X                         ASCII DOWNLOAD
  771. X.sp
  772. X                7) Transfer timeout (sec) . 5
  773. X                8) CR translation ......... STRIP
  774. X                9) LF translation ......... NONE
  775. X.sp
  776. X-----------------------------------------------------------------
  777. OPTION ==> _                                Press <ESC> to return
  778. X.)c
  779. X.)b
  780. X.Cs
  781. X.lp
  782. The fields are:
  783. X.ba +0.5i
  784. X.lp
  785. X1) Echo locally.  This is similar to the duplex option in that it copies
  786. outgoing characters to the screen.  The options are YES and NO.
  787. X.lp
  788. X2) Expand blank lines.  Should a blank line (LF alone) be expanded to a
  789. space and LF?  Some BBS systems use a blank line to signal the end of an
  790. ASCII upload.  The options are YES and NO.
  791. X.lp
  792. X3) CR delay.  The delay in milliseconds to be used when sending a CR.
  793. The menu prompt limits the choice to 0, 100, or 150.
  794. X.lp
  795. X4) Pace output.  Should each character sent be delayed?  Very old BBS
  796. systems may require this.  The choice is YES or NO.
  797. X.lp
  798. X5) CR translation.  The menu prompt provides the following choices for
  799. upload translations:
  800. X.br
  801. X.in +0.5i
  802. X.(b L
  803. X\(bu NONE (no translation)
  804. X\(bu ADD LF translate CR to CR/LF
  805. X\(bu STRIP remove the CR character
  806. X.)b
  807. X.in
  808. X.lp
  809. X6) LF translation. Same as above except the choices are:
  810. X.br
  811. X.in +0.5i
  812. X.(b L
  813. X\(bu NONE (no translation)
  814. X\(bu ADD CR translate LF to CR/LF
  815. X\(bu STRIP remove the LF character
  816. X.)b
  817. X.in
  818. X.lp
  819. X7) Transfer timeout.  The number of seconds to be used to determine the
  820. end of an ASCII download.  You can halt the transfer before the timer
  821. goes off by hitting the <ESC> key.
  822. X.lp
  823. X8\-9) Same as 5) and 6) above, except the translations apply to ASCII
  824. downloading.
  825. X.ba
  826. X.sh 2 "External protocol setup"
  827. X.(x
  828. X  \*($n External protocol
  829. X.)x
  830. X.lp
  831. This setup screen allows you to embed the name of external file transfer
  832. programs into the list of available protocols.  When transferring files,
  833. the external program name will appear on the list of options along with
  834. the built-in protocols.
  835. X.br
  836. X.CS
  837. X.(b L
  838. X.(c
  839. X-------------------- External Protocol Setup --------------------
  840. X.sp
  841. X                            UPLOAD
  842. X.sp
  843. X        Name     Command Line             Requires file list?
  844. X     1) zmodem   sz                               Y
  845. X     2) kermit   kermit -ivs                      Y
  846. X     3)                                           N
  847. X.sp
  848. X                           DOWNLOAD
  849. X.sp
  850. X        Name     Command Line             Requires file list?
  851. X     4) zmodem   rz                               N
  852. X     5) kermit   kermit -ivr                      Y
  853. X     6)                                           N
  854. X.sp
  855. X-----------------------------------------------------------------
  856. OPTION ==> _                                Press <ESC> to return
  857. X.)c
  858. X.)b
  859. X.Cs
  860. X.lp
  861. To change a line (or add a new one), enter the line number at the
  862. prompt.  You will be prompted for the Name, the Command Line, and the
  863. X\*(lqRequires file list?\*(rq flag.  To remove an entry, enter a single
  864. space character at the Name prompt.
  865. X.lp
  866. The Command Line is the Unix command that you would normally type in to
  867. invoke the program (minus the names of the files to be transferred).
  868. The last field in the setup is used to indicate whether or not Pcomm
  869. should prompt for a list of file names to be added to the command.
  870. X.lp
  871. X.ft I
  872. NOTE:\ \ Pcomm adds a single space character and the file names (if any)
  873. to the end of the command.
  874. X.sp
  875. NOTE:\ \ The program itself isn't \*(lqembedded\*(rq into Pcomm (it still
  876. gets called like any other external program), only the name and
  877. invocation information is actually incorporated into Pcomm.
  878. X.ft
  879. X.bp
  880. X.if e \{
  881. X.ep
  882. X.bp\}
  883. X.sh 1 "MAJOR FUNCTIONS"
  884. X.(x
  885. X.)x _
  886. X.(x
  887. X\*($n MAJOR FUNCTIONS
  888. X.)x
  889. X.lp
  890. When Pcomm is invoked without the \*(lq\-f\*(rq or \*(lq\-a\*(rq command
  891. line option, you're placed in the terminal mode with a blank screen and
  892. a status line.  However, since Pcomm hasn't yet selected a serial port
  893. to use, characters typed at the blank screen are ignored.  Normally the
  894. first command you'll use is ^A-D to bring up the dialing directory menu.
  895. X.sh 2 "Dialing directory"
  896. X.(x
  897. X  \*($n Dialing directory
  898. X.)x
  899. X.lp
  900. To dial another system, you type ^A-D to access the dialing directory
  901. menu, then enter the entry number at the prompt.
  902. X.lp
  903. The entry number could be preceded by a special long distance dialing
  904. code such as \*(lq#5\*(rq in lieu of \*(lq5\*(rq alone.  Long distance
  905. codes could contain access numbers such as those that MCI and Sprint
  906. require.
  907. X.lp
  908. A typical dialing directory will look like this:
  909. X.br
  910. X.if n .po 0                \" table may be more than 6.5in wide
  911. X.if n .ll 8.5i
  912. X.CS
  913. X.(b L
  914. X.TS
  915. box center;
  916. c s s s s
  917. c c r c l
  918. l r r c l.
  919. X.sp
  920. D I A L I N G       D I R E C T O R Y
  921. X.sp
  922. X_
  923. X.sp
  924. Name    Number    Baud P D S    Dpx    Auxiliary
  925. X  1- Abbey Road    1 (512) 590-6036    2400-N-8-1    F    
  926. X  2- Tel-Med-Com    555-8686    9600-E-7-1    F    TELEBIT_V.32
  927. X  3- C Board    1 (619) 722-8724    2400-N-8-1    F    
  928. X  4- Crest    1 (213) 471-2518    2400-N-8-1    F    Sample
  929. X  5- Last Chance    1 (219) 762-8411    2400-E-7-1    F    
  930. X  6- Killer    1 (214) 827-1994    1200-E-7-1    F    
  931. X  7- System A (direct)        19200-N-8-1    F    tty12
  932. X  8-        1200-E-7-1    F    
  933. X  9-        1200-E-7-1    F    
  934. X 10-        1200-E-7-1    F    
  935. X.sp
  936. X.T&
  937. l s s s s.
  938. X.nf
  939. X   ==> _      R Revise           M Manual Dialing    Entry to Dial
  940. X              P LD Codes         D Delete Entry      <CR> Scroll Down
  941. X              <up>/<down> Page   L Print Entries     <ESC> Exit
  942. X.sp
  943. X   LD Codes Active: @ #
  944. X.fi
  945. X.sp
  946. X.TE
  947. X.)b
  948. X.Cs
  949. X.if n .po 1.0i
  950. X.if n .ll 6.5i
  951. X.lp
  952. The fields of the dialing directory are:
  953. X.ba +0.5i
  954. X.lp
  955. Name) The name of the remote system.
  956. X.lp
  957. Number) The telephone number to the remote system.
  958. X.lp
  959. X.ft I
  960. NOTE:\ \ The \*(lq(\*(rq, \*(lq)\*(rq, \*(lq-\*(rq, and space characters
  961. are just for looks, and don't get sent to the modem.  To prevent the
  962. stripping of one of these characters, prepend a \*(lq\e\*(rq to it.
  963. X.ft
  964. X.lp
  965. Line settings) The communications settings to be used when dialing
  966. that entry.  The range of values are:
  967. X.br
  968. X.in +0.5i
  969. X.(b L
  970. X.TS
  971. r c c c
  972. r l c c.
  973. Baud    Parity    Data bits    Stop bits
  974. X_
  975. X300    N - none    7    1
  976. X1200    E - even    8    2
  977. X2400    O - odd
  978. X4800            
  979. X9600            
  980. X19200            
  981. X38400            
  982. X.TE
  983. X.)b
  984. X.in
  985. X.lp
  986. Duplex) The duplex mode.  Either \*(lqF\*(rq for full or
  987. X\*(lqH\*(rq for half.
  988. X.lp
  989. Auxiliary) This field contains the name of a file which has one of three
  990. uses:
  991. X.lp
  992. X.in +0.5i
  993. X1) A shell script to be used during the auto-login \*(lqchat\*(rq
  994. sequence.
  995. X.br
  996. X2) A particular TTY to be used for hard-wired ports.
  997. X.br
  998. X3) A customized modem configuration to be used for the entry.
  999. X.in
  1000. X.lp
  1001. X.ft I
  1002. NOTE:\ \ On all hard-wired ports, the script field is used to contain the
  1003. name of the port.  For example, if tty12 is a hard-wired port to
  1004. X\*(lqSystem A\*(rq, then the dialing directory entry for \*(lqSystem
  1005. A\*(rq will have \*(lqtty12\*(rq in the script field.
  1006. X.ft
  1007. X.lp
  1008. X.ft I
  1009. NOTE:\ \ The ability to specify a customized modem configuration allows
  1010. you to tailor each dialing directory entry to meet the peculiar needs of
  1011. the modem at the other end of the connection.  See Appendix C for more
  1012. details.
  1013. X.ft
  1014. X.ba
  1015. X.lp
  1016. The commands at the dialing directory prompt are:
  1017. X.ba +0.5i
  1018. X.lp
  1019. R) Revise (or add) a dialing directory entry or long distance dialing
  1020. code.  Prompts you to save the changes to disk.  A typical revise screen
  1021. would look like this:
  1022. X.br
  1023. X.CS
  1024. X.(b L
  1025. X.TS
  1026. box center;
  1027. l.
  1028. X.sp
  1029. X.\"                                                      spaces out to here
  1030. X   Entry to revise? _        (Entry Number, +,-,@,#)     
  1031. X.sp
  1032. X.TE
  1033. X.)b
  1034. X.Cs
  1035. X.lp
  1036. If a dialing directory entry is selected, each field of the entry is
  1037. shown with its current settings.  You can enter a new value, press a
  1038. carriage return to skip past a field, or enter a single space character
  1039. to erase a field.  An <ESC> at any field will abort the command.
  1040. X.lp
  1041. P) Print (display) the long distance dialing codes.
  1042. X.lp
  1043. X<up>/<down>) Scroll the dialing directory up or down 10 lines.  Use the
  1044. up and down arrow keys to access this feature.
  1045. X.lp
  1046. M) Manual dial.  Prompts you for a phone number rather than using a
  1047. number already in the dialing directory.
  1048. X.lp
  1049. D) Delete an entry or a range of entries.  Prompts you to save the
  1050. changes to disk.
  1051. X.lp
  1052. L) Print.  Send the dialing directory to the printer or a file of your
  1053. choice.
  1054. X.lp
  1055. X1\-100) Entry number.  Dial the phone for that entry number.  If the
  1056. script field contains the name of a valid Unix shell script, that script
  1057. is \*(lqplayed\*(rq after the connection is made to perform the
  1058. auto-login \*(lqchat\*(rq sequences.  See section 8 of this manual for
  1059. more details on the format and use of script commands.
  1060. X.lp
  1061. X.ft I
  1062. NOTE:\ \ To access the port directly without dialing (perhaps to send the
  1063. dial codes yourself), select an empty entry or enter a single space
  1064. character at the phone number prompt of the manual dial option.
  1065. X.ft
  1066. X.lp
  1067. X<CR> Carriage return.  Scroll the dialing directory down one line.
  1068. X.ba
  1069. X.sh 2 Redial
  1070. X.(x
  1071. X  \*($n Redial
  1072. X.)x
  1073. X.lp
  1074. The redial feature is a misnomer; it really is a queuing system that
  1075. allows Pcomm to dial several numbers in a cycle until one of them
  1076. answers.
  1077. X.lp
  1078. When you invoke the redial command with ^A-R, you're prompted for a list
  1079. of dialing directory numbers.  (You may also prepend a long distance
  1080. code to the entry number).
  1081. X.br
  1082. X.CS
  1083. X.(b L
  1084. X.TS
  1085. box center;
  1086. l.
  1087. X   Redial Queue
  1088. X.sp
  1089. X.\"                                                           spaces out to here
  1090. X   Directory Entry Number(s): _                               
  1091. X.sp
  1092. X.T&
  1093. c.
  1094. X(<CR> for previous numbers)
  1095. X.TE
  1096. X.)b
  1097. X.Cs
  1098. X.lp
  1099. To redial the previous number, press a carriage return alone at the
  1100. prompt.  An <ESC> aborts this command.
  1101. X.sh 2 "Keyboard macros"
  1102. X.(x
  1103. X  \*($n Keyboard macros
  1104. X.)x
  1105. X.lp
  1106. Keyboard macros are used as a shortcut to send commonly used strings to
  1107. the remote system with only a few keystrokes.  The characters used to
  1108. identify the macros are the shifted number keys.  For example, if the
  1109. string \*(lqls -alRF \e| more!\*(rq was assigned to the \*(lq!\*(rq key
  1110. X(the shifted number 1 key), then when you press ^A-!, the string
  1111. X\*(lqls -alRF | more\*(rq is sent to the remote (followed by a <CR>
  1112. because of the \*(lq!\*(rq character synonym).  Notice the use of the
  1113. X\*(lq\e\*(rq character to remove the special meaning of the \*(lg|\*(rq
  1114. character synonym.
  1115. X.lp
  1116. To review or edit the keyboard macros, you type ^A-M.  The following
  1117. screen will appear:
  1118. X.br
  1119. X.CS
  1120. X.(b L
  1121. X.TS
  1122. box center;
  1123. c
  1124. l.
  1125. Keyboard Macros
  1126. X.sp
  1127. X_
  1128. X.sp
  1129. X.\"                                                   spaces out to here
  1130. X  ^A-! ls -alRF \e| more!                             
  1131. X  ^A-@ 
  1132. X  ^A-# 
  1133. X  ^A-$ 
  1134. X  ^A-% 
  1135. X  ^A-^
  1136. X  ^A-&
  1137. X  ^A-*
  1138. X  ^A-(
  1139. X  ^A-)
  1140. X.sp
  1141. X  Macro key to revise: _ 
  1142. X.sp
  1143. X.T&
  1144. c.
  1145. Press <ESC> to continue
  1146. X.TE
  1147. X.)b
  1148. X.Cs
  1149. X.lp
  1150. To edit a macro, you type the macro key character (without the leading
  1151. hot key).  After typing the new string information, you will be prompted
  1152. to save the changes to disk.  To erase an entry enter a single space
  1153. character.
  1154. X.lp
  1155. X.ft I
  1156. NOTE:\ \ All of the character synonyms described in section 3.5 are
  1157. available for use with the keyboard macros.
  1158. X.ft
  1159. X.sh 2 "Line settings"
  1160. X.(x
  1161. X  \*($n Line settings
  1162. X.)x
  1163. X.lp
  1164. The line settings menu is invoked by ^A-P.  A typical line settings menu
  1165. will look like this:
  1166. X.br
  1167. X.CS
  1168. X.(b L
  1169. X.TS
  1170. box center;
  1171. c
  1172. l.
  1173. Line Settings
  1174. X_
  1175. X.sp
  1176. X       Current Settings:  1200,E,7,1           
  1177. X.sp
  1178. X     1)    300,E,7,1      8)    300,N,8,1      
  1179. X     2)   1200,E,7,1      9)   1200,N,8,1      
  1180. X     3)   2400,E,7,1     10)   2400,N,8,1      
  1181. X     4)   4800,E,7,1     11)   4800,N,8,1      
  1182. X     5)   9600,E,7,1     12)   9600,N,8,1      
  1183. X     6)  19200,E,7,1     13)  19200,N,8,1      
  1184. X     7)  38400,E,7,1     14)  38400,N,8,1      
  1185. X.sp
  1186. X   Parity       Data Bits       Stop Bits      
  1187. X   15) Odd      16) 7 bits      18) 1 bit      
  1188. X                17) 8 bits      19) 2 bits     
  1189. X.sp
  1190. X   20) Save Changes      YOUR CHOICE: _        
  1191. X.sp
  1192. X.T&
  1193. c.
  1194. Press <ESC> to return
  1195. X.TE
  1196. X.)b
  1197. X.Cs
  1198. X.lp
  1199. While dialing a remote, the line settings in the dialing directory entry
  1200. are automatically used.  Therefore the line settings menu is used to
  1201. fine tune the values during a terminal session or to select the
  1202. parameters for manual dialing.  You can make the current setting the
  1203. default by selecting the \*(lqSave Changes\*(rq option.
  1204. X.lp
  1205. The current line settings are also displayed in the status line.
  1206. X.lp
  1207. X.ft I
  1208. NOTE:\ \ During file transfers, certain parameters (namely the data bits
  1209. and parity) will be temporarily changed.  The status line will \fBnot\fP
  1210. reflect these temporary promotions.
  1211. X.ft R
  1212. X.sh 2 "Exit Pcomm"
  1213. X.(x
  1214. X  \*($n Exit Pcomm
  1215. X.)x
  1216. X.lp
  1217. To exit Pcomm, you type ^A-X.  The phone is hung up (if a call was in
  1218. progress), the print and data logging features are closed, and the TTY
  1219. resources are released.
  1220. X.lp
  1221. X.ft I
  1222. NOTE:\ \ Pcomm drops the DTR (Data Terminal Ready) on the port before
  1223. exiting to Unix.
  1224. X.ft
  1225. X.sh 2 "Unix gateway"
  1226. X.(x
  1227. X  \*($n Unix gateway
  1228. X.)x
  1229. X.lp
  1230. To temporarily suspend Pcomm and spawn a Unix shell, you type ^A-4.  To
  1231. return to Pcomm, you exit the shell normally, typically with ^D or
  1232. X\*(lqexit\*(rq.
  1233. X.lp
  1234. X.ft I
  1235. NOTE:\ \ The SHELL environmental variable is used to determine which
  1236. program to invoke.
  1237. X.ft
  1238. X.sh 2 "Command files"
  1239. X.(x
  1240. X  \*($n Command files
  1241. X.)x
  1242. X.lp
  1243. Command files (shell scripts) can be invoked by typing ^A-5 to automate
  1244. keyboard input and to perform Pcomm command sequences.  The following window
  1245. will prompt for the file name.
  1246. X.br
  1247. X.CS
  1248. X.(b L
  1249. X.TS
  1250. box center;
  1251. l.
  1252. X   Command Files
  1253. X.sp
  1254. X.\"                                                           spaces out to here
  1255. X   Shell script: _                                            
  1256. X.sp
  1257. X.TE
  1258. X.)b
  1259. X.Cs
  1260. X.lp
  1261. The use of shell scripts is discussed in section 8.
  1262. X.bp
  1263. X.if e \{
  1264. X.ep
  1265. X.bp\}
  1266. X.sh 1 "UTILITY FUNCTIONS"
  1267. X.(x
  1268. X.)x _
  1269. X.(x
  1270. X\*($n UTILITY FUNCTIONS
  1271. X.)x
  1272. X.lp
  1273. The following commands perform secondary functions.
  1274. X.sh 2 "Program information"
  1275. X.(x
  1276. X  \*($n Program info
  1277. X.)x
  1278. X.lp
  1279. To display the opening information screen, you type ^A-I.  Press any key
  1280. to return to the terminal mode.
  1281. X.sh 2 "Setup screen"
  1282. X.(x
  1283. X  \*($n Setup screen
  1284. X.)x
  1285. X.lp
  1286. The setup screens are described in detail in section 3 of this manual.
  1287. X.sh 2 "Change directory"
  1288. X.(x
  1289. X  \*($n Change directory
  1290. X.)x
  1291. X.lp
  1292. To change the current working directory while still inside Pcomm, you
  1293. type ^A-B.  A screen similar to the following will appear:
  1294. X.br
  1295. X.CS
  1296. X.(b L
  1297. X.TS
  1298. box center;
  1299. l.
  1300. X   Change Directory
  1301. X.sp
  1302. X.\"                                                           spaces out to here
  1303. X   Current directory: /usr/egray                              
  1304. X   New directory: _ 
  1305. X.sp
  1306. X.TE
  1307. X.)b
  1308. X.Cs
  1309. X.lp
  1310. Abbreviations known to the shell are acceptable; for example, the
  1311. X\*(lq~\*(rq character will be translated to the home directory in the
  1312. csh or ksh shell.
  1313. X.sh 2 "Clear screen"
  1314. X.(x
  1315. X  \*($n Clear screen
  1316. X.)x
  1317. X.lp
  1318. To clear the local screen and home the cursor, you type ^A-C.
  1319. X.lp
  1320. X.ft I
  1321. NOTE:\ \ The remote system may not \*(lqknow\*(rq the screen has been
  1322. cleared, and may make assumptions about the screen that are incorrect.
  1323. X.ft
  1324. X.sh 2 "Toggle duplex"
  1325. X.(x
  1326. X  \*($n Toggle duplex
  1327. X.)x
  1328. X.lp
  1329. The ^A-E command changes the duplex mode from FULL to HALF, or from HALF
  1330. to FULL.  The status line shows the current duplex mode.  Use the
  1331. Terminal Setup to make permanent changes to the duplex mode.
  1332. X.sh 2 "Hang up the phone"
  1333. X.(x
  1334. X  \*($n Hang up the phone
  1335. X.)x
  1336. X.lp
  1337. To hang up the phone, you type ^A-H.  The word \*(lqdisconnecting\*(rq
  1338. will briefly show in the status line.
  1339. X.lp
  1340. X.ft I
  1341. NOTE:\ \ Pcomm does not drop the DTR (Data Terminal Ready) during the hang up.
  1342. X.ft
  1343. X.sh 2 "Printer logging"
  1344. X.(x
  1345. X  \*($n Printer logging
  1346. X.)x
  1347. X.lp
  1348. The ^A-L command toggles the printer logging on or off.  The current
  1349. printer status is displayed in the status line.
  1350. X.lp
  1351. X.ft I
  1352. NOTE:\ \ Since all printing goes to the normal Unix print spool program,
  1353. the characters will not print on the printer as they appear on the
  1354. screen.  The printing will actually begin when the printer logging is
  1355. turned \fBoff\fP and the complete print job is sent to the spool.
  1356. X.ft R
  1357. X.sh 2 "Toggle CR \- CR/LF"
  1358. X.(x
  1359. X  \*($n Toggle CR \- CR/LF
  1360. X.)x
  1361. X.lp
  1362. The ^A-3 command toggles the incoming line termination characters
  1363. between CR and CR/LF.  The status line shows the current settings (in
  1364. the next to the last field).
  1365. X.sh 2 "Break"
  1366. X.(x
  1367. X  \*($n Break
  1368. X.)x
  1369. X.lp
  1370. The ^A-7 command sends a modem break to the remote system.  The word
  1371. X\*(lqbreak\*(rq is (very) briefly displayed on the status line.
  1372. X.lp
  1373. X.ft I
  1374. NOTE:\ \ This not the same as the break key on the keyboard (we don't
  1375. want to send a break to the local system, we want to send it to 
  1376. the \fBremote\fP system).
  1377. X.ft R
  1378. X.bp
  1379. X.if e \{
  1380. X.ep
  1381. X.bp\}
  1382. X.sh 1 "FILE FUNCTIONS"
  1383. X.(x
  1384. X.)x _
  1385. X.(x
  1386. X\*($n FILE FUNCTIONS
  1387. X.)x
  1388. X.lp
  1389. One of the most important features of a telecommunication program is the
  1390. ability to transfer files.  The following file transfer protocols are
  1391. implemented:
  1392. X.br
  1393. X.in +0.5i
  1394. X.(b L
  1395. X.TS
  1396. l l l l.
  1397. Protocol    Packet    Error    Multiple
  1398. name    size    detection    files?
  1399. X_
  1400. xmodem    128    checksum/CRC    no
  1401. xmodem-1k    128/1024    checksum/CRC    no
  1402. modem7    128    checksum    yes \u1\d
  1403. ymodem    128/1024    CRC    yes \u2\d
  1404. ymodem-g    128/1024    none \u3\d    yes
  1405. ASCII    none    none    no
  1406. zmodem \u4\d    128/1024    CRC    yes
  1407. X(external)    ?    ?    ?
  1408. X.TE
  1409. X.TS
  1410. l l.
  1411. Notes:    1 CP/M style file name
  1412. X    2 MSDOS style file name and file size
  1413. X    3 Not needed!
  1414. X    4 zmodem is implemented as an external program
  1415. X.TE
  1416. X.)b
  1417. X.in
  1418. X.lp
  1419. X.ft I
  1420. NOTE:\ \ The built-in protocols that send file name information, convert
  1421. the Unix style file name to fit the MSDOS name restrictions.
  1422. X.ft
  1423. X.sh 2 "External protocols"
  1424. X.(x
  1425. X  \*($n External protocols
  1426. X.)x
  1427. X.lp
  1428. The external \*(lqprotocol\*(rq is really a method of running an
  1429. external program from Pcomm to accomplish a file transfer.  The most
  1430. common use of this feature would be to run Kermit or some proprietary
  1431. program.
  1432. X.lp
  1433. XFrequently used external file transfer programs (such as zmodem) can
  1434. have their names embedded into the list of available protocols by using
  1435. the External Protocol Setup in section 3.7.
  1436. X.lp
  1437. To abort an external file transfer, you hit the <ESC> key.  All other
  1438. characters typed at the keyboard are ignored.
  1439. X.lp
  1440. X.ft I
  1441. NOTE:\ \ The external protocol feature can also be used to pipe
  1442. the output of a Unix command to the remote.
  1443. X.ft
  1444. X.sh 2 "Send files"
  1445. X.(x
  1446. X  \*($n Send files
  1447. X.)x
  1448. X.lp
  1449. To send a file to the remote, you'll first have to instruct the remote
  1450. system to receive the file, then type ^A-\*(lqup arrow\*(rq.  The
  1451. following screen will appear:
  1452. X.br
  1453. X.in 3.2i
  1454. X.CS
  1455. X.(b L
  1456. X.TS
  1457. box;
  1458. c
  1459. l.
  1460. Upload
  1461. X.sp
  1462. X 1) xmodem
  1463. X 2) xmodem-1k
  1464. X 3) modem7
  1465. X 4) ymodem
  1466. X 5) ymodem-g
  1467. X 6) ASCII
  1468. X 7) zmodem
  1469. X 8) kermit
  1470. X E) (external)
  1471. X.sp
  1472. X <ESC> to Abort 
  1473. X.sp
  1474. X Protocol: _
  1475. X.sp
  1476. X.TE
  1477. X.)b
  1478. X.Cs
  1479. X.in
  1480. X.lp
  1481. You then select the type of protocol at the prompt, and another window
  1482. similar to this will appear:
  1483. X.br
  1484. X.CS
  1485. X.(b L
  1486. X.TS
  1487. box center;
  1488. l.
  1489. X   Send xmodem
  1490. X.sp
  1491. X.\"                                                           space out to here
  1492. X   Enter filename: _                                          
  1493. X.sp
  1494. X.TE
  1495. X.)b
  1496. X.Cs
  1497. X.lp
  1498. Now you type in the file name or names you'd like to send.  Wildcards
  1499. known to the shell are acceptable.
  1500. X.lp
  1501. Now the file transfer actually begins.  A screen similar to the
  1502. following is displayed during the transfer:
  1503. X.br
  1504. X.in 2.4i
  1505. X.CS
  1506. X.(b L
  1507. X.TS
  1508. box;
  1509. c
  1510. n.
  1511. Uploading
  1512. X.sp
  1513. X.\"                          spaces out to here
  1514. X Protocol\&: xmodem          
  1515. X File name\&: main.c 
  1516. X File size\&: 4420
  1517. X Error check method\&: CRC
  1518. X Est transfer time\&: 0:00:50
  1519. X Block count\&: 5
  1520. X Percent complete\&: 11.2%
  1521. X Bytes transferred\&: 640
  1522. X Errors this block\&: 0
  1523. X Total error count\&: 0
  1524. X Last message\&: NONE
  1525. X.sp
  1526. X.T&
  1527. c.
  1528. Press <ESC> to abort
  1529. X.TE
  1530. X.)b
  1531. X.Cs
  1532. X.in
  1533. X.lp
  1534. As the transfer progresses, the \*(lqblock count\*(rq, \*(lqpercent
  1535. complete\*(rq, and \*(lqbytes transferred\*(rq fields will be
  1536. continuously updated.  If errors occur the \*(lqerrors this block\*(rq
  1537. and \*(lqtotal error count\*(rq fields will be updated and the \*(lqlast
  1538. message\*(rq field will contain a message about the error.
  1539. X.lp
  1540. At the end of the transfer, Pcomm will beep and return to the terminal
  1541. mode.  If an error occurred and the transfer was aborted, you will be
  1542. prompted to acknowledge the error by pressing a key before returning to
  1543. the terminal mode.
  1544. X.sh 2 "Receive files"
  1545. X.(x
  1546. X  \*($n Receive files
  1547. X.)x
  1548. X.lp
  1549. To receive a file (or group of files) from a remote system, you'll have
  1550. to first instruct the remote system, then type ^A-\*(lqdown arrow\*(rq.
  1551. Receiving a file is basically the same as sending a file.
  1552. X.lp
  1553. X.ft I
  1554. NOTE:\ \ Some systems do not pad the end of the file with control-Z's and
  1555. therefore files might grow in length when received.
  1556. X.ft
  1557. X.sh 2 "Pass thru mode"
  1558. X.(x
  1559. X  \*($n Pass thru mode
  1560. X.)x
  1561. X.lp
  1562. The pass through mode is used when you have two or more machines in a
  1563. communications daisy chain.  The following diagram shows an example of
  1564. this type of arrangement:
  1565. X.br
  1566. X.in +0.5i
  1567. X.(b L
  1568. X.TS
  1569. X|c|c|c|c|c|.
  1570. X_        _        _
  1571. IBM PC         Unix         IBM PC 
  1572. running     <----     running     <----     running 
  1573. ProComm     ---->    Pcomm     ---->    RBBS 
  1574. X_        _        _
  1575. X.TE
  1576. X.)b
  1577. X.in
  1578. X.lp
  1579. If a file is to be transferred from the last machine to the first
  1580. machine, the middle machine must appear completely transparent.  The
  1581. middle machine must \*(lqforward the data\*(rq without altering it in
  1582. any way.  The pass through mode \*(lqexpires\*(rq after a designated
  1583. period of inactivity, after which the user is returned to the terminal
  1584. mode.
  1585. X.lp
  1586. To access the pass through mode, you type ^A-T.  The following screen
  1587. will appear:
  1588. X.br
  1589. X.CS
  1590. X.(b L
  1591. X.TS
  1592. box center;
  1593. l.
  1594. X   Pass Thru Mode
  1595. X.sp
  1596. X.\"                                                           spaces out to here
  1597. X   Enter the expiration time (5-60 sec) : _                   
  1598. X.sp
  1599. X.TE
  1600. X.)b
  1601. X.Cs
  1602. X.lp
  1603. X.ft I
  1604. NOTE:\ \ While in the pass through mode, no Pcomm command to the middle
  1605. machine will be honored.  Therefore, the \fBonly\fP way to exit this
  1606. mode is to not type anything on the keyboard until the expiration period
  1607. has elapsed.
  1608. X.sp
  1609. NOTE:\ \ The baud rates to and from the middle machine need not be the
  1610. same, however the slowest speed determines the overall speed of the
  1611. transfer (the weakest link in the chain).
  1612. X.ft R
  1613. X.sh 2 Directory
  1614. X.(x
  1615. X  \*($n Directory
  1616. X.)x
  1617. X.lp
  1618. To obtain a listing of a directory on the local system while still
  1619. running Pcomm, you type ^A-F.  The following screen will appear:
  1620. X.br
  1621. X.CS
  1622. X.(b L
  1623. X.TS
  1624. box center;
  1625. l.
  1626. X   List Directory
  1627. X.sp
  1628. X.\"                                                           spaces out to here
  1629. X   Current directory: /usr/egray                              
  1630. X   File spec (wildcards allowed): _ 
  1631. X.sp
  1632. X.TE
  1633. X.)b
  1634. X.Cs
  1635. X.lp
  1636. Abbreviations known to the shell are valid.  Output is sent through a
  1637. X\*(lqmore\*(rq like program.
  1638. X.lp
  1639. X.ft I
  1640. NOTE:\ \ Since we're really doing a popen() to the \*(lqls\*(rq command,
  1641. additional command line options are also valid.
  1642. X.ft
  1643. X.sh 2 "Screen dump"
  1644. X.(x
  1645. X  \*($n Screen dump
  1646. X.)x
  1647. X.lp
  1648. To dump the contents of the current screen (minus any windows showing)
  1649. you type ^A-G.  The contents of the screen are written to the file
  1650. specified in the general setup for this purpose.  If the file already
  1651. exists, the screen contents are appended to the file.  The message
  1652. X\*(lqscreen dump\*(rq will briefly appear in the status line.
  1653. X.lp
  1654. X.ft I
  1655. NOTE:\ \ The screen contents are subject to the available VCS (video
  1656. command sequence) emulation, so an exact representation is not
  1657. guaranteed.
  1658. X.ft
  1659. X.sh 2 "Start data logging"
  1660. X.(x
  1661. X  \*($n Start data logging
  1662. X.)x
  1663. X.lp
  1664. To start the data logging, or change the file used for data logging, you
  1665. type ^A-1.  The following screen will appear:
  1666. X.br
  1667. X.CS
  1668. X.(b L
  1669. X.TS
  1670. box center;
  1671. l.
  1672. X   Start Data Logging
  1673. X.sp
  1674. X.\"                                                           spaces out to here
  1675. X   Default log file: pcomm.log                                
  1676. X   New log file: _
  1677. X.sp
  1678. X.TE
  1679. X.)b
  1680. X.Cs
  1681. X.lp
  1682. To keep the default file, just press a carriage return at the prompt,
  1683. otherwise, enter a new file name.  If the file already exits, the new
  1684. data is appended to the file.
  1685. X.lp
  1686. The status of the logging is shown in the status line.
  1687. X.lp
  1688. X.sh 2 "Toggle logging"
  1689. X.(x
  1690. X  \*($n Toggle logging
  1691. X.)x
  1692. X.lp
  1693. To temporarily suspend data logging or to start it again without being
  1694. prompted for the file name, you type ^A-2.
  1695. X.bp
  1696. X.if e \{
  1697. X.ep
  1698. X.bp\}
  1699. X.sh 1 "DIALING WINDOW"
  1700. X.(x
  1701. X.)x _
  1702. X.(x
  1703. X\*($n DIALING WINDOW
  1704. X.)x
  1705. X.lp
  1706. While Pcomm is dialing another system, a screen similar to the following
  1707. is shown:
  1708. X.sp
  1709. X.if n .po 0                \" table may be wider than 6.5in
  1710. X.if n .ll 8.5i
  1711. X.CS
  1712. X.(b L
  1713. X.TS
  1714. box center;
  1715. c
  1716. n.
  1717. X.sp
  1718. D I A L I N G      W I N D O W
  1719. X.sp
  1720. X_
  1721. X.sp
  1722. X.\"                                   spaces out to here
  1723. System name\&: C Board                
  1724. Pass number\&: 1
  1725. XElapse time this try\&: 4
  1726. Time at start of dial\&: 14:53:36
  1727. Time at start of this try\&: 14:53:36
  1728. Connect delay time\&: 35
  1729. Redial delay time\&: 5
  1730. Auxiliary\&:
  1731. Result of last try\&:
  1732. X.T&
  1733. c.
  1734. X.sp
  1735. X <SPACE>: Recycle    <DEL>: Remove from queue    E: Change delays  
  1736. X.sp
  1737. Press <ESC> to abort
  1738. X.TE
  1739. X.)b
  1740. X.Cs
  1741. X.if n .po 1.0i
  1742. X.if n .ll 6.5i
  1743. X.lp
  1744. Items in the window are continuously updated to show the progress of the
  1745. dialing attempt.
  1746. X.lp
  1747. The options available during the dialing window are:
  1748. X.ba +0.5i
  1749. X.lp
  1750. SPACE) Press the space bar to stop the dialing of the current entry and
  1751. go on to the next entry in the queue.  If there is only one entry in the
  1752. queue, that number is redialed.
  1753. X.lp
  1754. DEL) Press the DEL key to remove the current number from the queue.
  1755. X.lp
  1756. XE) Press the letter \*(lqE\*(rq to change the connect delay time, or the
  1757. redial delay time (the pause between dialing attempts).  You will be
  1758. prompted to save the changes to disk.
  1759. X.lp
  1760. X.CS
  1761. X.(b L
  1762. X.TS
  1763. box center;
  1764. l.
  1765. X   Change Delay Times
  1766. X.sp
  1767. X.\"                                        spaces out to here
  1768. X   Current connect delay time: 35          
  1769. X   Current redial delay time: 5
  1770. X.sp
  1771. X   New connect delay: _
  1772. X   New redial delay:
  1773. X.sp
  1774. X.TE
  1775. X.)b
  1776. X.Cs
  1777. X.ft I
  1778. NOTE:\ \ While the DEL and E options are being processed, the dialing is
  1779. temporarily suspended.
  1780. X.ft
  1781. X.ba
  1782. X.bp
  1783. X.if e \{
  1784. X.ep
  1785. X.bp\}
  1786. X.sh 1 "SCRIPT COMMANDS"
  1787. X.(x
  1788. X.)x _
  1789. X.(x
  1790. X\*($n SCRIPT COMMANDS
  1791. X.)x
  1792. X.lp
  1793. Pcomm doesn't have a built-in script language, instead it uses Unix
  1794. shell scripts (Bourne shell, C shell, Korn shell, etc) to perform the
  1795. necessary \*(lqchat\*(rq sequences to log a user on to a remote system.
  1796. X.lp
  1797. Since shell scripts are run \*(lqoutside\*(rq of Pcomm, the
  1798. X\*(lqpcomm_cmd\*(rq program is used to transmit command sequences to
  1799. Pcomm.  For example, a script can contain a line such as \*(lqpcomm_cmd
  1800. data_log on\*(rq to turn on the data logging feature.
  1801. X.lp
  1802. Shell scripts specified in the dialing directory are run \fBafter\fP the
  1803. connection to the remote system, while script specified on the command
  1804. line (with the \-a option) are run \fBbefore\fP the connection is made.
  1805. You can make a shell script work under both situations by using the
  1806. X\*(lqpcomm_cmd is connected\*(rq command.  See the third example in
  1807. section 8.4.
  1808. X.lp
  1809. You may hit the <ESC> key at any time to abort an auto-login script
  1810. before it has completed.
  1811. X.lp
  1812. X.ft B
  1813. WARNING:\ \ Any file that has a \*(lqclear text\*(rq (un-encrypted)
  1814. version of your password is a significant security threat.  You should
  1815. remove the read permission to all others.
  1816. X.ft
  1817. X.lp
  1818. In order to assist in the creation of auto-login scripts, the following
  1819. external programs have been provided.
  1820. X.sh 2 "Pcomm_cmd command"
  1821. X.(x
  1822. X  \*($n Pcomm_cmd command
  1823. X.)x
  1824. X.lp
  1825. Pcomm_cmd is an external Pcomm support program.  It is used from inside
  1826. shell scripts to access Pcomm commands, such as \*(lqpcomm_cmd send
  1827. xmodem junk\*(rq for sending the file \*(lqjunk\*(rq to the remote using
  1828. the xmodem file transfer protocol.
  1829. X.lp
  1830. The following command line options are supported.
  1831. X.in +1.0i
  1832. X.sp
  1833. X.ti -0.5i
  1834. SET BAUD [ 300 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400 ]
  1835. X.br
  1836. Set the baud rate for the current connection.  This feature is for use
  1837. with the DIAL MANUAL command, since the baud rate information in the
  1838. dialing directory entries overrides this value. 
  1839. X.sp
  1840. X.ti -0.5i
  1841. SET PARITY [ EVEN | ODD | NONE ]
  1842. X.br
  1843. Set the parity for the current connection.  For use with the DIAL MANUAL
  1844. command.
  1845. X.sp
  1846. X.ti -0.5i
  1847. SET DATA_BITS [ 7 | 8 ]
  1848. X.br
  1849. The number of data bits (word length) used for the current connection.
  1850. XFor use with the DIAL MANUAL command.
  1851. X.sp
  1852. X.ti -0.5i
  1853. SET STOP_BITS [ 1 | 2 ]
  1854. X.br
  1855. The number of stop bits for the current connection.  For use with the
  1856. DIAL MANUAL command.
  1857. X.sp
  1858. X.ti -0.5i
  1859. SET DUPLEX [ HALF | FULL ]
  1860. X.br
  1861. Set the duplex mode (local echo).  The HALF option is used if the remote
  1862. system does not echo characters as they are typed.
  1863. X.sp
  1864. X.ti -0.5i
  1865. SET AUX filename
  1866. X.br
  1867. Use the argument as the auxiliary file associated with the current
  1868. connection.  Since chaining of scripts is not supported, this feature
  1869. would only be used to set the TTY or modem.
  1870. X.sp
  1871. X.ti -0.5i
  1872. SET HOT_KEY [1-256]
  1873. X.br
  1874. Change the decimal value of the \*(lqhot key\*(rq to this value.
  1875. X.sp
  1876. X.ti -0.5i
  1877. SET ASCII_HOT string
  1878. X.br
  1879. Change the ASCII representation of the hot key to the given argument.  The
  1880. length of the string must be no more than 4 characters wide.
  1881. X.sp
  1882. X.ti -0.5i
  1883. SET FLOW_CTRL [ XON/XOFF | NONE ]
  1884. X.br
  1885. Set the flow control between the local and remote systems to either XON/XOFF
  1886. or NONE.
  1887. X.sp
  1888. X.ti -0.5i
  1889. SET CR_IN [ CR | CR/LF ]
  1890. X.br
  1891. Translate in-comming carriage returns carriage return followed by a line
  1892. feed, or pass the carriage return through unchanged.
  1893. X.sp
  1894. X.ti -0.5i
  1895. SET CR_OUT [ CR | CR/LF ]
  1896. X.br
  1897. Translate out-going carriage returns to CR or CR/LF.
  1898. X.sp
  1899. X.ti -0.5i
  1900. SET LOGFILE filename
  1901. X.br
  1902. Change the name of the default log file.  For use with the DATA_LOG command.
  1903. X.sp
  1904. X.ti -0.5i
  1905. SET DUMPFILE filename
  1906. X.br
  1907. Change the name of the screen dump file.  For use with the SCREEN_DUMP 
  1908. command.
  1909. X.sp
  1910. X.ti -0.5i
  1911. SET STRIP [ YES | NO ]
  1912. X.br
  1913. Should the in-comming data be stripped to 7 bits?
  1914. X.sp
  1915. X.ti -0.5i
  1916. SET LOCAL_ECHO [ YES | NO ]
  1917. X.br
  1918. Should data be shown on the screen during ASCII uploads?
  1919. X.sp
  1920. X.ti -0.5i
  1921. SET EXPAND [ YES | NO ]
  1922. X.br
  1923. Should blank lines be \*(lqexpanded\*(rq to a line with a single space?
  1924. XFor use only during ASCII uploads.
  1925. X.sp
  1926. X.ti -0.5i
  1927. SET CR_DELAY [ 0 | 100 | 150 ]
  1928. X.br
  1929. Set the delay for the carriage returns for ASCII uploads.
  1930. X.sp
  1931. X.ti -0.5i
  1932. SET PACE [ YES | NO ]
  1933. X.br
  1934. Should the entire upload be artificially slowed down?  For use during ASCII
  1935. uploads.
  1936. X.sp
  1937. X.ti -0.5i
  1938. SET CR_UP [ NONE | ADD_LF | STRIP ]
  1939. X.br
  1940. Controls the translation of carriage returns during ASCII uploads.
  1941. X.sp
  1942. X.ti -0.5i
  1943. SET LF_UP [ NONE | ADD_CR | STRIP ]
  1944. X.br
  1945. Controls the translation of line feeds during ASCII uploads.
  1946. X.sp
  1947. X.ti -0.5i
  1948. SET TIMER [5-150]
  1949. X.br
  1950. Controls the timer (in seconds) that detects the end of an ASCII download.
  1951. X.sp
  1952. X.ti -0.5i
  1953. SET CR_DN [ NONE | ADD_LF | STRIP ]
  1954. X.br
  1955. Controls the translation of carriage returns during ASCII downloads.
  1956. X.sp
  1957. X.ti -0.5i
  1958. SET LF_DN [ NONE | ADD_CR | STRIP ]
  1959. X.br
  1960. Controls the translation of line feeds during ASCII downloads.
  1961. X.sp
  1962. X.ti -0.5i
  1963. QUERY TTY_NAME
  1964. X.br
  1965. Returns the name of the current TTY in use or NONE.
  1966. X.sp
  1967. X.ti -0.5i
  1968. QUERY MODEM_NAME
  1969. X.br
  1970. Returns the name of the current modem in use or NONE.
  1971. X.sp
  1972. X.ti -0.5i
  1973. IF CONNECTED
  1974. X.br
  1975. Returns a 1 if Pcomm is currently connected to a remote, otherwise a 0.
  1976. X.sp
  1977. X.ti -0.5i
  1978. IF LOG_STATUS
  1979. X.br
  1980. Returns a 1 if the data logging feature is turned on, otherwise 0.
  1981. X.sp
  1982. X.ti -0.5i
  1983. IF PRINTER_STATUS
  1984. X.br
  1985. Returns a 1 if the printer is turned on, otherwise 0.
  1986. X.sp
  1987. X.ti -0.5i
  1988. DIAL [ MANUAL phone_number ] entry_number
  1989. X.br
  1990. Dial an entry from the dialing directory.  The MANUAL option is used to
  1991. optionally dial a phone number without the use of the dialing directory.
  1992. DIAL returns after 1 attempt.  A return code of 1 means a connection
  1993. was made.
  1994. X.sp
  1995. X.ti -0.5i
  1996. REDIAL entry_number
  1997. X.br
  1998. Similar to the DIAL command, but 10 attempts are made.
  1999. X.sp
  2000. X.ti -0.5i
  2001. XEXIT
  2002. X.br
  2003. Hang up the phone and exit from Pcomm.
  2004. X.sp
  2005. X.ti -0.5i
  2006. CLEAR_SCREEN
  2007. X.br
  2008. Clear the screen.
  2009. X.sp
  2010. X.ti -0.5i
  2011. CHG_DIR directory
  2012. X.br
  2013. Change the current working directory to the given directory.
  2014. X.sp
  2015. X.ti -0.5i
  2016. HANG_UP
  2017. X.br
  2018. Hang up the phone, but remain in Pcomm.
  2019. X.sp
  2020. X.ti -0.5i
  2021. PRINTER [ ON | OFF ]
  2022. X.br
  2023. Control the logging of data to the printer.
  2024. X.sp
  2025. X.ti -0.5i
  2026. MODEM_BREAK
  2027. X.br
  2028. Send a modem break to the remote system.  This is typically used to
  2029. tell the remote to switch to a different baud rate.
  2030. X.sp
  2031. X.ti -0.5i
  2032. SEND protocol filename
  2033. X.br
  2034. Send a file to the remote.  The valid protocols are XMODEM, XMODEM_1K,
  2035. MODEM7, YMODEM, YMODEM_G, ASCII, EXT_1, EXT_2, and EXT_3.
  2036. X.sp
  2037. X.ti -0.5i
  2038. RECEIVE protocol filename
  2039. X.br
  2040. Receive a file from the remote.  The valid protocols are XMODEM,
  2041. XXMODEM_1K, MODEM7, YMODEM, YMODEM_G, ASCII, EXT_1, EXT_2, and EXT_3.
  2042. X.sp
  2043. X.ti -0.5i
  2044. SCREEN_DUMP
  2045. X.br
  2046. Dump the current contents of the screen to the DUMPFILE.  If the file
  2047. already exists, the new contents are appended to the file.
  2048. X.sp
  2049. X.ti -0.5i
  2050. DATA_LOG [ ON | OFF ]
  2051. X.br
  2052. Control logging of the terminal session to the LOGFILE.  If the file
  2053. already exists, the new contents are appended to the file.
  2054. X.in
  2055. X.sh 2 "Waitfor command"
  2056. X.(x
  2057. X  \*($n Waitfor command
  2058. X.)x
  2059. X.lp
  2060. The waitfor command has the following syntax:
  2061. X.sp
  2062. X.in +0.5i
  2063. waitfor \-n string
  2064. X.in
  2065. X.lp
  2066. where \*(lqn\*(rq is the number of seconds to wait and \*(lqstring\*(rq
  2067. is the string to wait for.
  2068. X.lp
  2069. Waitfor returns a 0 if the string was found, a 1 if it didn't find the
  2070. string within the allotted time, and a \-1 if there was an error.
  2071. Waitfor returns immediately if the string is found.
  2072. X.lp
  2073. The waitfor command would typically be used in a script to indicate that
  2074. the desired prompt has appeared.  For example:
  2075. X.sp
  2076. X.in +0.5i
  2077. X.CS
  2078. X.(b L
  2079. waitfor \-5 "ogin:"
  2080. if [ "$?" \-eq 0 ]
  2081. then
  2082. X.in +0.5i
  2083. echo "egray"
  2084. X.in
  2085. fi
  2086. X.)b
  2087. X.Cs
  2088. X.in
  2089. X.lp
  2090. would wait up to 5 seconds for the string \*(lqogin:\*(rq.  If the
  2091. return code is 0 (the strings did appear), send the string
  2092. X\*(lqegray\*(rq (my user ID).
  2093. X.lp
  2094. X.ft I
  2095. NOTE:\ \ Upper and lower case letters are considered different.  If you
  2096. are not sure if the prompt is \*(lqLogin:\*(rq or \*(lqlogin:\*(rq, then
  2097. skip the first letter in the string and use \*(lqogin:\*(rq.
  2098. X.ft 
  2099. X.sh 2 "Matches command"
  2100. X.(x
  2101. X  \*($n Matches command
  2102. X.)x
  2103. X.lp
  2104. The matches command has the following syntax:
  2105. X.in +0.5i
  2106. X.sp
  2107. matches string1 string2
  2108. X.in
  2109. X.lp
  2110. Matches returns a 0 if string2 is contained in string1, and returns a 1
  2111. if it does not.  Unlike waitfor, the matches command does not read the
  2112. TTY port.
  2113. X.lp
  2114. The matches command could be used to test string values such as:
  2115. X.sp
  2116. X.in +0.5i
  2117. X.CS
  2118. X.(b L
  2119. read junk
  2120. matches $junk "login failed"
  2121. if [ "$?" \-eq 0 ]
  2122. then
  2123. X.in +0.5i
  2124. exit
  2125. X.in
  2126. fi
  2127. X.)b
  2128. X.Cs
  2129. X.in
  2130. X.sh 2 "Examples"
  2131. X.(x
  2132. X  \*($n Examples
  2133. X.)x
  2134. X.lp
  2135. It is not my intention to teach the reader the fundamentals of Unix
  2136. shell programming.  There are several good books on the subject
  2137. available in stores.
  2138. X.lp
  2139. Remember to add execute permission to the file and remove the read
  2140. permission to all others.
  2141. X.lp
  2142. X.(b L
  2143. The simplest auto-login script may contain the following:
  2144. X.sp
  2145. X.in +0.5i
  2146. X.CS
  2147. X# send a <CR>
  2148. echo ""
  2149. X# wait 5 seconds for the login prompt
  2150. waitfor \-5 ogin:
  2151. X# send my user ID
  2152. echo "egray"
  2153. X# wait 5 seconds for the password prompt
  2154. waitfor \-5 assword:
  2155. X# send my password
  2156. echo "abcdefg"
  2157. X# return to Pcomm
  2158. exit 0
  2159. X.Cs
  2160. X.)b
  2161. X.in
  2162. X.lp
  2163. X.(b L
  2164. A more complex script is required if the user must send a modem break to
  2165. synchronize the baud rate of the remote.  For example:
  2166. X.sp
  2167. X.in +0.5i
  2168. X.CS
  2169. echo ""
  2170. try=0
  2171. X# loop until done
  2172. while true
  2173. do
  2174. X.in +0.5i
  2175. X# wait 5 seconds for the login prompt
  2176. waitfor \-5 ogin:
  2177. X# test the exit code of the waitfor command
  2178. if [ "$?" \-eq 0 ]
  2179. then
  2180. X.in +0.5i
  2181. X# send my user ID and exit the loop
  2182. echo "egray"
  2183. break
  2184. X.in
  2185. fi
  2186. X.sp
  2187. X# increment the number of attempts
  2188. try=\`expr $try + 1\`
  2189. X# test to see if we should give up
  2190. if [ "$try" \-eq 5 ]
  2191. then
  2192. X.in +0.5i
  2193. exit 1
  2194. X.in
  2195. fi
  2196. X.sp
  2197. X# send a modem break and loop again
  2198. pcomm_cmd modem_break
  2199. echo ""
  2200. X.in 0.5i
  2201. done
  2202. X# wait 5 seconds for the password prompt
  2203. waitfor \-5 assword:
  2204. X# test the return code from waitfor
  2205. if [ "$?" \-eq 0 ]
  2206. then
  2207. X.in +0.5i
  2208. X# send my password
  2209. echo "abcdefg"
  2210. X.in
  2211. else
  2212. X.in +0.5i
  2213. exit 1
  2214. X.in
  2215. fi
  2216. X# return to Pcomm
  2217. exit 0
  2218. X.Cs
  2219. X.)b
  2220. X.in 0
  2221. X.lp
  2222. X.(b L
  2223. The following is an example of a shell script that will dial a system,
  2224. log a user on, transfer a file called junk using xmodem, log out, and
  2225. exit Pcomm.
  2226. X.sp
  2227. X.in +0.5i
  2228. X.CS
  2229. X# are we already connected?
  2230. answer=`pcomm_cmd if connected`
  2231. if [ "$answer" -eq 0 ]
  2232. then
  2233. X.in +0.5i
  2234. X# dial entry number 23 in my dialing directory
  2235. pcomm_cmd dial 23
  2236. X.in -0.5i
  2237. fi
  2238. X# wait for the login prompt
  2239. waitfor ogin:
  2240. X# send my user id
  2241. echo egray
  2242. X# wait for the password prompt
  2243. waitfor assword:
  2244. X# send my password
  2245. echo abcdefg
  2246. X# wait for a Unix prompt
  2247. waitfor $
  2248. X# start up an xmodem file transfer
  2249. echo sx junk
  2250. X# wait for the sx command to say its ready
  2251. waitfor now
  2252. sleep 1
  2253. X# do a file transfer
  2254. pcomm_cmd receive xmodem junk
  2255. X# wait for the prompt
  2256. waitfor $
  2257. X# log me out
  2258. echo "^D"
  2259. sleep 1
  2260. X# exit pcomm
  2261. pcomm_cmd exit
  2262. X.Cs
  2263. X.)b
  2264. X.in 0
  2265. X.bp
  2266. X.if e \{
  2267. X.ep
  2268. X.bp\}
  2269. X.uh "Appendix A \- Typical Modem Configuration"
  2270. X.(x
  2271. X.)x _
  2272. X.(x
  2273. Appendix A \- Typical Modem Configuration
  2274. X.)x
  2275. X.lp
  2276. I can't begin to describe how to configure every modem to work with
  2277. Pcomm.  There are, however, several guidelines that will apply to
  2278. virtually any modem.
  2279. X.ba +0.5i
  2280. X.lp
  2281. X1) Pcomm doesn't care about the DCD (Data Carrier Detect) settings of
  2282. the modem.
  2283. X.lp
  2284. X2) It would be nice (but not essential) if the loss of the DTR (Data
  2285. Terminal Ready) caused the modem to hang up.
  2286. X.lp
  2287. X3) Pcomm doesn't care if commands are echoed back by the modem (it might
  2288. save a few milliseconds if echoing was turned off).
  2289. X.lp
  2290. X4) Some sort of result codes are required.  Numeric result codes are
  2291. ok...  but since they are displayed on the screen, word result codes
  2292. will make more sense.
  2293. X.lp
  2294. X5) If the modem can return different result codes for each baud rate at
  2295. which it answers, then by all means, use them.  Match the odd-ball
  2296. codes (such as CONNECT FAST for Telebit PEP) to the closet matching speed.
  2297. X.lp
  2298. X6) Anything that is returned by the modem, but not listed in the modem
  2299. setup, is ignored.
  2300. X.lp
  2301. X7) Systems running older versions of uugetty (the bi-directional version
  2302. of getty that comes with HDB uucp) may require extra commands in the
  2303. initialization string to assure that uugetty switches to its dial out
  2304. mode.  Normally, \*(lqAT!~AT!~\*(rq causes enough dialogue to force
  2305. uugetty to release the line.
  2306. X.ba
  2307. X.lp
  2308. XFor example, a 2400 baud Hayes compatible modem might be configured with
  2309. the following command:
  2310. X.sp
  2311. X.in +0.5i
  2312. X.nf
  2313. AT\ S7=60\ S11=70\ E0\ Q0\ V1\ X4\ &D2
  2314. X.fi
  2315. X.in +0.5i
  2316. X.(b L
  2317. X.TS
  2318. l l.
  2319. AT    Hayes attention command
  2320. S7=60    Wait 60 seconds for an answer
  2321. S11=70    70 ms touch tone dialing
  2322. XE0    Don't echo commands (not essential)
  2323. Q0    Turn result codes on
  2324. V1    Return word result codes
  2325. XX4    Use as many result codes as you've got
  2326. X&D2    Hang up when DTR is lost (nice to have)
  2327. X.TE
  2328. X.)b
  2329. X.in 0
  2330. X.bp
  2331. X.if e \{
  2332. X.ep
  2333. X.bp\}
  2334. X.uh "Appendix B \- AT&T Unix PC 7300/3b1 Dial Codes"
  2335. X.(x
  2336. X.)x _
  2337. X.(x
  2338. Appendix B \- AT&T Unix PC 7300/3b1 Dial Codes
  2339. X.)x
  2340. X.lp
  2341. The dialing codes used by the OBM (On Board Modem) are not
  2342. straight-forward.  The modem setup, as included in the Unixpc.shar file,
  2343. looks like this:
  2344. X.br
  2345. X.CS
  2346. X.(b L
  2347. X.(c
  2348. X-------------------------- Modem Setup --------------------------
  2349. X.sp
  2350. X           1) Modem name (1 of 2) ... OBM
  2351. X           2) Modem init string .....
  2352. X           3) Dialing command ....... %
  2353. X           4) Dialing cmd suffix .... @
  2354. X           5) Hang up string ........
  2355. X           6) Auto baud detect ...... N
  2356. X           7) 300 baud connect ...... CONNECT
  2357. X           8) 1200 baud connect ..... CONNECT
  2358. X           9) 2400 baud connect .....
  2359. X          10) 4800 baud connect .....
  2360. X          11) 9600 baud connect .....
  2361. X          12) 19200 baud connect ....
  2362. X          13) 38400 baud connect ....
  2363. X          14) No connect string 1 ...
  2364. X          15) No connect string 2 ...
  2365. X          16) No connect string 3 ...
  2366. X          17) No connect string 4 ...
  2367. X-----------------------------------------------------------------
  2368. OPTION ==> _                                Press <ESC> to return
  2369. X.)c
  2370. X.)b
  2371. X.Cs
  2372. X.lp
  2373. The relevant fields of the modem setup are:
  2374. X.ba +0.5i
  2375. X.lp
  2376. X1) Modem name.  This must be \*(lqOBM\*(rq.
  2377. X.lp
  2378. X.ft I
  2379. NOTE:\ \ Pcomm uses the modem name as a flag to determine which dialing
  2380. method to use.  The string \*(lqOBM\*(rq is a \*(lqreserved word\*(rq
  2381. that Pcomm uses to switch to the AT&T Unix PC 7300/3b1 dialing method.
  2382. X.ft
  2383. X.lp
  2384. X3) Dialing command.  This should be \*(lq%\*(rq for touch tone dialing
  2385. or \*(lq^\*(rq for pulse dialing.
  2386. X.lp
  2387. X4) Dialing cmd suffix.  This must be the \*(lq@\*(rq character.
  2388. X.lp
  2389. X6) Auto baud detect.  The OBM cannot use the auto baud detect feature.
  2390. X.lp
  2391. X7\-8) Connect strings.  Although the OBM doesn't actually return any
  2392. result codes, these fake fields are required.
  2393. X.ba
  2394. X.lp
  2395. Additional OBM dialing codes from the phone(7) manual:
  2396. X.br
  2397. X.in +0.5i
  2398. X.(b L
  2399. X.TS
  2400. l l.
  2401. X\*(lq~\*(rq    wait for next dial tone
  2402. X\*(lq,\*(rq    pause 2 seconds
  2403. X\*(lq:\*(rq    pause 10 seconds
  2404. X\*(lq&\*(rq    perform a hookflash
  2405. X\*(lq%\*(rq    begin tone dialing
  2406. X\*(lq^\*(rq    begin pulse dialing
  2407. X.TE
  2408. X.)b
  2409. X.in
  2410. X.lp
  2411. These codes can be inserted into the phone number string, for example:
  2412. X.br
  2413. X.in +0.5i
  2414. X.(b L
  2415. X.TS
  2416. l l.
  2417. X555-1234~56    dial 555-1234, wait for tone, dial 56
  2418. X9,555-1234    dial 9, wait 2 seconds, dial 555-1234
  2419. X%555^1234    dial 555 using tone, 1234 using pulse
  2420. X.TE
  2421. X.)b
  2422. X.in
  2423. X.lp
  2424. X.ft I
  2425. NOTE:\ \ The dialing codes for the OBM are not subject to character
  2426. synonym translations, therefore the \*(lq%\*(rq, \*(lq^\*(rq, and
  2427. X\*(lq~\*(rq characters do NOT have to be preceded by the \*(lq\e\*(rq
  2428. character to remove their special meaning.
  2429. X.ft
  2430. X.bp
  2431. X.if e \{
  2432. X.ep
  2433. X.bp\}
  2434. X.uh "Appendix C \- Using High Speed Modems"
  2435. X.(x
  2436. X.)x _
  2437. X.(x
  2438. Appendix C \- Using High Speed Modems
  2439. X.)x
  2440. X.ba
  2441. X.lp
  2442. The features and complexities of the newer high speed intelligent modems
  2443. available today warrants a more detailed discussion.
  2444. X.lp
  2445. X1) Locked interface speed
  2446. X.ba +0.5i
  2447. X.lp
  2448. Newer modems have the ability to maintain a locked interface speed
  2449. with the computer without regard to the connected baud rate.  For
  2450. example, it is a good idea to lock the interface speed at
  2451. X19200 baud (or 38400) when the modem is \*(lqtalking\*(rq at 14400 baud.
  2452. X.lp
  2453. The \*(lqlocked speed\*(rq field of the TTY database was created to
  2454. solve this problem.  If this value is non-zero, Pcomm will only use this
  2455. baud rate when talking to the modem.  The true connected baud rate
  2456. X(14400 for example) will continue to be displayed in the status line.
  2457. X.ba
  2458. X.lp
  2459. X2) Multiple setups
  2460. X.ba +0.5i
  2461. X.lp
  2462. Users of newer modems may require a different \*(lqinit string\*(rq or
  2463. X\*(lqdial string\*(rq depending on the target machine being called.  For
  2464. example, when trying to connect to older V.32 modems, the V.42 and V.42bis
  2465. features may have to be disabled.  In this case, the dial string would
  2466. contain the command to disable the unwanted features.
  2467. X.lp
  2468. This problem is solved by creating additional modem entries in the modem
  2469. database.  For example, you could have an entry called \*(lqTELEBIT\*(rq
  2470. for normal connections, one called \*(lqTELEBIT_V.32\*(rq for connecting
  2471. to older V.32 modems, and another called \*(lqTELEBIT_PEP\*(rq for 
  2472. connections to other PEP modems.
  2473. X.lp
  2474. Pcomm uses the connect strings to determine if the modem can handle the
  2475. requested baud rate.  If there are multiple modems that satisfy that baud
  2476. rate, then the first modem entry is used.  You can influence the choice of
  2477. suitable modems by placing the name of the modem in the Auxiliary field of
  2478. the dialing directory.  In this way, you can have a default modem and a 
  2479. specific modem for each dialing directory that my require one.
  2480. X.lp
  2481. X.ft I
  2482. NOTE:\ \ The default modem configuration (in a multiple setup situation)
  2483. must appear first in the modem database.
  2484. X.ft
  2485. X.lp
  2486. Your choices are virtually unlimited...  you can have a separate modem
  2487. setup to control modem features such as error control, compression,
  2488. protocol spoofing, etc.
  2489. X.ba
  2490. X.lp
  2491. X3) Telebit WorldBlazer settings
  2492. X.ba +0.5i
  2493. X.lp
  2494. The following configuration is what I personally use for my Telebit
  2495. WorldBlazer on bi-directional lines (ones with uugetty).  Your mileage
  2496. may vary.
  2497. X.in +0.5i
  2498. X.(b L
  2499. X.TS
  2500. l l.
  2501. X~&F     Restores factory settings
  2502. L1    Low speaker volume
  2503. Q2    Use result codes only when dialing out
  2504. XX2    Use detailed result codes (connect speeds)
  2505. X&C1    Set DCD to follow the carrier
  2506. X&D3    Hard reset on loss of DTR
  2507. S0=1    Answer on first ring
  2508. S7=60    Wait at least 60 seconds for a carrier
  2509. S51=6    Set interface speed to 38400 baud
  2510. S58=2    Full duplex RTS/CTS flow control
  2511. S59=15    Use result code extensions
  2512. S61=0    Pass modem breaks to the other end
  2513. X&W    Save in NVM
  2514. X.TE
  2515. X.)b
  2516. X.ba
  2517. X.lp
  2518. X4) Sample TTY database
  2519. X.ba +0.5i
  2520. X.lp
  2521. The following is the contents of the sample TTY database:
  2522. X.br
  2523. X.in +0.5i
  2524. X.(b L
  2525. X.TS
  2526. l l c
  2527. l l l.
  2528. TTY name    Modem name    Locked speed
  2529. X.sp
  2530. X1) tty10    HAYES    0
  2531. X2) tty11    HAYES    0
  2532. X3) tty12    DIRECT    0
  2533. X4) tty13    TELEBIT    38400
  2534. X5) tty13    TELEBIT_V.32    38400
  2535. X6) tty13    TELEBIT_PEP    38400
  2536. X.TE
  2537. X.)b
  2538. X.in
  2539. X.lp
  2540. Notice that the last three entries share the same TTY and are physically
  2541. the same modem.
  2542. X.ba
  2543. X.lp
  2544. X5) Sample modem database entry for TELEBIT
  2545. X.ba +0.5i
  2546. X.lp
  2547. The third entry in the sample modem database is for the Telebit modem
  2548. designated for use under normal conditions.
  2549. X.br
  2550. X.in +0.5i
  2551. X.CS
  2552. X.(b L
  2553. X.(c
  2554. X 1) Modem name (3 of 5) .... TELEBIT
  2555. X 2) Modem init string ...... ATZ!~~
  2556. X 3) Dialing command ........ ATDT
  2557. X 4) Dialing cmd suffix ..... !
  2558. X 5) Hang up string ......... ~~+++~~ATH0!
  2559. X 6) Auto baud detect ....... Y
  2560. X 7) 300 baud connect ....... CONNECT 300
  2561. X 8) 1200 baud connect ...... CONNECT 1200
  2562. X 9) 2400 baud connect ...... CONNECT 2400
  2563. X10) 4800 baud connect ...... CONNECT 4800
  2564. X11) 9600 baud connect ...... CONNECT 9600
  2565. X12) 19200 baud connect ..... CONNECT FAST
  2566. X13) 38400 baud connect .....
  2567. X14) No connect string 1 .... BUSY
  2568. X15) No connect string 2 .... ERROR
  2569. X16) No connect string 3 .... NO CARRIER
  2570. X17) No connect string 4 .... NO DIALTONE
  2571. X.)c
  2572. X.)b
  2573. X.Cs
  2574. X.in
  2575. X.ba
  2576. X.lp
  2577. X6) Sample modem database entry for TELEBIT_V.32
  2578. X.ba +0.5i
  2579. X.lp
  2580. The 4th entry is for the Telebit modem designated for use with older V.32
  2581. modems that are confused by V.42 and V.42bis.
  2582. X.br
  2583. X.in +0.5i
  2584. X.CS
  2585. X.(b L
  2586. X.(c
  2587. X 1) Modem name (4 of 5) .... TELEBIT_V.32
  2588. X 2) Modem init string ...... ATZ!~~
  2589. X 3) Dialing command ........ ATS180=0S50=6DT
  2590. X 4) Dialing cmd suffix ..... !
  2591. X 5) Hang up string ......... ~~+++~~ATH0!
  2592. X 6) Auto baud detect ....... Y
  2593. X 7) 300 baud connect ....... CONNECT 300
  2594. X 8) 1200 baud connect ...... CONNECT 1200
  2595. X 9) 2400 baud connect ...... CONNECT 2400
  2596. X10) 4800 baud connect ...... CONNECT 4800
  2597. X11) 9600 baud connect ...... CONNECT 9600
  2598. X12) 19200 baud connect ..... 
  2599. X13) 38400 baud connect .....
  2600. X14) No connect string 1 .... BUSY
  2601. X15) No connect string 2 .... ERROR
  2602. X16) No connect string 3 .... NO CARRIER
  2603. X17) No connect string 4 .... NO DIALTONE
  2604. X.)c
  2605. X.)b
  2606. X.Cs
  2607. X.ba
  2608. X.lp
  2609. X7) Sample modem database entry for TELEBIT_PEP
  2610. X.ba +0.5i
  2611. X.lp
  2612. The 5th entry is for the Telebit modem designated for use with other
  2613. Telebit PEP modems.
  2614. X.br
  2615. X.in +0.5i
  2616. X.CS
  2617. X.(b L
  2618. X.(c
  2619. X 1) Modem name (5 of 5) .... TELEBIT_PEP
  2620. X 2) Modem init string ...... ATZ!~~
  2621. X 3) Dialing command ........ ATS50=255DT
  2622. X 4) Dialing cmd suffix ..... !
  2623. X 5) Hang up string ......... ~~+++~~ATH0!
  2624. X 6) Auto baud detect ....... Y
  2625. X 7) 300 baud connect .......
  2626. X 8) 1200 baud connect ......
  2627. X 9) 2400 baud connect ......
  2628. X10) 4800 baud connect ......
  2629. X11) 9600 baud connect ......
  2630. X12) 19200 baud connect ..... CONNECT FAST
  2631. X13) 38400 baud connect .....
  2632. X14) No connect string 1 .... BUSY
  2633. X15) No connect string 2 .... ERROR
  2634. X16) No connect string 3 .... NO CARRIER
  2635. X17) No connect string 4 .... NO DIALTONE
  2636. X.)c
  2637. X.)b
  2638. X.Cs
  2639. X.in 0
  2640. X.ba 0
  2641. X.\"                    the index page
  2642. X.hx
  2643. X.bp
  2644. X.pl -10v
  2645. X.(b C
  2646. Table of Contents
  2647. X.)b
  2648. X.sp 3
  2649. X.\" Not all versions of {t,n}roff can handle a 2 column index
  2650. X.2c
  2651. X.nr xu 0.2i
  2652. X.xp
  2653. END_OF_FILE
  2654. if test 69077 -ne `wc -c <'Doc.me'`; then
  2655.     echo shar: \"'Doc.me'\" unpacked with wrong size!
  2656. fi
  2657. # end of 'Doc.me'
  2658. fi
  2659. echo shar: End of archive 6 \(of 6\).
  2660. cp /dev/null ark6isdone
  2661. MISSING=""
  2662. for I in 1 2 3 4 5 6 ; do
  2663.     if test ! -f ark${I}isdone ; then
  2664.     MISSING="${MISSING} ${I}"
  2665.     fi
  2666. done
  2667. if test "${MISSING}" = "" ; then
  2668.     echo You have unpacked all 6 archives.
  2669.     rm -f ark[1-9]isdone
  2670. else
  2671.     echo You still need to unpack the following archives:
  2672.     echo "        " ${MISSING}
  2673. fi
  2674. ##  End of shell archive.
  2675. exit 0
  2676.