home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume14 / pcomm / part01 / Doc next >
Encoding:
Text File  |  1988-05-17  |  32.2 KB  |  1,000 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.           PPPPPP    CCCC    OOOO    MM   MM   MM   MM
  12.           P    P   C       O    O   M M M M   M M M M
  13.           PPPPPP   C       O    O   M  M  M   M  M  M
  14.           P       C       O    O   M     M   M     M
  15.           P        CCCC    OOOO    M     M   M     M
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.                 Pcomm Reference Manual
  25.  
  26.                  version 1.0
  27.  
  28.  
  29.  
  30.  
  31.                   written by
  32.  
  33.                  Emmet P. Gray
  34.             ...!ihnp4!uiucuxc!fthood!egray
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.     Pcomm is a public domain telecommunications program for Unix that
  42.     is designed to operate similar to the MSDOS program, ProComm.
  43.     ProComm (TM) is copyrighted by Datastorm Technologies, Inc.  This
  44.     is a completely new program and contains no ProComm source code.
  45.     This is not a Datastorm product.
  46.  
  47.  
  48.                   Table of Contents
  49.  
  50.  
  51.            1. INTRODUCTION .................... 3
  52.            1.1 Requirements ................... 3
  53.            1.2 Support files .................. 3
  54.  
  55.            2. RUNNING PCOMM ................... 4
  56.            2.1 Hot key ........................ 4
  57.            2.2 Status line .................... 4
  58.            2.3 Help screen .................... 5
  59.            2.4 Exit pcomm ..................... 5
  60.  
  61.            3. SETUP SCREENS ................... 6
  62.            3.1 Prompting ...................... 6
  63.            3.2 TTY setup ...................... 7
  64.            3.3 Modem setup .................... 8
  65.            3.4 Terminal setup ................. 9
  66.            3.5 General setup .................. 10
  67.            3.6 ASCII transfer setup ........... 11
  68.  
  69.            4. MAJOR FUNCTIONS ................. 13
  70.            4.1 Dialing directory .............. 13
  71.            4.2 Redial ......................... 15
  72.            4.3 Keyboard macros ................ 15
  73.            4.4 Line settings .................. 15
  74.            4.5 Exit pcomm ..................... 16
  75.            4.6 Unix gateway ................... 16
  76.  
  77.            5. UTILITY FUNCTIONS ............... 17
  78.            5.1 Program information ............ 17
  79.            5.2 Setup screen ................... 17
  80.            5.3 Change directory ............... 17
  81.            5.4 Clear screen ................... 17
  82.            5.5 Toggle duplex .................. 17
  83.            5.6 Hangup the phone ............... 17
  84.            5.7 Printer logging ................ 18
  85.            5.8 Toggle CR - CR/LF .............. 18
  86.            5.9 Break .......................... 18
  87.  
  88.            6. FILE FUNCTIONS .................. 19
  89.            6.1 Send files ..................... 19
  90.            6.2 Receive files .................. 20
  91.            6.3 Directory ...................... 20
  92.            6.4 Screen dump .................... 21
  93.            6.5 Start data logging ............. 21
  94.            6.6 Toggle logging ................. 21
  95.  
  96.            7. DIALING WINDOW .................. 22
  97.  
  98. 1. INTRODUCTION
  99.  
  100.     Pcomm is a public domain, menu driven, telecommunication program
  101.     designed to provide the same "ease of use" as similar programs
  102.     available in MSDOS.  Some of its features are:
  103.  
  104.         o+ Large dialing directory
  105.         o+ Automatic redial feature
  106.         o+ Supports several file transfer protocols
  107.         o+ Data logging (log of the terminal session)
  108.         o+ Printer logging
  109.         o+ Screen dump
  110.         o+ User customization
  111.  
  112.     Pcomm does not emulate any particular terminal.  Whatever terminal
  113.     you're on, is what the remote system "sees".
  114.  
  115. 1.1 Requirements
  116.  
  117.     Pcomm will not run on terminals with a screen size of less than
  118.     80 columns by 24 lines or on terminals that lack cursor movement
  119.     capabilities.  For terminals without arrow keys, use the letter "U"
  120.     in place of "up arrow" and the letter "N" in place of "down arrow".
  121.  
  122. 1.2 Support files
  123.  
  124.     Pcomm uses three support files, namely:
  125.  
  126.         pcomm.dial_dir    the dialing directory
  127.         pcomm.modem    the modem/tty database
  128.         pcomm.param    the start-up default parameters
  129.  
  130.     There is a default directory (typically "/usr/local/lib/pcomm")
  131.     where the "standard" support files live.  Since the average user 
  132.     would not have write permission on these files, it's assumed that
  133.     you'll copy these standard files to your own directory and edit
  134.     them to suit your needs.
  135.  
  136.     Pcomm can use the environmental variable "PCOMM" to search for
  137.     these "private" support files.  If used, the variable must contain
  138.     the path to the directory containing the files.
  139.  
  140.     The following directories are searched to find the support files:
  141.  
  142.         o+ directory given with the "-d" option
  143.         o+ directory in the PCOMM environmental variable
  144.         o+ the current working directory
  145.         o+ the global default directory
  146.  
  147. 2. RUNNING PCOMM
  148.  
  149.     Pcomm has the following command line syntax.
  150.  
  151.         pcomm [-d directory] [-f index]
  152.  
  153.     The "-d" option allows you to specify an additional path to be used
  154.     when searching for the pcomm support files.
  155.  
  156.     The "-f" option is used to specify automatic dialing of an entry in
  157.     the dialing directory.  The "index" field in the dialing directory
  158.     (described later) is checked against the string given on the command
  159.     line.  If a match is found, that entry is automatically dialed.
  160.  
  161. 2.1 Hot key
  162.  
  163.     Pcomm uses a "hot key" to precede each command.  (The value of the
  164.     hot key is a user tunable parameter, but for the purpose of this
  165.     document we'll assume the hot key is defined as control-A).
  166.  
  167.     The hot key is used to put pcomm in the command mode.  For example,
  168.     to get the help screen, you'd type control-A (to get to the command
  169.     mode) then the number 0 (to display the help screen).  When a command
  170.     is completed, pcomm returns to the terminal mode.
  171.  
  172.     NOTE:  While in the command mode, the communications with the remote
  173.     system is temporarily suspended.
  174.  
  175. 2.2 Status line
  176.  
  177.     Whenever pcomm is in the command mode (or is not currently connected
  178.     to a remote) a status line is displayed at the bottom of the screen.
  179.     A typical status line might look like this:
  180.  
  181. +-----------------------------------------------------------------------------+
  182. |  ^A-0 HELP   | No TTY | FDX |  1200 E71 | LOG OFF | PTR OFF | CR    | CR    |
  183. +-----------------------------------------------------------------------------+
  184.  
  185.     The eight fields of the status line are:
  186.  
  187.         o+ help screen command (or a temporary message)
  188.         o+ name of the tty device in use
  189.         o+ duplex mode (FDX = full duplex, HDX = half duplex)
  190.         o+ current line settings
  191.         o+ status of data logging option
  192.         o+ status of printer logging option
  193.         o+ incoming CR translation
  194.         o+ outgoing CR translation
  195.  
  196.  
  197. 2.3 Help screen
  198.  
  199.     The help screen gives a brief review of all the available commands.
  200.     To access the help screen type ^A and '0' (zero).  The typical help
  201.     screen would look like this:
  202.  
  203. +-----------------------------------------------------------------------------+
  204. |                 P C O M M     H E L P                  |
  205. |-----------------------------------------------------------------------------|
  206. |                                          |
  207. |       Major Functions        Utility Functions     File Functions       |
  208. |                                          |
  209. | Dialing Directory .  ^A-D  Program Info .....  ^A-I  Send files ....  ^A-up |
  210. | Auto Redial .......  ^A-R  Setup Screen .....  ^A-S  Receive files .  ^A-dn |
  211. | Keyboard Macros ...  ^A-M  Change Directory .  ^A-B  Directory .....  ^A-F  |
  212. | Line Settings .....  ^A-P  Clear Screen .....  ^A-C  Screen Dump ...  ^A-G  |
  213. | Exit Pcomm ........  ^A-X  Toggle Duplex ....  ^A-E  Start Data Log.  ^A-1  |
  214. | Unix Gateway ......  ^A-4  Hangup Phone .....  ^A-H  Toggle Log ....  ^A-2  |
  215. |                 Printer On/Off ...  ^A-L                  |
  216. |                 Toggle CR/CR-LF ..  ^A-3                  |
  217. |                 Break Key ........  ^A-7                  |
  218. |                                          |
  219. +-------------------------- Press any key to continue ------------------------+
  220.  
  221. 2.4 Exit pcomm
  222.  
  223.     To exit pcomm, you'd type ^A and 'x' to access the exit window.
  224.  
  225.     +-- Exit -----------------------+
  226.     |                |
  227.     |   Exit to Unix? (y/n): _    |
  228.     |                |
  229.     +-------------------------------+
  230.  
  231.     To exit, you'd press the letter 'y' (carriage return not required).
  232.  
  233. 3. SETUP SCREENS
  234.  
  235.     Pcomm allows you to change many of the default parameters.  The setup
  236.     screen is accessed by typing ^A and 's'.  The following screen is
  237.     typical and shows the sub-menu choices:
  238.  
  239.     ----------------------- Setup Menu ----------------------------
  240.  
  241.                 1) TTY Setup
  242.                 2) Modem Setup
  243.                 3) Terminal Setup
  244.                 4) General Setup
  245.                 5) ASCII Transfer Setup
  246.                 S) Save setup to disk
  247.  
  248.     ---------------------------------------------------------------
  249.     OPTION ==> _                      Press ESC to exit
  250.     
  251.     To select one of the sub-menu choices, you'd type the number (or
  252.     letter) at the "OPTION ==>" prompt.  To exit from a sub-menu and
  253.     return to this setup menu screen, you'd press the escape key.
  254.  
  255.     Changes made affect the current pcomm session only.  To make the
  256.     changes become the default, you'd select the 's' option.
  257.  
  258. 3.1 Prompting
  259.  
  260.     There are several different types of prompts used in the setup
  261.     screens.  The prompts use the bottom two lines on the display for
  262.     user input and to give more information on what is being asked.
  263.     Pcomm will beep at any illegal input.  The escape key 'ESC' will
  264.     abort any prompt.  The prompt types are:
  265.  
  266.         o+ Character prompt.  Asks you to input a single character.
  267.  
  268.         o+ String prompt.  Asks you to input a word or group of
  269.         characters.
  270.  
  271.         o+ Numeric prompt.  Asks you for a number.
  272.  
  273.         o+ Menu prompt.  Shows a selection and allows you to to
  274.         choose the current selection by pressing the carriage return
  275.         or change the selection by pressing the space bar.
  276.  
  277. 3.2 TTY setup
  278.  
  279.     The TTY setup screen contains the list of devices (ports) that pcomm
  280.     is allowed to use, and what is attached to each port.  A typical TTY
  281.     setup screen might look like this:
  282.  
  283.     ------------------------- TTY Setup ---------------------------
  284.  
  285.         TTY name    Modem name    Maximum baud
  286.  
  287.         1) tty10    HAYES        1200
  288.         2) tty11    HAYES        2400
  289.         3) tty12    DIRECT        9600
  290.         4)                0
  291.         5)                0
  292.         6)                0
  293.         7)                0
  294.         8)                0
  295.         9)                0
  296.         10)                    0
  297.  
  298.         11) Add a TTY entry
  299.         12) Delete a TTY entry
  300.  
  301.     ---------------------------------------------------------------
  302.     OPTION ==> _                    Press ESC to return
  303.  
  304.     You may edit an entry by typing the entry number at the prompt.
  305.     To add an entry, you'd type '11' at the prompt, etc.
  306.  
  307.     The tty setup fields are:
  308.  
  309.         1) The tty name.  This is the name of the serial port that
  310.         pcomm will be allowed to use.  Notice that the path component
  311.         of the name, "/dev/" is not used.
  312.  
  313.         2) The modem name.  This a keyword that is used later to link
  314.         the modem database with the tty database.  The name could be
  315.         any combination of letters or numbers (both upper and lower
  316.         case).
  317.  
  318.     NOTE:  All hard-wired ports (ports without modems attached)
  319.     *must* use the word "DIRECT" for the modem name.
  320.  
  321.         3) The maximum baud rate is highest rating of the modem (or
  322.         the connected baud rate of hard-wired ports).  The baud rate
  323.         is selected from a "menu prompt".
  324.  
  325. 3.3 Modem setup
  326.  
  327.     The modem setup contains the commands to make the modem dial, hangup
  328.     the phone, etc.  A typical modem setup screen might look like this:
  329.  
  330.     -------------------------- Modem Setup --------------------------
  331.  
  332.         1) Modem name ............. HAYES
  333.  
  334.         2) Modem init string ...... ATS7=45S11=70!
  335.         3) Dialing command ........ ATDT
  336.         4) Dialing cmd suffix ..... !
  337.         5) Hangup string .......... ~~+++~~ATH0!
  338.         6) 300 baud connect ....... CONNECT!
  339.         7) 1200 baud connect ...... CONNECT 1200
  340.         8) 2400 baud connect ...... CONNECT 2400
  341.         9) 4800 baud connect ......
  342.         10) 9600 baud connect .....
  343.         11) 19200 baud connect ....
  344.         12) No connect string 1 ... BUSY
  345.         13) No connect string 2 ... VOICE
  346.         14) No connect string 3 ... NO CARRIER
  347.         15) No connect string 4 ...
  348.  
  349.     ---------------------------------------------------------------
  350.     OPTION ==> _                    Press ESC to return
  351.  
  352.     The fields of the modem setup are:
  353.  
  354.         1) Modem name.  This is the keyword that links the modem
  355.         database with the tty database.  A menu prompt is used to
  356.         select the modem name (and the remaining parameters that go
  357.         with it).
  358.  
  359.         2) Modem initialization string.  This is sent to the modem
  360.         whenever the port is selected.  Consult your modem manual for
  361.         the codes to be used.  Notice the use of the "!" character,
  362.         this is the "character synonym" for the carriage return.
  363.  
  364.     NOTE: See section 3.5 for the complete list of character synonyms.
  365.  
  366.         3) Dialing command.  The first part of the command to make
  367.         the modem dial.  It is assumed that the phone number will
  368.         immediately follow.
  369.  
  370.         4) Dialing command suffix.  The last part of the command to
  371.         make the modem dial.  Typically this would be the carriage
  372.         return "character synonym".
  373.  
  374.         5) Hangup string.  The command to make the modem hangup the
  375.         phone.  The character synonym for a 1 second pause is the
  376.         tilde "~" character.
  377.  
  378.         6-11) Connect strings.  The return message when the modem is
  379.         connected to the remote.  If different messages are returned
  380.         depending on which baud rate is selected, they should be
  381.         specified.
  382.  
  383.     NOTE: If two connect strings are similar, (one is contained entirely
  384.     in another) then it is possible that the return code from the modem
  385.     will not match the correct connect string.  To prevent this from
  386.     happening, use the command synonym for the carriage return to
  387.     terminate the shorter connect string.
  388.  
  389.         12-15) No connect strings.  The messages returned by the
  390.         modem when no connection is made.
  391.  
  392. 3.4 Terminal setup
  393.  
  394.     The terminal setup allows you to define the hot key and the mapping
  395.     of the end-of-line characters.  A typical terminal setup menu would
  396.     look like this:
  397.  
  398.     ---------------------- Terminal Setup --------------------------
  399.  
  400.             1) Hot key ................ 1
  401.             2) ASCII version of hot ... ^A
  402.  
  403.             3) Duplex ................. FULL
  404.             4) Flow control ........... XON/XOFF
  405.             5) CR translation (in) .... CR
  406.             6) CR translation (out) ... CR
  407.  
  408.     ---------------------------------------------------------------
  409.     OPTION ==> _                    Press ESC to return
  410.  
  411.     The fields in the terminal setup are:
  412.  
  413.         1) Hot key.  This is the decimal code for the user definable
  414.         hot key.  Consult an ASCII/decimal conversion chart for the
  415.         decimal values of other characters.
  416.  
  417.         2) ASCII version of hot key.  This is the printable version
  418.         of the hot key used by pcomm in the help screen and status
  419.         line.
  420.  
  421.         3) Duplex.  A menu prompt is shown to select between FULL
  422.         duplex and HALF duplex.  In the half duplex mode, characters
  423.         sent to the remote system are also sent to the the screen.
  424.         (The duplex mode can also be change "on the fly" by the
  425.         ^A-E command.)
  426.  
  427.     NOTE: Due to a technical limitation in pcomm, data logging and
  428.     print logging will not work correctly in the half duplex mode.
  429.  
  430.         4) Flow control.  A menu prompt is shown to select between
  431.         XON/XOFF flow control and NONE.  The flow control selected
  432.         here is only used during the terminal session, not during
  433.         file transfers.
  434.  
  435.         5-6) CR translations.  The end-of-line characters for both
  436.         incoming and outgoing carriage returns can be altered to suit
  437.         the remote system's needs.  A menu prompt provides the
  438.         following choices:
  439.     
  440.             o+ CR (no translation)
  441.             o+ CR/NL translate CR to CR/NL
  442.  
  443.         The incoming CR translation can also be changed "on the fly"
  444.         with the ^A-3 command.
  445.  
  446. 3.5 General setup
  447.  
  448.     The general setup allows you to define the character synonyms and
  449.     the default files used by the screen dump and other features.  A
  450.     typical general setup screen might look like this:
  451.  
  452.     ------------------------ General Setup -----------------------
  453.  
  454.             1) Default log file ....... pcomm.log
  455.             2) Screen dump file ....... pcomm.dump
  456.  
  457.             3) Strip high bit  ........ YES
  458.  
  459.             4) Pause character ........ ~
  460.             5) CR character ........... !
  461.             6) CTRL character ......... ^
  462.             7) ESC character .......... |
  463.  
  464.             8) Aborted downloads ...... KEEP
  465.  
  466.             9) Connect delay time ..... 35
  467.             10) Pause between redials . 5
  468.  
  469.     ---------------------------------------------------------------
  470.     OPTION ==> _                    Press ESC to return
  471.  
  472.     The general setup fields are:
  473.  
  474.         1) Default log file.  The file name to be used as the default
  475.         when the data logging is actived (^A-1).  You can override
  476.         this default at run time.
  477.  
  478.         2) Screen dump file.  The file name to be used for the screen
  479.         dump command (^A-G).
  480.  
  481.         3) Strip high bit.  Should pcomm strip the eighth bit on
  482.         incoming and outgoing characters?  A menu prompts allows you
  483.         to select YES or NO.  This feature is not used during file
  484.         transfers.
  485.  
  486.         4-7) Character synonyms.  These are symbols that pcomm uses
  487.         to translate special characters to the their real values
  488.         prior to sending them to the modem.  Synonyms are useful for
  489.         terminals and editors that balk at special characters.
  490.  
  491.         8) Aborted downloads.  When a download aborts (fails), should
  492.         the partially completed file be kept?  The menu prompt allows
  493.         "KEEP" or "DELETE".
  494.  
  495.         9) Connect delay time.  The number of seconds pcomm will wait
  496.         for the modem to return a status code.
  497.  
  498.         10) Pause between retries.  The number of seconds to wait
  499.         before pcomm tries to call the number again.
  500.  
  501. 3.6 ASCII transfer setup
  502.  
  503.     This setup screen allows you to select options to be used for ASCII
  504.     uploads and download.  A typical ASCII transfer setup would look
  505.     like this:
  506.  
  507.     ---------------------- ASCII Transfer Setup ---------------------
  508.  
  509.                 ASCII UPLOAD
  510.  
  511.             1) Echo locally ........... NO
  512.             2) Expand blank lines ..... NO
  513.             3) CR delay (ms) .......... 0
  514.             4) Pace the output ........ NO
  515.             5) CR translation ......... NONE
  516.             6) LF translation ......... NONE
  517.  
  518.                 ASCII DOWNLOAD
  519.  
  520.             7) Transfer timeout ....... 5
  521.             8) CR translation ......... STRIP
  522.             9) LF translation ......... NONE
  523.  
  524.     ---------------------------------------------------------------
  525.     OPTION ==> _                    Press ESC to return
  526.  
  527.     The fields are:
  528.  
  529.         1) Echo locally.  This is similar to the duplex option in
  530.         that it copies outgoing characters to the screen.  The options
  531.         are YES and NO.
  532.  
  533.         2) Expand blank lines.  Should a blank line (NL alone) be
  534.         expanded to a space and NL?  Some BBS systems use a blank
  535.         line to signal the end of a ASCII upload.  The options are
  536.         YES and NO.
  537.  
  538.         3) CR delay.  The delay in milliseconds to be used when
  539.         sending a CR.  The menu prompt limits the choice to 0, 100,
  540.         or 150.
  541.  
  542.         4) Pace output.  Should each character sent be delayed?  Very
  543.         old BBS systems may require this.  The choice is YES or NO.
  544.  
  545.         5) CR translation.  The menu prompt provides the following
  546.         choices for upload translations:
  547.  
  548.             o+ NONE (no translation)
  549.             o+ ADD NL translate CR to CR/NL.
  550.             o+ STRIP remove the CR character
  551.  
  552.         6) LF translation. Same as above except the choices are:
  553.         
  554.             o+ NONE (no translation)
  555.             o+ ADD CR translate NL to CR/NL.
  556.             o+ STRIP remove the NL character
  557.  
  558.         7) Transfer timeout.  The number of seconds to be used to
  559.         determine the end of an ASCII download.  You can halt the
  560.         transfer before the timer goes off by hitting the ESC key.
  561.  
  562.         8-9) Same as 5) and 6) above, except for downloading.
  563.  
  564. 4. MAJOR FUNCTIONS
  565.  
  566.     When pcomm is invoked without the "-f" command line option, you are
  567.     placed in the terminal mode with a blank screen and a status line.
  568.     However, since pcomm hasn't yet selected a serial port to use,
  569.     characters typed at the blank screen are ignored.
  570.  
  571.     Normally the first command you'd use is ^A-D to bring up the dialing
  572.     directory menu.
  573.  
  574. 4.1 Dialing directory
  575.  
  576.     To dial another system, you'd type ^A-D to access the dialing
  577.     directory menu, then enter the entry number at the prompt.
  578.  
  579.     The entry number could be preceded by a special long distance dialing
  580.     code such as "#5" in lieu of "5" alone.  Long distance codes could
  581.     contain access numbers such as those that MCI and Sprint require.
  582.  
  583.     A typical dialing directory would look like this:
  584.  
  585. +----------------------------------------------------------------------------+
  586. |            D I A L I N G    D I R E C T O R Y             |
  587. |----------------------------------------------------------------------------|
  588. |      Name             Number       Baud P D S Dpx  Index/tty         |
  589. |  1- Abbey Road    1 (512) 590-6036   2400-N-8-1  F             |
  590. |  2- Tel-Med-Com        526-8686   1200-E-7-1  F             |
  591. |  3- C Board        1 (619) 722-8724   2400-N-8-1  F             |
  592. |  4- Crest        1 (213) 471-2518   2400-N-8-1  F  crest             |
  593. |  5- Last Chance    1 (219) 762-8411   2400-E-7-1  F             |
  594. |  6- Killer        1 (214) 827-1994   1200-E-7-1  F             |
  595. |  7- System A (direct)               9600-N-8-1  F  tty12             |
  596. |  8-                       1200-E-7-1  F             |
  597. |  9-                       1200-E-7-1  F             |
  598. | 10-                       1200-E-7-1  F             |
  599. |                                         |
  600. |   ==> _    R Revise    M Manual Dialing    Entry to Dial         |
  601. |        P LD Codes    D Delete Entry        <cr> Scroll Down     |
  602. |        up/dn Page    L Print Entries        ESC Exit         |
  603. |                                         |
  604. |   LD Codes Active: @ #                             |
  605. |                                         |
  606. +----------------------------------------------------------------------------+
  607.  
  608.     The fields of the dialing directory are:
  609.  
  610.         o+ Name.  The name of the remote system.
  611.  
  612.         o+ Number.  The telephone number to the remote system.
  613.  
  614.     NOTE: The "(", ")", "-", and space character are for just for looks,
  615.     they don't get sent to the modem.
  616.  
  617.         o+ Line settings.  The communications settings to be used
  618.         when dialing that entry.  The range of values are:
  619.  
  620.             Baud    Parity       Data bits  Stop bits
  621.  
  622.             300    N - none    7    1
  623.             1200    E - even    8    2
  624.             2400    O - odd
  625.             4800
  626.             9600
  627.             19200
  628.  
  629.         o+ Duplex.  The duplex mode.  Either "F" for full or "H"
  630.         for half.
  631.  
  632.         o+ Index.  The string to be used to select this entry with
  633.         the "-f" command line option.  This field is also used to
  634.         specify a particular tty for the entry.
  635.  
  636.     NOTE:  On all hard-wired ports, the index field must be set to the
  637.     name of the port.  For example, if tty12 is a hard-wired port to
  638.     "System A", then the dialing directory entry for "System A" would
  639.     have "tty12" in the index field.
  640.  
  641.     The commands at the dialing directory prompt are:
  642.  
  643.         R) Revise (or add) a dialing directory entry or long distance
  644.         dialing code.  Prompts you to save the changes to disk.
  645.  
  646.         P) Print (display) the long distance dialing codes.
  647.  
  648.         up/dn) Scroll the dialing directory up or down 10 lines.
  649.         Use the up and down arrow keys to access this feature.
  650.  
  651.         M) Manual dial. Prompts you for a phone number rather than
  652.         using a number already in the dialing directory.
  653.  
  654.         D) Delete an entry or a range of entries.  Prompts you to
  655.         save the changes to disk.
  656.  
  657.         L) Print.  Send the dialing directory to the printer
  658.         or a file of your choice.
  659.  
  660.         1-100) Entry number.  Dial the phone for that entry number.
  661.  
  662.     NOTE:  To access the port directly without dialing (perhaps to send
  663.     the dial codes yourself), select an empty entry or enter a single
  664.     space character at the manual dial option.
  665.  
  666.         <cr> Carriage return.  Scroll the dialing directory down one
  667.         line.
  668.  
  669. 4.2 Redial
  670.  
  671.     The redial feature is a misnomer, it really is a queuing system that
  672.     allows pcomm to dial several numbers in a cycle until one of them
  673.     answers.
  674.  
  675.     When you invoke the redial command with ^A-R, you are prompted for a
  676.     list of dialing directory numbers.  (You may also prepend a long
  677.     distance code to the entry number).
  678.  
  679.      +-- Redial Queue --------------------------------------------------+
  680.      |                                        |
  681.      |   Directory Entry Number(s): _                    |
  682.      |                                    |
  683.      |            (CR for previous numbers)            |
  684.      +------------------------------------------------------------------+
  685.  
  686.     To redial the previous number, press a carriage return alone at
  687.     the prompt.
  688.  
  689. 4.3 Keyboard macros.
  690.  
  691.     Keyboard macros are not supported at this time.
  692.  
  693. 4.4 Line settings.
  694.  
  695.     The line settings menu is invoked by ^A-P.  A typical line settings
  696.     menu would look like this:
  697.  
  698.         +-----------------------------------------------+
  699.         |        Line Settings            |
  700.         |-----------------------------------------------|
  701.         |                        |
  702.         |    Current Settings:  1200,E,7,1        |
  703.         |                        |
  704.         |    1)     300,E,7,1    7)     300,N,8,1    |
  705.         |    2)    1200,E,7,1    8)    1200,N,8,1    |
  706.         |    3)    2400,E,7,1    9)    2400,N,8,1    |
  707.         |    4)    4800,E,7,1    10)    4800,N,8,1    |
  708.         |    5)    9600,E,7,1    11)    9600,N,8,1    |
  709.         |    6)   19200,E,7,1    12)    19200,N,8,1    |
  710.         |                        |
  711.         |   Parity    Data Bits    Stop Bits    |
  712.         |   13) Odd    14) 7 bits    16) 1 bit    |
  713.         |        15) 8 bits    17) 2 bits    |
  714.         |                        |
  715.         |   18) Save Changes    YOUR CHOICE: _        |
  716.         |                        |
  717.         +------------- Press ESC to return -------------+
  718.  
  719.     After dialing a remote, the line settings in the dialing directory
  720.     entry are automatically used.  Therefore the line settings menu is
  721.     used to adjust the values or to select the default parameters.  You
  722.     can make the current setting the default by selecting the "Save
  723.     Changes" option.
  724.  
  725.     The current settings are also displayed in the status line.
  726.  
  727.     NOTE: During file transfers, certain parameters (namely the data
  728.     bits and parity) will be temporarily promoted.
  729.  
  730. 4.5 Exit pcomm
  731.  
  732.     To exit pcomm, you'd type ^A-X.
  733.  
  734. 4.6 Unix gateway.
  735.  
  736.     To temporarily suspend pcomm and spawn a Unix shell, you'd type
  737.     ^A-4.  To return to pcomm, you'd exit the shell normally, typically
  738.     with "^D" or "exit".
  739.  
  740. 5. UTILITY FUNCTIONS
  741.  
  742.     The following commands perform secondary functions.
  743.  
  744. 5.1 Program information
  745.  
  746.     To display the opening information screen, you'd type ^A-I.  Press
  747.     any key to return to the terminal mode.
  748.  
  749. 5.2 Setup screen
  750.  
  751.     The setup screens are described in detail in section 3 of this manual.
  752.  
  753. 5.3 Change directory
  754.  
  755.     To change the current working directory while still inside pcomm,
  756.     you'd type ^A-B.  A screen similar to the following would appear:
  757.  
  758.     +-- Change directory -------------------------------------------+
  759.     |                                |
  760.     |   Current directory: /usr/egray                |
  761.     |   New directory: _                        |
  762.     |                                |
  763.     +---------------------------------------------------------------+
  764.  
  765.     Abbrievations known to the shell are acceptable, for example the
  766.     "~" character would be translated to the home directory in the csh
  767.     or ksh shell.
  768.  
  769. 5.4 Clear screen.
  770.  
  771.     To clear the local screen and home the cursor, you'd type ^A-C.
  772.  
  773.     NOTE:  The remote system may not "know" the screen has been cleared,
  774.     and may make assumptions about the screen that are incorrect.
  775.     
  776. 5.5 Toggle Duplex.
  777.  
  778.     The ^A-E command changes the duplex mode from FULL to HALF, or from
  779.     HALF to FULL.  The status line shows the current settings.
  780.  
  781. 5.6 Hangup the phone.
  782.  
  783.     To hangup the phone, you'd type ^A-H.  The word "disconnecting" will
  784.     briefly show in the status line.
  785.  
  786.     NOTE: The hangup string is sent to the modem and then the DTR is
  787.     dropped on the line.
  788.  
  789. 5.7 Printer logging.
  790.  
  791.     The ^A-L command toggles the printer logging on or off.  The current
  792.     settings are displayed in the status line.
  793.  
  794.     NOTE: Since all printing goes to the normal Unix print spool program,
  795.     the characters will not print on the printer as they appear on the
  796.     screen.  The printing will actually begin when the printer logging
  797.     is turned *off* and the complete print job is sent to the spool.
  798.  
  799. 5.8 Toggle CR - CR/LF.
  800.  
  801.     The ^A-3 command toggles the incoming line termination characters
  802.     between CR and CR/LF.  The status line show the current settings (in
  803.     the next to the last field).
  804.  
  805. 5.9 Break.
  806.  
  807.     A ^A-7 sends a modem break to the remote system.  The word "break"
  808.     is (very) briefly displayed on the status line.
  809.  
  810.     NOTE: This not the same as the break key on the keyboard (we don't
  811.     want to send a break to the local system, we want to sent it to
  812.     the *remote*).
  813.  
  814. 6. FILE FUNCTIONS
  815.  
  816.     One of the most important features of a telecommunication program is
  817.     the ability to transfer files.  The following file transfer protocols
  818.     are implemented at this time:
  819.  
  820.     protocol    packet        error        multiple
  821.     name        size        detection    files?
  822.     ---------    --------    ------------    -----
  823.     
  824.     xmodem        128        checksum/CRC    no
  825.     xmodem-1k    128/1024    checksum/CRC    no
  826.     modem7        128        checksum    yes*1
  827.     ymodem        128/1024    CRC        yes*2
  828.     ymodem-g    128/1024    none*3        yes
  829.     ASCII        none        none        no
  830.  
  831.     Notes:    1 CP/M style file name
  832.         2 MSDOS style file name and file size
  833.         3 Not needed!
  834.  
  835. 6.1 Send files.
  836.  
  837.     To send a file to the remote, you'd first instruct the remote system
  838.     to receive the file, then type ^A-"up arrow".  The following screen
  839.     would appear:
  840.  
  841.                     +----- Upload -----+
  842.                     |           |
  843.                     |  1) xmodem       |
  844.                     |  2) xmodem-1k    |
  845.                     |  3) modem7       |
  846.                     |  4) ymodem       |
  847.                     |  5) ymodem-g     |
  848.                     |  6) ASCII       |
  849.                     |           |
  850.                     |           |
  851.                     |           |
  852.                     |  ESC to Abort    |
  853.                     |           |
  854.                     |  Protocol: _     |
  855.                     +------------------+
  856.  
  857.     You'd then select the type of protocol at the prompt, and another
  858.     window similar to this would appear:
  859.  
  860.     +-- Send xmodem ------------------------------------------------+
  861.     |                                |
  862.     |                                |
  863.     |   Enter filename: _                        |
  864.     |                                |
  865.     |                                |
  866.     +---------------------------------------------------------------+
  867.  
  868.     Now you'd type in the file name or names you'd like to send.
  869.     Wildcards known to the shell are acceptable.
  870.  
  871.     Now the file transfer actually begins.  A status screen similar to
  872.     the following is displayed during the transfer:
  873.  
  874.                 +-------------- Uploading --------------+
  875.                 |                    |
  876.                 |         Protocol: xmodem        |
  877.                 |        File name: main.c        |
  878.                 |        File size: 4420        |
  879.                 |  Error check method: CRC        |
  880.                 |   Est transfer time: 0:00:50        |
  881.                 |      Block count: 5        |
  882.                 |    Percent complete: 11.2%        |
  883.                 |   Bytes transferred: 640        |
  884.                 |   Errors this block: 0        |
  885.                 |   Total error count: 0        |
  886.                 |     Last message: NONE        |
  887.                 |                    |
  888.                 +---------- Press ESC to abort ---------+
  889.  
  890.     As the transfer progresses, the "block count", "percent complete",
  891.     and "bytes transferred" fields will be continuously updated.  If
  892.     errors occur the "errors this block" and "total error count" fields
  893.     will be updated and the "last message" field will contain a message
  894.     about the error.
  895.  
  896.     At the end of the transfer, pcomm will beep and return to the terminal
  897.     mode.  If an error occurred and the transfer was aborted, you will be
  898.     prompted to acknowledge the error by pressing a key before returning
  899.     to the terminal mode.
  900.  
  901. 6.2 Receive files
  902.  
  903.     To receive a file (or group of files) from a remote system, you'd
  904.     instruct the remote system first, then type ^A-"down arrow".
  905.     Receiving a file is basically the same as sending a file.
  906.  
  907.     NOTE: Some systems do not pad the end of the file with control-Z's
  908.     and therefore files might grow in length when received.
  909.  
  910.     NOTE: Due to a technical limitation of pcomm, characters received
  911.     during an ASCII download will not reappear on the screen when you
  912.     return to the terminal mode.
  913.  
  914. 6.3 Directory
  915.  
  916.     To obtain a listing of a directory on the local system while still
  917.     running pcomm, you'd type ^A-F.  The following screen would appear:
  918.  
  919.     +-- List Directory ---------------------------------------------+
  920.     |                                |
  921.     |   Current directory: /usr/egray                |
  922.     |   File spec (wildcards allowed): _                |
  923.     |                                |
  924.     +---------------------------------------------------------------+
  925.  
  926.     Abbrievations know to the shell are valid.
  927.  
  928.     NOTE: Since we're really doing a popen() to the "ls" command,
  929.     additional command line options are also valid.
  930.  
  931. 6.4 Screen dump
  932.  
  933.     To dump the contents of the current screen (minus any windows showing)
  934.     you'd type ^A-G.  The contents of the screen are written to the file
  935.     specified in the general setup for this purpose.  If the file already
  936.     exists, the screen contents are appended to the file.  The message
  937.     "screen dump" will briefly appear in the status line.
  938.  
  939. 6.5 Start Data log
  940.  
  941.     To start the data logging, or change the file used for data logging,
  942.     you'd type ^A-1.  The following screen would appear:
  943.  
  944.     +-- Start Data Logging -----------------------------------------+
  945.     |                                |
  946.     |   Default log file: pcomm.log                    |
  947.     |   New log file: _                        |
  948.     |                                |
  949.     +---------------------------------------------------------------+
  950.  
  951.     To keep the default file, just press a carriage return at the prompt,
  952.     otherwise, enter a new file name.
  953.  
  954.     The status of the logging is shown in the status line.
  955.  
  956. 6.6 Toggle Logging
  957.  
  958.     To temporarily suspend data logging or to start it again without
  959.     being prompted for the file name, you'd type ^A-2.
  960.  
  961.     The status lines shows the current settings.
  962.  
  963. 7.  DIALING WINDOW
  964.  
  965.     While pcomm is dialing another system, a screen similar to the
  966.     following is shown:
  967.  
  968.     +--------------------------------------------------------------------+
  969.     |          D I A L I N G           W I N D O W             |
  970.     +--------------------------------------------------------------------+
  971.     |                                     |
  972.     |              System name: C Board                 |
  973.     |              Pass number: 1                     |
  974.     |         Elapse time this try: 4                     |
  975.     |        Time at start of dial: 14:53:36                 |
  976.     |    Time at start of this try: 14:53:37                 |
  977.     |           Connect delay time: 35                     |
  978.     |          Pause between tries: 5                     |
  979.     |            Index/tty:                     |
  980.     |           Result of last try:                     |
  981.     |                                     |
  982.     |  SPACE: Recycle    DEL: Remove from queue   E: Change delay times  |
  983.     |                                     |
  984.     +------------------------ Press ESC to abort ------------------------+
  985.  
  986.     The options available during the dialing are:
  987.  
  988.         SPACE) Press the space bar to stop the dialing of the current
  989.         entry and go on to the next entry in the queue.  If there is
  990.         only one entry in the queue, then that number is immediately
  991.         redialed.
  992.  
  993.         DEL) Press the DEL key to remove the current number from the
  994.         queue.
  995.  
  996.         E) Press the letter "E" to change the connect delay time, or
  997.         the pause between retries.  You will be prompted to save the
  998.         changes to disk.
  999. echo shar: "36 control characters may be missing from 'Doc'"
  1000.