home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-05-17 | 32.2 KB | 1,000 lines |
-
-
-
-
-
-
-
-
-
-
- PPPPPP CCCC OOOO MM MM MM MM
- P P C O O M M M M M M M M
- PPPPPP C O O M M M M M M
- P C O O M M M M
- P CCCC OOOO M M M M
-
-
-
-
-
-
-
-
- Pcomm Reference Manual
-
- version 1.0
-
-
-
-
- written by
-
- Emmet P. Gray
- ...!ihnp4!uiucuxc!fthood!egray
-
-
-
-
-
-
- Pcomm is a public domain telecommunications program for Unix that
- is designed to operate similar to the MSDOS program, ProComm.
- ProComm (TM) is copyrighted by Datastorm Technologies, Inc. This
- is a completely new program and contains no ProComm source code.
- This is not a Datastorm product.
-
-
- Table of Contents
-
-
- 1. INTRODUCTION .................... 3
- 1.1 Requirements ................... 3
- 1.2 Support files .................. 3
-
- 2. RUNNING PCOMM ................... 4
- 2.1 Hot key ........................ 4
- 2.2 Status line .................... 4
- 2.3 Help screen .................... 5
- 2.4 Exit pcomm ..................... 5
-
- 3. SETUP SCREENS ................... 6
- 3.1 Prompting ...................... 6
- 3.2 TTY setup ...................... 7
- 3.3 Modem setup .................... 8
- 3.4 Terminal setup ................. 9
- 3.5 General setup .................. 10
- 3.6 ASCII transfer setup ........... 11
-
- 4. MAJOR FUNCTIONS ................. 13
- 4.1 Dialing directory .............. 13
- 4.2 Redial ......................... 15
- 4.3 Keyboard macros ................ 15
- 4.4 Line settings .................. 15
- 4.5 Exit pcomm ..................... 16
- 4.6 Unix gateway ................... 16
-
- 5. UTILITY FUNCTIONS ............... 17
- 5.1 Program information ............ 17
- 5.2 Setup screen ................... 17
- 5.3 Change directory ............... 17
- 5.4 Clear screen ................... 17
- 5.5 Toggle duplex .................. 17
- 5.6 Hangup the phone ............... 17
- 5.7 Printer logging ................ 18
- 5.8 Toggle CR - CR/LF .............. 18
- 5.9 Break .......................... 18
-
- 6. FILE FUNCTIONS .................. 19
- 6.1 Send files ..................... 19
- 6.2 Receive files .................. 20
- 6.3 Directory ...................... 20
- 6.4 Screen dump .................... 21
- 6.5 Start data logging ............. 21
- 6.6 Toggle logging ................. 21
-
- 7. DIALING WINDOW .................. 22
-
- 1. INTRODUCTION
-
- Pcomm is a public domain, menu driven, telecommunication program
- designed to provide the same "ease of use" as similar programs
- available in MSDOS. Some of its features are:
-
- o+ Large dialing directory
- o+ Automatic redial feature
- o+ Supports several file transfer protocols
- o+ Data logging (log of the terminal session)
- o+ Printer logging
- o+ Screen dump
- o+ User customization
-
- Pcomm does not emulate any particular terminal. Whatever terminal
- you're on, is what the remote system "sees".
-
- 1.1 Requirements
-
- Pcomm will not run on terminals with a screen size of less than
- 80 columns by 24 lines or on terminals that lack cursor movement
- capabilities. For terminals without arrow keys, use the letter "U"
- in place of "up arrow" and the letter "N" in place of "down arrow".
-
- 1.2 Support files
-
- Pcomm uses three support files, namely:
-
- pcomm.dial_dir the dialing directory
- pcomm.modem the modem/tty database
- pcomm.param the start-up default parameters
-
- There is a default directory (typically "/usr/local/lib/pcomm")
- where the "standard" support files live. Since the average user
- would not have write permission on these files, it's assumed that
- you'll copy these standard files to your own directory and edit
- them to suit your needs.
-
- Pcomm can use the environmental variable "PCOMM" to search for
- these "private" support files. If used, the variable must contain
- the path to the directory containing the files.
-
- The following directories are searched to find the support files:
-
- o+ directory given with the "-d" option
- o+ directory in the PCOMM environmental variable
- o+ the current working directory
- o+ the global default directory
-
- 2. RUNNING PCOMM
-
- Pcomm has the following command line syntax.
-
- pcomm [-d directory] [-f index]
-
- The "-d" option allows you to specify an additional path to be used
- when searching for the pcomm support files.
-
- The "-f" option is used to specify automatic dialing of an entry in
- the dialing directory. The "index" field in the dialing directory
- (described later) is checked against the string given on the command
- line. If a match is found, that entry is automatically dialed.
-
- 2.1 Hot key
-
- Pcomm uses a "hot key" to precede each command. (The value of the
- hot key is a user tunable parameter, but for the purpose of this
- document we'll assume the hot key is defined as control-A).
-
- The hot key is used to put pcomm in the command mode. For example,
- to get the help screen, you'd type control-A (to get to the command
- mode) then the number 0 (to display the help screen). When a command
- is completed, pcomm returns to the terminal mode.
-
- NOTE: While in the command mode, the communications with the remote
- system is temporarily suspended.
-
- 2.2 Status line
-
- Whenever pcomm is in the command mode (or is not currently connected
- to a remote) a status line is displayed at the bottom of the screen.
- A typical status line might look like this:
-
- +-----------------------------------------------------------------------------+
- | ^A-0 HELP | No TTY | FDX | 1200 E71 | LOG OFF | PTR OFF | CR | CR |
- +-----------------------------------------------------------------------------+
-
- The eight fields of the status line are:
-
- o+ help screen command (or a temporary message)
- o+ name of the tty device in use
- o+ duplex mode (FDX = full duplex, HDX = half duplex)
- o+ current line settings
- o+ status of data logging option
- o+ status of printer logging option
- o+ incoming CR translation
- o+ outgoing CR translation
-
-
- 2.3 Help screen
-
- The help screen gives a brief review of all the available commands.
- To access the help screen type ^A and '0' (zero). The typical help
- screen would look like this:
-
- +-----------------------------------------------------------------------------+
- | P C O M M H E L P |
- |-----------------------------------------------------------------------------|
- | |
- | Major Functions Utility Functions File Functions |
- | |
- | Dialing Directory . ^A-D Program Info ..... ^A-I Send files .... ^A-up |
- | Auto Redial ....... ^A-R Setup Screen ..... ^A-S Receive files . ^A-dn |
- | Keyboard Macros ... ^A-M Change Directory . ^A-B Directory ..... ^A-F |
- | Line Settings ..... ^A-P Clear Screen ..... ^A-C Screen Dump ... ^A-G |
- | Exit Pcomm ........ ^A-X Toggle Duplex .... ^A-E Start Data Log. ^A-1 |
- | Unix Gateway ...... ^A-4 Hangup Phone ..... ^A-H Toggle Log .... ^A-2 |
- | Printer On/Off ... ^A-L |
- | Toggle CR/CR-LF .. ^A-3 |
- | Break Key ........ ^A-7 |
- | |
- +-------------------------- Press any key to continue ------------------------+
-
- 2.4 Exit pcomm
-
- To exit pcomm, you'd type ^A and 'x' to access the exit window.
-
- +-- Exit -----------------------+
- | |
- | Exit to Unix? (y/n): _ |
- | |
- +-------------------------------+
-
- To exit, you'd press the letter 'y' (carriage return not required).
-
- 3. SETUP SCREENS
-
- Pcomm allows you to change many of the default parameters. The setup
- screen is accessed by typing ^A and 's'. The following screen is
- typical and shows the sub-menu choices:
-
- ----------------------- Setup Menu ----------------------------
-
- 1) TTY Setup
- 2) Modem Setup
- 3) Terminal Setup
- 4) General Setup
- 5) ASCII Transfer Setup
- S) Save setup to disk
-
- ---------------------------------------------------------------
- OPTION ==> _ Press ESC to exit
-
- To select one of the sub-menu choices, you'd type the number (or
- letter) at the "OPTION ==>" prompt. To exit from a sub-menu and
- return to this setup menu screen, you'd press the escape key.
-
- Changes made affect the current pcomm session only. To make the
- changes become the default, you'd select the 's' option.
-
- 3.1 Prompting
-
- There are several different types of prompts used in the setup
- screens. The prompts use the bottom two lines on the display for
- user input and to give more information on what is being asked.
- Pcomm will beep at any illegal input. The escape key 'ESC' will
- abort any prompt. The prompt types are:
-
- o+ Character prompt. Asks you to input a single character.
-
- o+ String prompt. Asks you to input a word or group of
- characters.
-
- o+ Numeric prompt. Asks you for a number.
-
- o+ Menu prompt. Shows a selection and allows you to to
- choose the current selection by pressing the carriage return
- or change the selection by pressing the space bar.
-
- 3.2 TTY setup
-
- The TTY setup screen contains the list of devices (ports) that pcomm
- is allowed to use, and what is attached to each port. A typical TTY
- setup screen might look like this:
-
- ------------------------- TTY Setup ---------------------------
-
- TTY name Modem name Maximum baud
-
- 1) tty10 HAYES 1200
- 2) tty11 HAYES 2400
- 3) tty12 DIRECT 9600
- 4) 0
- 5) 0
- 6) 0
- 7) 0
- 8) 0
- 9) 0
- 10) 0
-
- 11) Add a TTY entry
- 12) Delete a TTY entry
-
- ---------------------------------------------------------------
- OPTION ==> _ Press ESC to return
-
- You may edit an entry by typing the entry number at the prompt.
- To add an entry, you'd type '11' at the prompt, etc.
-
- The tty setup fields are:
-
- 1) The tty name. This is the name of the serial port that
- pcomm will be allowed to use. Notice that the path component
- of the name, "/dev/" is not used.
-
- 2) The modem name. This a keyword that is used later to link
- the modem database with the tty database. The name could be
- any combination of letters or numbers (both upper and lower
- case).
-
- NOTE: All hard-wired ports (ports without modems attached)
- *must* use the word "DIRECT" for the modem name.
-
- 3) The maximum baud rate is highest rating of the modem (or
- the connected baud rate of hard-wired ports). The baud rate
- is selected from a "menu prompt".
-
- 3.3 Modem setup
-
- The modem setup contains the commands to make the modem dial, hangup
- the phone, etc. A typical modem setup screen might look like this:
-
- -------------------------- Modem Setup --------------------------
-
- 1) Modem name ............. HAYES
-
- 2) Modem init string ...... ATS7=45S11=70!
- 3) Dialing command ........ ATDT
- 4) Dialing cmd suffix ..... !
- 5) Hangup string .......... ~~+++~~ATH0!
- 6) 300 baud connect ....... CONNECT!
- 7) 1200 baud connect ...... CONNECT 1200
- 8) 2400 baud connect ...... CONNECT 2400
- 9) 4800 baud connect ......
- 10) 9600 baud connect .....
- 11) 19200 baud connect ....
- 12) No connect string 1 ... BUSY
- 13) No connect string 2 ... VOICE
- 14) No connect string 3 ... NO CARRIER
- 15) No connect string 4 ...
-
- ---------------------------------------------------------------
- OPTION ==> _ Press ESC to return
-
- The fields of the modem setup are:
-
- 1) Modem name. This is the keyword that links the modem
- database with the tty database. A menu prompt is used to
- select the modem name (and the remaining parameters that go
- with it).
-
- 2) Modem initialization string. This is sent to the modem
- whenever the port is selected. Consult your modem manual for
- the codes to be used. Notice the use of the "!" character,
- this is the "character synonym" for the carriage return.
-
- NOTE: See section 3.5 for the complete list of character synonyms.
-
- 3) Dialing command. The first part of the command to make
- the modem dial. It is assumed that the phone number will
- immediately follow.
-
- 4) Dialing command suffix. The last part of the command to
- make the modem dial. Typically this would be the carriage
- return "character synonym".
-
- 5) Hangup string. The command to make the modem hangup the
- phone. The character synonym for a 1 second pause is the
- tilde "~" character.
-
- 6-11) Connect strings. The return message when the modem is
- connected to the remote. If different messages are returned
- depending on which baud rate is selected, they should be
- specified.
-
- NOTE: If two connect strings are similar, (one is contained entirely
- in another) then it is possible that the return code from the modem
- will not match the correct connect string. To prevent this from
- happening, use the command synonym for the carriage return to
- terminate the shorter connect string.
-
- 12-15) No connect strings. The messages returned by the
- modem when no connection is made.
-
- 3.4 Terminal setup
-
- The terminal setup allows you to define the hot key and the mapping
- of the end-of-line characters. A typical terminal setup menu would
- look like this:
-
- ---------------------- Terminal Setup --------------------------
-
- 1) Hot key ................ 1
- 2) ASCII version of hot ... ^A
-
- 3) Duplex ................. FULL
- 4) Flow control ........... XON/XOFF
- 5) CR translation (in) .... CR
- 6) CR translation (out) ... CR
-
- ---------------------------------------------------------------
- OPTION ==> _ Press ESC to return
-
- The fields in the terminal setup are:
-
- 1) Hot key. This is the decimal code for the user definable
- hot key. Consult an ASCII/decimal conversion chart for the
- decimal values of other characters.
-
- 2) ASCII version of hot key. This is the printable version
- of the hot key used by pcomm in the help screen and status
- line.
-
- 3) Duplex. A menu prompt is shown to select between FULL
- duplex and HALF duplex. In the half duplex mode, characters
- sent to the remote system are also sent to the the screen.
- (The duplex mode can also be change "on the fly" by the
- ^A-E command.)
-
- NOTE: Due to a technical limitation in pcomm, data logging and
- print logging will not work correctly in the half duplex mode.
-
- 4) Flow control. A menu prompt is shown to select between
- XON/XOFF flow control and NONE. The flow control selected
- here is only used during the terminal session, not during
- file transfers.
-
- 5-6) CR translations. The end-of-line characters for both
- incoming and outgoing carriage returns can be altered to suit
- the remote system's needs. A menu prompt provides the
- following choices:
-
- o+ CR (no translation)
- o+ CR/NL translate CR to CR/NL
-
- The incoming CR translation can also be changed "on the fly"
- with the ^A-3 command.
-
- 3.5 General setup
-
- The general setup allows you to define the character synonyms and
- the default files used by the screen dump and other features. A
- typical general setup screen might look like this:
-
- ------------------------ General Setup -----------------------
-
- 1) Default log file ....... pcomm.log
- 2) Screen dump file ....... pcomm.dump
-
- 3) Strip high bit ........ YES
-
- 4) Pause character ........ ~
- 5) CR character ........... !
- 6) CTRL character ......... ^
- 7) ESC character .......... |
-
- 8) Aborted downloads ...... KEEP
-
- 9) Connect delay time ..... 35
- 10) Pause between redials . 5
-
- ---------------------------------------------------------------
- OPTION ==> _ Press ESC to return
-
- The general setup fields are:
-
- 1) Default log file. The file name to be used as the default
- when the data logging is actived (^A-1). You can override
- this default at run time.
-
- 2) Screen dump file. The file name to be used for the screen
- dump command (^A-G).
-
- 3) Strip high bit. Should pcomm strip the eighth bit on
- incoming and outgoing characters? A menu prompts allows you
- to select YES or NO. This feature is not used during file
- transfers.
-
- 4-7) Character synonyms. These are symbols that pcomm uses
- to translate special characters to the their real values
- prior to sending them to the modem. Synonyms are useful for
- terminals and editors that balk at special characters.
-
- 8) Aborted downloads. When a download aborts (fails), should
- the partially completed file be kept? The menu prompt allows
- "KEEP" or "DELETE".
-
- 9) Connect delay time. The number of seconds pcomm will wait
- for the modem to return a status code.
-
- 10) Pause between retries. The number of seconds to wait
- before pcomm tries to call the number again.
-
- 3.6 ASCII transfer setup
-
- This setup screen allows you to select options to be used for ASCII
- uploads and download. A typical ASCII transfer setup would look
- like this:
-
- ---------------------- ASCII Transfer Setup ---------------------
-
- ASCII UPLOAD
-
- 1) Echo locally ........... NO
- 2) Expand blank lines ..... NO
- 3) CR delay (ms) .......... 0
- 4) Pace the output ........ NO
- 5) CR translation ......... NONE
- 6) LF translation ......... NONE
-
- ASCII DOWNLOAD
-
- 7) Transfer timeout ....... 5
- 8) CR translation ......... STRIP
- 9) LF translation ......... NONE
-
- ---------------------------------------------------------------
- OPTION ==> _ Press ESC to return
-
- The fields are:
-
- 1) Echo locally. This is similar to the duplex option in
- that it copies outgoing characters to the screen. The options
- are YES and NO.
-
- 2) Expand blank lines. Should a blank line (NL alone) be
- expanded to a space and NL? Some BBS systems use a blank
- line to signal the end of a ASCII upload. The options are
- YES and NO.
-
- 3) CR delay. The delay in milliseconds to be used when
- sending a CR. The menu prompt limits the choice to 0, 100,
- or 150.
-
- 4) Pace output. Should each character sent be delayed? Very
- old BBS systems may require this. The choice is YES or NO.
-
- 5) CR translation. The menu prompt provides the following
- choices for upload translations:
-
- o+ NONE (no translation)
- o+ ADD NL translate CR to CR/NL.
- o+ STRIP remove the CR character
-
- 6) LF translation. Same as above except the choices are:
-
- o+ NONE (no translation)
- o+ ADD CR translate NL to CR/NL.
- o+ STRIP remove the NL character
-
- 7) Transfer timeout. The number of seconds to be used to
- determine the end of an ASCII download. You can halt the
- transfer before the timer goes off by hitting the ESC key.
-
- 8-9) Same as 5) and 6) above, except for downloading.
-
- 4. MAJOR FUNCTIONS
-
- When pcomm is invoked without the "-f" command line option, you are
- placed in the terminal mode with a blank screen and a status line.
- However, since pcomm hasn't yet selected a serial port to use,
- characters typed at the blank screen are ignored.
-
- Normally the first command you'd use is ^A-D to bring up the dialing
- directory menu.
-
- 4.1 Dialing directory
-
- To dial another system, you'd type ^A-D to access the dialing
- directory menu, then enter the entry number at the prompt.
-
- The entry number could be preceded by a special long distance dialing
- code such as "#5" in lieu of "5" alone. Long distance codes could
- contain access numbers such as those that MCI and Sprint require.
-
- A typical dialing directory would look like this:
-
- +----------------------------------------------------------------------------+
- | D I A L I N G D I R E C T O R Y |
- |----------------------------------------------------------------------------|
- | Name Number Baud P D S Dpx Index/tty |
- | 1- Abbey Road 1 (512) 590-6036 2400-N-8-1 F |
- | 2- Tel-Med-Com 526-8686 1200-E-7-1 F |
- | 3- C Board 1 (619) 722-8724 2400-N-8-1 F |
- | 4- Crest 1 (213) 471-2518 2400-N-8-1 F crest |
- | 5- Last Chance 1 (219) 762-8411 2400-E-7-1 F |
- | 6- Killer 1 (214) 827-1994 1200-E-7-1 F |
- | 7- System A (direct) 9600-N-8-1 F tty12 |
- | 8- 1200-E-7-1 F |
- | 9- 1200-E-7-1 F |
- | 10- 1200-E-7-1 F |
- | |
- | ==> _ R Revise M Manual Dialing Entry to Dial |
- | P LD Codes D Delete Entry <cr> Scroll Down |
- | up/dn Page L Print Entries ESC Exit |
- | |
- | LD Codes Active: @ # |
- | |
- +----------------------------------------------------------------------------+
-
- The fields of the dialing directory are:
-
- o+ Name. The name of the remote system.
-
- o+ Number. The telephone number to the remote system.
-
- NOTE: The "(", ")", "-", and space character are for just for looks,
- they don't get sent to the modem.
-
- o+ Line settings. The communications settings to be used
- when dialing that entry. The range of values are:
-
- Baud Parity Data bits Stop bits
-
- 300 N - none 7 1
- 1200 E - even 8 2
- 2400 O - odd
- 4800
- 9600
- 19200
-
- o+ Duplex. The duplex mode. Either "F" for full or "H"
- for half.
-
- o+ Index. The string to be used to select this entry with
- the "-f" command line option. This field is also used to
- specify a particular tty for the entry.
-
- NOTE: On all hard-wired ports, the index field must be set to the
- name of the port. For example, if tty12 is a hard-wired port to
- "System A", then the dialing directory entry for "System A" would
- have "tty12" in the index field.
-
- The commands at the dialing directory prompt are:
-
- R) Revise (or add) a dialing directory entry or long distance
- dialing code. Prompts you to save the changes to disk.
-
- P) Print (display) the long distance dialing codes.
-
- up/dn) Scroll the dialing directory up or down 10 lines.
- Use the up and down arrow keys to access this feature.
-
- M) Manual dial. Prompts you for a phone number rather than
- using a number already in the dialing directory.
-
- D) Delete an entry or a range of entries. Prompts you to
- save the changes to disk.
-
- L) Print. Send the dialing directory to the printer
- or a file of your choice.
-
- 1-100) Entry number. Dial the phone for that entry number.
-
- NOTE: To access the port directly without dialing (perhaps to send
- the dial codes yourself), select an empty entry or enter a single
- space character at the manual dial option.
-
- <cr> Carriage return. Scroll the dialing directory down one
- line.
-
- 4.2 Redial
-
- The redial feature is a misnomer, it really is a queuing system that
- allows pcomm to dial several numbers in a cycle until one of them
- answers.
-
- When you invoke the redial command with ^A-R, you are prompted for a
- list of dialing directory numbers. (You may also prepend a long
- distance code to the entry number).
-
- +-- Redial Queue --------------------------------------------------+
- | |
- | Directory Entry Number(s): _ |
- | |
- | (CR for previous numbers) |
- +------------------------------------------------------------------+
-
- To redial the previous number, press a carriage return alone at
- the prompt.
-
- 4.3 Keyboard macros.
-
- Keyboard macros are not supported at this time.
-
- 4.4 Line settings.
-
- The line settings menu is invoked by ^A-P. A typical line settings
- menu would look like this:
-
- +-----------------------------------------------+
- | Line Settings |
- |-----------------------------------------------|
- | |
- | Current Settings: 1200,E,7,1 |
- | |
- | 1) 300,E,7,1 7) 300,N,8,1 |
- | 2) 1200,E,7,1 8) 1200,N,8,1 |
- | 3) 2400,E,7,1 9) 2400,N,8,1 |
- | 4) 4800,E,7,1 10) 4800,N,8,1 |
- | 5) 9600,E,7,1 11) 9600,N,8,1 |
- | 6) 19200,E,7,1 12) 19200,N,8,1 |
- | |
- | Parity Data Bits Stop Bits |
- | 13) Odd 14) 7 bits 16) 1 bit |
- | 15) 8 bits 17) 2 bits |
- | |
- | 18) Save Changes YOUR CHOICE: _ |
- | |
- +------------- Press ESC to return -------------+
-
- After dialing a remote, the line settings in the dialing directory
- entry are automatically used. Therefore the line settings menu is
- used to adjust the values or to select the default parameters. You
- can make the current setting the default by selecting the "Save
- Changes" option.
-
- The current settings are also displayed in the status line.
-
- NOTE: During file transfers, certain parameters (namely the data
- bits and parity) will be temporarily promoted.
-
- 4.5 Exit pcomm
-
- To exit pcomm, you'd type ^A-X.
-
- 4.6 Unix gateway.
-
- To temporarily suspend pcomm and spawn a Unix shell, you'd type
- ^A-4. To return to pcomm, you'd exit the shell normally, typically
- with "^D" or "exit".
-
- 5. UTILITY FUNCTIONS
-
- The following commands perform secondary functions.
-
- 5.1 Program information
-
- To display the opening information screen, you'd type ^A-I. Press
- any key to return to the terminal mode.
-
- 5.2 Setup screen
-
- The setup screens are described in detail in section 3 of this manual.
-
- 5.3 Change directory
-
- To change the current working directory while still inside pcomm,
- you'd type ^A-B. A screen similar to the following would appear:
-
- +-- Change directory -------------------------------------------+
- | |
- | Current directory: /usr/egray |
- | New directory: _ |
- | |
- +---------------------------------------------------------------+
-
- Abbrievations known to the shell are acceptable, for example the
- "~" character would be translated to the home directory in the csh
- or ksh shell.
-
- 5.4 Clear screen.
-
- To clear the local screen and home the cursor, you'd type ^A-C.
-
- NOTE: The remote system may not "know" the screen has been cleared,
- and may make assumptions about the screen that are incorrect.
-
- 5.5 Toggle Duplex.
-
- The ^A-E command changes the duplex mode from FULL to HALF, or from
- HALF to FULL. The status line shows the current settings.
-
- 5.6 Hangup the phone.
-
- To hangup the phone, you'd type ^A-H. The word "disconnecting" will
- briefly show in the status line.
-
- NOTE: The hangup string is sent to the modem and then the DTR is
- dropped on the line.
-
- 5.7 Printer logging.
-
- The ^A-L command toggles the printer logging on or off. The current
- settings are displayed in the status line.
-
- NOTE: Since all printing goes to the normal Unix print spool program,
- the characters will not print on the printer as they appear on the
- screen. The printing will actually begin when the printer logging
- is turned *off* and the complete print job is sent to the spool.
-
- 5.8 Toggle CR - CR/LF.
-
- The ^A-3 command toggles the incoming line termination characters
- between CR and CR/LF. The status line show the current settings (in
- the next to the last field).
-
- 5.9 Break.
-
- A ^A-7 sends a modem break to the remote system. The word "break"
- is (very) briefly displayed on the status line.
-
- NOTE: This not the same as the break key on the keyboard (we don't
- want to send a break to the local system, we want to sent it to
- the *remote*).
-
- 6. FILE FUNCTIONS
-
- One of the most important features of a telecommunication program is
- the ability to transfer files. The following file transfer protocols
- are implemented at this time:
-
- protocol packet error multiple
- name size detection files?
- --------- -------- ------------ -----
-
- xmodem 128 checksum/CRC no
- xmodem-1k 128/1024 checksum/CRC no
- modem7 128 checksum yes*1
- ymodem 128/1024 CRC yes*2
- ymodem-g 128/1024 none*3 yes
- ASCII none none no
-
- Notes: 1 CP/M style file name
- 2 MSDOS style file name and file size
- 3 Not needed!
-
- 6.1 Send files.
-
- To send a file to the remote, you'd first instruct the remote system
- to receive the file, then type ^A-"up arrow". The following screen
- would appear:
-
- +----- Upload -----+
- | |
- | 1) xmodem |
- | 2) xmodem-1k |
- | 3) modem7 |
- | 4) ymodem |
- | 5) ymodem-g |
- | 6) ASCII |
- | |
- | |
- | |
- | ESC to Abort |
- | |
- | Protocol: _ |
- +------------------+
-
- You'd then select the type of protocol at the prompt, and another
- window similar to this would appear:
-
- +-- Send xmodem ------------------------------------------------+
- | |
- | |
- | Enter filename: _ |
- | |
- | |
- +---------------------------------------------------------------+
-
- Now you'd type in the file name or names you'd like to send.
- Wildcards known to the shell are acceptable.
-
- Now the file transfer actually begins. A status screen similar to
- the following is displayed during the transfer:
-
- +-------------- Uploading --------------+
- | |
- | Protocol: xmodem |
- | File name: main.c |
- | File size: 4420 |
- | Error check method: CRC |
- | Est transfer time: 0:00:50 |
- | Block count: 5 |
- | Percent complete: 11.2% |
- | Bytes transferred: 640 |
- | Errors this block: 0 |
- | Total error count: 0 |
- | Last message: NONE |
- | |
- +---------- Press ESC to abort ---------+
-
- As the transfer progresses, the "block count", "percent complete",
- and "bytes transferred" fields will be continuously updated. If
- errors occur the "errors this block" and "total error count" fields
- will be updated and the "last message" field will contain a message
- about the error.
-
- At the end of the transfer, pcomm will beep and return to the terminal
- mode. If an error occurred and the transfer was aborted, you will be
- prompted to acknowledge the error by pressing a key before returning
- to the terminal mode.
-
- 6.2 Receive files
-
- To receive a file (or group of files) from a remote system, you'd
- instruct the remote system first, then type ^A-"down arrow".
- Receiving a file is basically the same as sending a file.
-
- NOTE: Some systems do not pad the end of the file with control-Z's
- and therefore files might grow in length when received.
-
- NOTE: Due to a technical limitation of pcomm, characters received
- during an ASCII download will not reappear on the screen when you
- return to the terminal mode.
-
- 6.3 Directory
-
- To obtain a listing of a directory on the local system while still
- running pcomm, you'd type ^A-F. The following screen would appear:
-
- +-- List Directory ---------------------------------------------+
- | |
- | Current directory: /usr/egray |
- | File spec (wildcards allowed): _ |
- | |
- +---------------------------------------------------------------+
-
- Abbrievations know to the shell are valid.
-
- NOTE: Since we're really doing a popen() to the "ls" command,
- additional command line options are also valid.
-
- 6.4 Screen dump
-
- To dump the contents of the current screen (minus any windows showing)
- you'd type ^A-G. The contents of the screen are written to the file
- specified in the general setup for this purpose. If the file already
- exists, the screen contents are appended to the file. The message
- "screen dump" will briefly appear in the status line.
-
- 6.5 Start Data log
-
- To start the data logging, or change the file used for data logging,
- you'd type ^A-1. The following screen would appear:
-
- +-- Start Data Logging -----------------------------------------+
- | |
- | Default log file: pcomm.log |
- | New log file: _ |
- | |
- +---------------------------------------------------------------+
-
- To keep the default file, just press a carriage return at the prompt,
- otherwise, enter a new file name.
-
- The status of the logging is shown in the status line.
-
- 6.6 Toggle Logging
-
- To temporarily suspend data logging or to start it again without
- being prompted for the file name, you'd type ^A-2.
-
- The status lines shows the current settings.
-
- 7. DIALING WINDOW
-
- While pcomm is dialing another system, a screen similar to the
- following is shown:
-
- +--------------------------------------------------------------------+
- | D I A L I N G W I N D O W |
- +--------------------------------------------------------------------+
- | |
- | System name: C Board |
- | Pass number: 1 |
- | Elapse time this try: 4 |
- | Time at start of dial: 14:53:36 |
- | Time at start of this try: 14:53:37 |
- | Connect delay time: 35 |
- | Pause between tries: 5 |
- | Index/tty: |
- | Result of last try: |
- | |
- | SPACE: Recycle DEL: Remove from queue E: Change delay times |
- | |
- +------------------------ Press ESC to abort ------------------------+
-
- The options available during the dialing are:
-
- SPACE) Press the space bar to stop the dialing of the current
- entry and go on to the next entry in the queue. If there is
- only one entry in the queue, then that number is immediately
- redialed.
-
- DEL) Press the DEL key to remove the current number from the
- queue.
-
- E) Press the letter "E" to change the connect delay time, or
- the pause between retries. You will be prompted to save the
- changes to disk.
- echo shar: "36 control characters may be missing from 'Doc'"
-