home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / packet / ptp30.arc / PTP.DOC < prev    next >
Text File  |  1987-06-17  |  55KB  |  995 lines

  1.                +----------------------------------------------------+
  2.                |     WDCG -- Wake Digital Communications Group      |
  3.                |                   presents                         |
  4.                |    PTP -- Packet Terminal Program Version 3.0      |
  5.                |       with XPACKET binary transfer protocol.       |
  6.                |                                                    |
  7.                |          Includes NET MASTER feature and FAX       |
  8.                |             support for the AEA PK-232             |
  9.                |      BY N4PY .... FOR AMATEUR RADIO USE ONLY       |
  10.                |     Split-screen routine complements of AA4L       |
  11.                |             Documentation by AB4S                  |
  12.                |                                                    |
  13.                +----------------------------------------------------+
  14.  
  15.  
  16.       PTP is a terminal program written for the application layer of a packet
  17.       radio station.  This program was developed specifically for use with
  18.       the IBM PCjr and the TAPR TNC, but it works with other versions of the
  19.       IBM PC and other TNCs as well.  PTP requires IBM DOS 2.1 or later, and
  20.       will work with the monochrome adapter or the CGA adapter.  256K of RAM
  21.       minimum is required to run this program.  Very little testing has been
  22.       done on any other combinations.  It was developed originally for
  23.       private use by Carl, N4PY, but at the urging of Ed, AB4S, Carl agreed
  24.       to allow this one out of his basement.  For use with the IBM PCjr, see
  25.       the note in the Appendix.
  26.  
  27.       Three modes of file transfer are supported:
  28.  
  29.                ASCII file transfer using hardware flow control
  30.  
  31.                XMODEM protocol (with application and AX.25 error correction)
  32.  
  33.                XPACKET protocol (with AX.25 error correction)
  34.  
  35.       There will be no discussion of the first two, as they are both well
  36.       documented elsewhere.  XPACKET, however, is the invention of N4PY, and
  37.       therefore not too widely known, so far.  XPACKET is a binary transfer
  38.       method using speeds that are the same as ASCII dumb transfers.
  39.  
  40.       XPACKET, simply put, is nothing more than a binary transfer in
  41.       transparent mode so that all eight bits of each byte can be sent, and
  42.       the TNC will not mistake certain characters as commands to itself.
  43.       What is the reason for XPACKET if that's all there is to it?  Well, the
  44.       justification is to allow the orderly start and end of a file transfer.
  45.       Without XPACKET, each operator has to enter TNC transparent mode and
  46.       coordinate the start of the transfer.  This can be awkward, as you may
  47.       know.  Also, without XPACKET, there is no way for the receiver to
  48.       cancel the operation when he realizes that he didn't get something
  49.       right.  XPACKET tries to account for the coordination problem, and
  50.       allow the "reverse channel interrupt" function to occur.
  51.  
  52.       When the transfer is begun, the receiving station will automatically
  53.       send a NAK character every ten seconds until it has received some data
  54.       from the sender.  At this time, the only character the receiver can
  55.       send is a CAN (cancel) which will cause the sending station to abort
  56.       the transfer.  The CAN may be sent one of two ways:
  57.  
  58.         Automatically -- if a block is received which does not agree with the
  59.                          byte count which was sent at the beginning.
  60.  
  61.         Manually -- if the receiving operator presses the Ctrl-N key.
  62.  
  63.       The sending station operator can also cause the transfer to abort by
  64.       pressing Ctrl-N while the transfer is taking place.  You should rarely
  65.       encounter the automatic abort, but if you do, you should try starting
  66.       the transfer over again.  It is likely that one of the two stations
  67.       involved in the transfer has his TNC set up wrong or a PCjr is being
  68.       used at the receiving station and is attempting to write his file
  69.       directly to a physical diskette.  See the "Recommended" list and the
  70.       PCjr note in the Appendix.
  71.  
  72.  
  73.       USER INSTRUCTIONS
  74.       First of all, the only thing you should have to remember is to press
  75.       the Home key when you can't remember anything else about PTP options.
  76.       This will bring up a help screen which you can customize to help with
  77.       your own selections.  (See PTP.HLP in the FILES section of this
  78.       document.)
  79.  
  80.       Use a text editor (such as IBM Personal Editor II, or Professional
  81.       Editor) to create a file named PTP.DEF.  This file will consist of the
  82.       numbers 11 through 40 and the information you want to be sent to the
  83.       TNC when the appropriate F-Key is pressed.  It will also contain
  84.       information about how to route traffic listed on the WDCG PBBS or
  85.       W0RLI-type BBS and whether or not to add line feed characters after
  86.       each CR during ASCII uploads.  All information in PTP.DEF is in pairs
  87.       of lines with the first of each pair describing an option, and the
  88.       next defining your choice for that option.
  89.  
  90.       PTP.DEF might look like:
  91.       11
  92.       c wa5szl-1+cr  +----------------------------------------------+
  93.                      | This file is optional.  The usage            |
  94.       12             | of the F-keys is: 11-20 = Shift-F1 - F10     |
  95.       c k4iww+cr     |                   21-30 = Ctrl-F1 - F10      |
  96.                      |                   31-40 = Alt-F1 - F10       |
  97.       .              +----------------------------------------------+
  98.  
  99.       39
  100.       My name is Carl and my QTH is Franklinton, NC.+cr
  101.  
  102.       40
  103.       73 and good luck on packet radio.+cr
  104.  
  105.       CONNECT TEXT   Default text for Alt-M connect message.  This can be up
  106.       text_string    to 255 characters of text.  Automatically selected if
  107.                      MSGDEF is ON.
  108.  
  109. |     STARTUP        Commands you wish sent to the TNC upon starting PTP.
  110. |     cmd_string     You can have up to 20 of these, each prefaced with
  111. |                    "STARTUP."  Prior to sending the commands you place here,
  112. |                    PTP will send XON (Ctrl-Q), ECHO ON or OFF (depending on
  113. |                    split or single screen selection), MYCALL and CONNECT.
  114. |                    Also, if AUTOMSG YES is set, CMSG OFF will be send and if
  115. |                    AUTOTIME YES is set, the TNC clock will be set from the
  116. |                    DOS clock.  All of these will be sent before the STARTUP
  117. |                    commands will be sent.
  118.  
  119. |     EXITING        Commands you wish sent to the TNC upon ending PTP.  You
  120. |     cmd_string     can have up to 20 of these, each prefaced with
  121. |                    "EXITING."  Prior to sending the EXITING commands, PTP
  122. |                    will send CMSG ON if AUTOMSG YES was set in this file when
  123. |                    PTP was started.
  124.  
  125.       AUTOTIME       TNC-2 or compatible only.  Sets TNC clock time from the
  126.       YES            system clock.  Default NO.
  127.  
  128.       AUTOMSG        TNC-2 or compatible only.  If YES, sets CMSG OFF at
  129.       YES            program startup and ON at exit.  Default NO.
  130.  
  131.       HOLDBUF        This describes the size of the retrieve buffer lines.
  132.       128            (10 - 256) default is 128
  133.  
  134.       STREAM CHAR    This describes the ASCII value of the character selected
  135.       124            for the STREAM character in a TNC-2 or compatible.
  136.  
  137.       MYCALL         This describes the identifier to be used for the control
  138.       N4PY           station when using Net Master mode.
  139.  
  140.       CONNECT BELL   Connect alarm bell.  If YES, alarm will sound when
  141.       YES            connection is detected.
  142.  
  143.       FOREGROUND     This describes the color choice for text on the screen.
  144.       15             (0 to 15 -- See your BASIC manual for color numbers)
  145.  
  146.       DEFBELL        This will determine the initial state of the BELL option
  147.       OFF            when PTP is started.
  148.  
  149.       AUTOSTART      If this is set to YES, PTP will go to communicate
  150.       YES            (terminal) mode automatically after the main menu is
  151.                      displayed.
  152.  
  153.       DEFQSVE        The initial state of QSAVE will be active if this is
  154.       ON             defined as ON.  The default is OFF.
  155.  
  156.       MSGDEF         The initial state of your connect message (from PTP, not
  157.       ON             the one from the TNC) will be the default message in
  158.                      CONNECT TEXT.
  159.  
  160.       BACKGROUND     This describes the background color for text screen.
  161.       0
  162.  
  163.       STATE          This should be the 2-letter Postal Code for the state in
  164.       NC             which the PBBS you are using is located.
  165.  
  166.       NEAR      _____________
  167.       VA                     |
  168.                              |
  169.       NEAR                   |____ These are the nearby states that might be
  170.       SC                     |     expected to access the PBBS upon which you
  171.                              |     are placing the NTS traffic generated with
  172.       NEAR      _____________|     PTP.
  173.       GA
  174.  
  175.       SENDLF         This will determine whether or not you want PTP to add
  176.       NO             LF characters after CR's during an ASCII upload.
  177.  
  178.       DCD            This will determine whether or not you want PTP to use
  179.       YES            the DCD line to determine when a connection occurs.  If
  180.                      NO, receipt of *** CONNECTED will be used to detect
  181.                      connection.
  182.  
  183.       USERS          This is used only with the TNC-2 or compatibles.  When
  184.       3              you are involved in a file transfer, the USERS command
  185.                      for the TNC will be set to one.  After the transfer is
  186.                      completed, USERS will be set to the value specified
  187.                      here.  If this option is not specified USERS will not be
  188.                      changed.
  189.  
  190.  
  191.       CONNECT FILE   The full filename to which you want connected text to be
  192.       B:MYMSGS.TXT   saved when Qsave is enabled.  DCD YES is required.
  193.  
  194.       NOTE:  All "keywords" used in this file (STATE, NEAR, etc.) must be in
  195.       upper case.  There must not be any blank lines in this file.
  196.  
  197.       NOTE:  If you do not specify FOREGROUND and BACKGROUND, they will be
  198.       set to 7 and 0 respectively.  Also, if FOREGROUND and BACKGROUND are
  199.       set to the same value, the defaults of 7 and 0 will be used.
  200.  
  201.       NOTE:  There is no order dependence to the keyword pairs used in
  202.       PTP.DEF.  You may put those in any order you like as long as you keep
  203.       the pairs together.
  204.  
  205.       You do not have to define every possible F-key, but be sure that the
  206.       number for the key you want to use precedes the text for that key.
  207.       Also, if you do not desire to set the other parameters, you do not need
  208.       to include them in your PTP.DEF file.
  209.  
  210.       If you assign a string of characters to an Fkey, whether it is Alt-
  211.       Fkey, Ctrl-Fkey, Shift-Fkey, or just Fkey 7 through 10, you have
  212.       complete control of the string.  If you desire a CR character to follow
  213.       your string you simply type "+cr" at the end of it.  If you desire an
  214.       imbedded CR character, use "+cr+" at the place where you desire the CR.
  215.       To start a string with the CR character, you must put "cr+" before the
  216.       string to be sent.  Also, if you want to have the Ctrl-C character as a
  217.       part of the Fkey definition, you can do that by using "cmd+", "+cmd+" or
  218.       "+cmd" at the point where the Ctrl-C is to appear.
  219.  
  220.       Also, you may want to create a file to be used as setup information for
  221.       your TNC.  This file is optional, and may have any name you like.  It
  222.       is a command list for the TNC and will be sent to the TNC when you
  223.       press Alt-L from the terminal communications screen.  An example of
  224.       this file would look like:
  225.  
  226.       MYCALL N4PY   +----------------------------------------------+
  227.       SCREENL 0     | This file is optional.  The commands are     |
  228.       .             | the ones listed in the owner's manual for    |
  229.       .             | your TNC.  Be sure they are set the way you  |
  230.       .             | want your TNC to be configured.              |
  231.       PACTIME 1     +----------------------------------------------+
  232.  
  233.       A suggested method of building this file is to enable capture (via
  234.       Qsave or ASCII rcv mode) and enter DISP.  Your TNC should give you a
  235.       list of all the commands and the present settings for these commands.
  236.  
  237.       In a similar fashion, you can make other files like the PTP.DEF file
  238.       which will alter the characteristics of your system.  All the same
  239.       rules apply for the additional DEF files.  At any time, you can refresh
  240.       PTP's "personality"
  241.       by using the Alt-E and answering the prompt with the path and filename
  242.       of the new DEF file you wish installed.
  243.  
  244.       NOTE: Any time you install a new DEF file, any parameters not set in
  245.             the new file will remain the same as they were last set.  That
  246.             is, PTP defaults will not be used, the ones from the previous DEF
  247.             file will be.
  248.  
  249.       PTP will be updated from time to time.  Check the source from which you
  250.       received this copy for updated versions.  The author does not plan to
  251.       release the source code, but comments and suggestions about future
  252.       releases are appreciated.
  253.  
  254.       When you first RUN the program, you will be given a menu screen that
  255.       will allow you to set up several operating parameters.  The numbered
  256.       parameters are:
  257.  
  258.             1  Line bit rate  [1200] (300..9600)
  259.             2  Data bits  [8] (7 or 8)
  260.             3  Parity type  [n] (e,o, or n)
  261.             4  Split Screen  [y] (y or n)
  262.             5  Comm Port  [1] (1 or 2)
  263.             6  QSave File Name  [B:CAPTURE.TXT]
  264.             7  User Defined  []
  265.             8  User Defined  []
  266.             9  User Defined  []
  267.            10  User Defined  []
  268.            11  Save Setup  [PTP]
  269.            12  Load Setup  [PTP]
  270.  
  271.       These parameters can all be set by the user.  The procedure for each
  272.       follows:
  273.  
  274.       Line bit rate --- Type 1,9600<CR> if the desired baud rate is not
  275.                         shown.  The 1200 (or any other ABAUD speed you
  276.                         select) will become the operating speed for the
  277.                         terminal program.  Must match TNC.
  278.  
  279.       Data bits ------- type 2,8<CR> if the desired word length is not shown.
  280.                         Must match TNC.
  281.  
  282.       Parity type ----- type 3,n<CR> if desired parity is not shown.
  283.                         Even parity, Odd parity, or No parity.  Must match
  284.                         TNC.
  285.  
  286.       Split Screen ---- type 4,y<CR> if you desire a split screen.  If you do
  287.                         not select the split screen, a full screen mode will
  288.                         be used with no keyboard buffer, and the TNC will
  289.                         provide echoing.
  290.  
  291.       Comm Port ------- type 5,2<CR> if you need to use com2 port for TNC
  292.                         connection.  Use the comm port (1 or 2) to which you
  293.                         connected your TNC.
  294.  
  295.       QSave File Name - type 6,c:message.sav<CR> if you want to have the
  296.                         Quick Save buffer saved under a different name when
  297.                         you use it.  See the explanation of CAPTURE.TXT under
  298.                         FILES USED BY PTP TERMINAL PROGRAM.
  299.  
  300.       User Defined ---- type 7,XXX<CR> if you want to use the F keys for
  301.                         frequently sent commands, or sequences.  Note that
  302.                         items 8, 9 and 10 are also used in the same way.  In
  303.                         addition to entering the sequence to be sent, you can
  304.                         type 7,,XXXX<CR> where XXXX will be displayed on the
  305.                         terminal screen as a reminder of what you have
  306.                         attributed to that key.  This is true for keys 8, 9
  307.                         and 10 also.  Try it; you'll like it.
  308.  
  309.       Save Setup ------ type 11,c:whatever<CR> to select the file name for
  310.                         this parameter file.  If you type only "11," your
  311.                         parameter file will be saved as "PTP.MOD"  All
  312.                         parameter files are .MOD so don't try to assign an
  313.                         extender to them -- the pgm will do that for you.
  314.                         The file PTP.MOD will be automatically loaded for you
  315.                         when the program is started.
  316.  
  317.       Load Setup ------ type 12,c:whatever<CR> to select the file name of the
  318.                         parameter file you wish to use.  The rules are the
  319.                         same as for 11 (Save Setup).
  320.  
  321.       After the menu is written to the screen, you will see a list of all
  322.       .MOD files present on your default disk.  You may make as many of these
  323.       files (with different names) as you like.  Each can have a different
  324.       personality.
  325.  
  326.       You will notice that when you type nothing and simply press the Enter
  327.       key, you will be placed in terminal mode and the previously selected
  328.       commands will be issued.  Take a few minutes to set up your parameters
  329.       the way you like to operate, then save the .MOD file before going into
  330.       terminal mode.  The only prompt shown on the main menu screen is
  331.       F2=Exit.  When F2 is pressed, you must also press the Enter key from
  332.       this screen.
  333.  
  334.       NOTE: If AUTOSTART is set to YES in the PTP.DEF file, PTP will go to
  335.       terminal communications mode automatically upon initial entry to the
  336.       menu screen.
  337.  
  338.       If you have selected the split-screen mode for terminal communications,
  339.       you will have an inverse video bar across the screen near the bottom.
  340.       This bar contains some reference information about the status of the
  341.       connect message and status of the bell action, etc.  If you use F5 to
  342.       return to DOS, depending on what you do while in DOS, this line might
  343.       be gone when you return via EXIT.  If this is the case, simply press
  344.       Alt-C (clear screen) to restore the screen divider line.  The Alt-key
  345.       definitions are:
  346.  
  347.       Alt-A   Abort the sending of NTS traffic.  This key will also halt the
  348.               loading of TNC parameters via Alt-L.
  349.  
  350.       Alt-B   Toggles the BEL character action.  This affects only whether or
  351.               not the BEL will cause the alarm to sound when received.  This
  352.               has nothing to do with the Connect alarm in PTP.DEF.
  353.  
  354.       Alt-C   Clears all text from the communications screen.
  355.  
  356.       Alt-D   Display the definitions for the extra 30 F-keys.  This only
  357.               works if you have the PTP.DEF file on your disk.
  358.  
  359. |     Alt-E   Sets up new .DEF file.  You can have as many .DEF files as you
  360. |             like with different characteristics.  The names of these files
  361. |             can be anything you like and it can be wherever you like.  You
  362. |             will be prompted for a complete path/filename.ext.  When you
  363. |             install a new DEF file, any parameters not changed by it will
  364. |             remain the same as they were before; that is they will not go
  365. |             back to the PTP default if they were set by PTP.DEF when the
  366. |             program was started.
  367.  
  368.       Alt-F   Exit the Net Master mode.  See the Appendix for an explanation
  369.               of Net Master.
  370.  
  371. |     Alt-G   Toggles the system printer (LPT1) on and off.  When on,
  372. |             everything received to the terminal will be also printed as
  373. |             displayed on your screen.
  374. |
  375. |     Alt-H   Display the holding buffer.  When invoked, this function will
  376. |             display the last 5000 bytes received in the order they were
  377. |             received.  As it scrolls, you may press the S key to start/stop
  378. |             the scrolling.
  379.  
  380.       Alt-L   Load the TNC parameters.  You must make a file (using a text
  381.               editor or by capturing the results of DISP) which contains the
  382.               setup you desire for your TNC.  This option allows you to send
  383.               the entire file of commands to the TNC.
  384.  
  385.       Alt-M   Connect message screen.  You are able to edit or remove the
  386.               connect message you have selected or set up via the PTP.DEF
  387.               file.
  388.  
  389.       Alt-N   Enable Net Master mode.  See Appendix for an explanation of Net
  390.               Master.
  391.  
  392.       Alt-P   Purge the communications buffer.  This key will get rid of all
  393.               the data which has accumulated in the communications buffer.
  394.  
  395.       Alt-R   Send traffic files(s) to a W0RLI type BBS or MAILBOX system.
  396.               (See Alt-W.)  When logged onto a W0RLI-type system, you may at
  397.               any time begin sending a previously-entered piece of NTS
  398.               traffic by pressing Alt-R.  You will be shown a list of the
  399.               prepared traffic available on your default disk(ette) drive.
  400.               You will be asked to enter the number (only) of the message you
  401.               wish to send.  The rest is automatic.
  402.  
  403.       Alt-S   Send traffic file(s).  (See Alt-W.)  When logged onto a WDCG
  404.               PBBS system, and when you are in the message section (or at the
  405.               main menu) you may send your NTS traffic files automatically by
  406.               pressing this key.  When the message is entirely sent, PTP will
  407.               cause the message to be saved on the PBBS and will rename your
  408.               message file to MSGnnn.LOG.
  409.  
  410.       Alt-T   Escape from transparent mode.  When you are in the split screen
  411.               mode, you cannot go back to command mode because the characters
  412.               are buffered until Enter is pressed.  This key will cause a
  413.               one-second delay, send 3 ^C characters, and delay for one more
  414.               second.
  415.  
  416.       Alt-W   Write traffic.  This key will take you to a full-screen editor
  417.               which has a template for message traffic.  The last message
  418.               which was written will be displayed again, and you can
  419.               overwrite the message with a new one.  If you want to enter a
  420.               field that is completely different from the one shown, you may
  421.               press Alt-E to erase the field before typing.  See NTS TRAFFIC
  422.               GENERATION.
  423.  
  424.       In addition to the Alt-keys, from either communications screen you may
  425.       enter the following:
  426.  
  427.       F1   [Menu] This key will immediately take you to the main menu.
  428.  
  429.       F2   [Exit] This key will cause an end to the program.  When you press
  430.                   F2, you will be asked if you are sure you want to exit.
  431.  
  432.       F3   [Rcvf] This key will allow you to receive a file from the PBBS or
  433.                   from another packet station.  You are asked for the
  434.                   transfer protocol desired, and the drive to store the file
  435.                   on.  If you wish to have the received file stored on a
  436.                   subdirectory other than the current (default) subdirectory,
  437.                   you must specify this at the time you specify the drive
  438.                   (i.e. b:\subdir\).  Next you are asked to provide a name
  439.                   for the file, unless it is an XPACKET file.  You may
  440.                   (optionally) provide a name for the XPACKET file to be
  441.                   received.  When you are receiving an ASCII file, you will
  442.                   use F3 again to close the file unless you and the other
  443.                   station are both using PTP to do the transfer in which case
  444.                   the file will be automatically closed when the file
  445.                   transfer is completed.  Note that the definition changes on
  446.                   the bottom of the screen when you are receiving an ASCII
  447.                   file or using Qsave.
  448.  
  449.       F4   [Xmtf] This key will allow you to upload (send) a file from any
  450.                   disk drive on your system.  When you are asked for the
  451.                   drive be sure to include the colon (i.e. A:).  The protocol
  452.                   choices are the same as for F3.  If you are using
  453.                   subdirectories on your disk(ette), and you wish to send a
  454.                   file from other than the current subdirectory, you must
  455.                   specify the subdirectory when you give the file name (i.e.
  456.                   \subdir\filename.ext).  The subdirectory portion of the
  457.                   file name will be stripped from the file name before it is
  458.                   sent in Xpacket mode.
  459.  
  460.       F5   [DOS ] This key causes an immediate exit from the terminal program
  461.                   and you will get the DOS prompt.  An XOFF is sent to the
  462.                   TNC when you go to DOS via F5, and an XON is sent when you
  463.                   return.  You may do any DOS functions that your amount of
  464.                   memory will support.  Remember that the terminal program
  465.                   stays in memory, so the usable memory available to you is
  466.                   reduced by the amount required by the program.  When you
  467.                   are ready to return to the terminal program, Enter "exit"
  468.                   at the DOS prompt.
  469.  
  470.       NOTE: If you leave the program altogether while you are in DOS, you
  471.             will have to send a CTRL-Q to the TNC to restore normal
  472.             operation.  If you return to PTP via "exit", it will be done for
  473.             you.  Each time PTP is started it issues an XON to your TNC on
  474.             the selected comm port.
  475.  
  476.       NOTE: You must be running IBM PC DOS version 2.1 or higher to use F5.
  477.             Additionally, you must have COMMAND.COM somewhere that DOS can
  478.             find it or the program will abort.
  479.  
  480.       F6   [Qsve] This key will enable the "Quick Save" option.  On the main
  481.                   menu you selected a file name for Quick Save.  When F6 is
  482.                   pressed, the file will be appended with all that is
  483.                   received until you press F6 again, or F3 to close the file.
  484.                   The F6=[Qsve] will flash to let you know that the file is
  485.                   open.  You can, if you desire, capture any messages or
  486.                   monitored packets which are being held in your TNC due to
  487.                   either XOFF or because of the DTR line not being raised
  488.                   until the comm port is opened by pressing F6 immediately
  489.                   after you do the null enter to go to the communications
  490.                   screen.
  491.  
  492.       F7 - F0     These keys are user defined.  See the main menu to set up
  493.                   the definition and the 4-character description for these
  494.                   keys.  Don't forget the rules for insertion of the CR
  495.                   character.  (See information under PTP.DEF for rules
  496.                   concerning CR character and Ctrl-C character.)
  497.  
  498.       Home        This key will cause the PTP.HLP file to be displayed, even
  499.                   if you no longer have the PTP diskette installed.  When the
  500.                   program is loaded, PTP.HLP is read from the diskette and
  501.                   kept in storage for use when Home is pressed.
  502.  
  503.       Cursor Up   These keys are used to recall previously entered text.  The
  504.          and      PTP.DEF  file has an entry with the keyword HOLDBUF.  This
  505.       Cursor Dn   determines the length of the recall line.  You should set
  506.                   this to the same length of your PACL in the TNC.  When you
  507.                   press Cursor Up, you will step through the ten-step buffer
  508.                   in one direction, and pressing Cursor Dn will step the
  509.                   other direction.  Experiment with this and set the length
  510.                   so it is proper for your operation.  This is most useful
  511.                   for correcting typographical errors in connect attempts, or
  512.                   for CQ messages when in CONVERSE mode.  This function is
  513.                   not available in single screen mode.
  514.  
  515.       NTS TRAFFIC GENERATION
  516.       While in communications mode, if you desire to write a piece (or more)
  517.       of traffic, you can simply swap screens (by pressing Alt-W) and enter
  518.       the traffic on a full screen template.  The fields are defined and you
  519.       can type the required information in the highlighted fields.  There are
  520.       several keys which are used for NTS traffic entry.  They are:
  521.  
  522.       Enter    Moves the cursor to the beginning of the next line, if multi-
  523.                line field.  If you are on the last line of a multi-line field
  524.                or if the field is a single line field, the cursor will move
  525.                to the beginning of the next field.
  526.  
  527.       Tab      Moves cursor to the next field.
  528.  
  529.       Shft-Tab Moves cursor to beginning of the previous field.
  530.  
  531.       Alt-E    Erases to the end of the current field.
  532.  
  533.       Alt-C    Returns to communications mode.
  534.  
  535.       Esc      Saves the message under the name MSGnnn.MSG.
  536.                The nnn in the message name is the number field from the
  537.                message itself.  When this message has been uploaded to
  538.                the WDCG PBBS or W0RLI-type Mailbox, the message file will
  539.                be renamed to MSGnnn.LOG.
  540.  
  541.       Note that the check is not required in the message outline.  It will be
  542.       automatically generated when the message is saved.
  543.  
  544.       The TIME field is special.  It is not usual that this field be used and
  545.       it will normally be left blank.  If you desire to use the time field,
  546.       there are two options:
  547.  
  548.         * Put an "A" in the first position of the time field.  This will
  549.           cause PTP to enter the current time from the system clock.  There
  550.           will be a "Z" appended to the time.  Be sure your system clock is
  551.           set to UTC if you use this option.
  552.  
  553.         * You may enter the time directly in the time field.  This time will
  554.           not be changed by PTP.
  555.  
  556. |     The DATE field can be automatically filled in for you from the system
  557. |     clock if left blank, or you can enter a date if different from the
  558. |     current date or if your DOS system clock is not set properly.
  559.  
  560.       After you have finished with the signature line on the message form,
  561.       the cursor will move to a field called "@BBS" and you will be able to
  562.       specify the call sign (only) for the store and forward feature of the
  563.       W0RLI-type MailBox systems.  Do not include the "@" since PTP will add
  564.       that automatically for you.
  565.  
  566.       Later, when logged on either a WDCG PBBS system, or a W0RLI-type
  567.       MailBox system, you can send your accrued traffic by:
  568.  
  569.       PBBS:  Go to the <M>essage menu and at the prompt, press Alt-S.
  570.  
  571.       W0RLI-type MailBox:  At any system prompt, press Alt-R.
  572.  
  573.       You will be shown a list of all unsent messages from your default
  574.       disk(ette) and you will be asked for the number (only) of the message
  575.       to be sent.
  576.  
  577.       The rest is automatic (including the <S>ave function on PBBS system
  578.       after the message is complete).  You may now send another message by
  579.       pressing Alt-S or Alt-R again if desired.  Note that the sending of NTS
  580.       message traffic can be halted (aborted) at any time by pressing Alt-A.
  581.       When each MSGnnn.MSG file is sent, it will be renamed to MSGnnn.LOG on
  582.       your disk.
  583.  
  584.       FILES USED BY PTP TERMINAL PROGRAM
  585.  
  586.       PTP.EXE       The terminal emulator program.  This file can be loaded
  587.                     with a .bat file, or directly from the DOS prompt by
  588.                     typing "PTP".
  589.  
  590.       PTP.MOD       This file is used to store your main menu data.  It
  591.                     contains the personality you assigned when you
  592.                     configured your PTP program.  You may have as many .MOD
  593.                     files as your diskette space allows, and each can be a
  594.                     new personality.
  595.  
  596.       PTP.DEF       This file is the only one which requires a separate
  597.                     editor to create.  There is a skeleton PTP.DEF file
  598.                     provided with PTP which you may use to make your own
  599.                     PTP.DEF.  30 additional F-KEYs are defined by this file
  600.                     (Alt-Fn, Ctrl-Fn, and Shift-Fn).  This is an optional
  601.                     file.  If you do not create a PTP.DEF, your F-keys will
  602.                     be usable, but the extra 30 definitions will not exist.
  603.                     In addition, there is information included in the PTP.DEF
  604.                     file which defines screen color and routing information
  605.                     for NTS traffic to be uploaded to WDCG PBBS or W0RLI-type
  606.                     BBS.  See PTP.DEF under USER INSTRUCTIONS for details on
  607.                     this file.
  608.  
  609.       MSGnnn.MSG    These files are NTS messages which have been written and
  610.          and        are ready to be sent (.MSG) and logged messages which
  611.       MSGnnn.LOG    have already been sent (.LOG).  These files are generated
  612.                     as a part of the NTS message process.
  613.  
  614.       PTP.CKP       This file is automatically generated and contains
  615.                     information about the last NTS message sent.  It is used
  616.                     as the default text for beginning the next message.  Do
  617.                     not alter or erase this file if you expect NTS message
  618.                     writing to work properly.
  619.  
  620.       CAPTURE.TXT   This file is the default name which is used for QSAVE and
  621.                     may be renamed at a later time, or may be changed in the
  622.                     main menu.  From either full-screen terminal mode or
  623.                     split-screen terminal mode, you can press F6 and this
  624.                     file (or other specified file) will be opened for
  625.                     capture.  The file will continue to be updated with
  626.                     everything received until F3 (Close file) or F6 is again
  627.                     pressed.  NOTE: This file is appended each time it is
  628.                     opened and the previous contents will remain.
  629.  
  630.       PTP.SET       (Or other file name as desired.)  This file is used to
  631.                     prime your TNC whenever you desire.  When used via Alt-L
  632.                     from the communications screen, the contents of this file
  633.                     will be sent to the TNC in cmd: mode.  It is useful for
  634.                     setting, or restoring any set of parameters you desire.
  635.                     A suggested use is to capture (via Qsave) the results of
  636.                     "disp" and use an editor to change this file so that it
  637.                     will restore your TNC in the event of a loss of data due
  638.                     to any unforeseen event.
  639.  
  640.       PTP.HLP       This file is required if you desire to use the Home key
  641.                     for online help.  You may, at your option, use a text
  642.                     editor to add your own key definitions to the lower half
  643.                     of the .HLP screen.  NOTE: This file must remain the same
  644.                     size -- 23 lines.
  645.  
  646.       PTP.SCN       This is the first screen that you see when PTP is
  647.                     started.
  648.                     It contains information that must be presented to the
  649.                     user of this program.  This file MUST be present and MUST
  650.                     be unaltered in order for PTP to run.  It must be on the
  651.                     default disk(ette) drive.
  652.  
  653.       PTP.DOC       The documentation file (this file).  Print this file on
  654.                     your system printer if you desire to have hard copy.
  655.                     This file MUST be copied along with PTP if you desire to
  656.                     share this program with another Amateur Radio operator.
  657.  
  658.       PTP.WRK       This is a temporary file which is generated by PTP when
  659.                     downloading.  If you break, or end the program, before
  660.                     the download is completed, you might see this file on the
  661.                     selected disk drive.  You may erase it, or rename it if
  662.                     you desire.
  663.  
  664.       MYMSGS.TXT    Or other name to your liking.  This is the file which you
  665.                     cause to be created when you have CONNECT FILE in the
  666.                     PTP.DEF list.  This file will contain only messages that
  667.                     were received by you while you were connected and F6
  668.                     (Qsave) was active.  All monitored traffic will be saved
  669.                     in CAPTURE.TXT.
  670.  
  671. |     xxxxxxxx.xxx  Files of TNC commands you have created to be sent to the
  672. |                   TNC using the Alt-L function.
  673. |
  674. |     xxxxxxxx.xxx  Files you have created to replace or add to the PTP.DEF
  675. |                   file which gets installed at the beginning of program
  676. |                   execution.
  677. |
  678. |     xxxxxxxx.xxx  Files which have been created with Qsave function (F-6)
  679. |                   and have a name assigned by you on PTP's main menu
  680. |                   screen.
  681.  
  682.       When you are receiving an ASCII file via F3, the file will be
  683.       automatically closed when a BEL character is received.  The WDCG PBBS
  684.       always ends downloads with the BEL character.  Also, when PTP uploads a
  685.       file, it will put a BEL character as the last byte of the file.  This
  686.       can be very handy when you are transferring a file to a friend.  If he
  687.       is not using PTP, have him send you a Ctrl-G when he has finished
  688.       sending the file, and it will close your disk file, thus ending the
  689.       transfer.
  690.  
  691.       SPLIT SCREEN CONSIDERATIONS
  692.       For the most part, split screen operation is as simple as typing on the
  693.       bottom of the screen and seeing what is received on the upper part of
  694.       the screen.
  695.  
  696.       There are, however, a few things to be considered.  Because the split
  697.       screen code is an assembly code routine, the BIOS calls are not handled
  698.       through DOS and are not the same as the single screen mode.  The
  699.       characters from the keyboard are buffered in PTP until you press the
  700.       Enter key, reach the size of your buffer (which you established in .DEF
  701.       file).  Since you sometimes want to send a character to the TNC without
  702.       the CR, a function is provided to allow this.  If you press the Tab
  703.       key, the buffer will be sent to the TNC without a trailing CR.  This is
  704.       useful for entering command mode by pressing Ctrl-C and following this
  705.       with a Tab.  You will be unable to send the HT character in split
  706.       screen mode but this will be a very rare inconvenience.  If you desire
  707.       to send the Tab character it will be necessary to use the single screen
  708.       mode.
  709.  
  710.       Also, since characters will not normally be sent to the TNC until Enter
  711.       is pressed, a special key is defined to allow you to exit transparent
  712.       mode from the split screen.  See the description of Alt-T for this
  713.       procedure.  Split-screen operation will seem a little unusual to you
  714.       until you get used to the benefits.  For instance, you can be typing to
  715.       someone and he might send a packet to you before you are finished.  You
  716.       should see this information appear on the upper part of your screen
  717.       even as you type.  Additionally, it is very nice to have all of your
  718.       text on the lower part of the screen and the received information above
  719.       the divider line.  It will not scroll off your screen nearly as fast
  720.       this way.
  721.  
  722.       APPENDIX
  723.  
  724.            XPACKET FLOW DIAGRAM
  725.  
  726.       Example of an UNsuccessful transfer.
  727.  
  728.             SENDER                                      RECEIVER
  729.  
  730.             Ready to send file.
  731.                   <------------------------------------ NAK (repeated every
  732.                                                              10 seconds until
  733.                                                              data transfer
  734.                                                              begins)
  735.             filename ---------------------------------->
  736.             128 bytes data ---------------------------->
  737.             (listens)
  738.             128 bytes data ---------------------------->
  739.             (listens)
  740.             128 bytes data ---------------------------->
  741.             (listens)
  742.             128 bytes data ---------------------------->
  743.             (listens)
  744.                   <------------------------------------ CAN
  745.  
  746.           < Both stations abort transfer and return to terminal mode. >
  747.  
  748.  
  749.       Example of a successful transfer:
  750.  
  751.             SENDER                                      RECEIVER
  752.  
  753.             Ready to send file.
  754.                   <------------------------------------ NAK (repeated every
  755.                                                              10 seconds until
  756.                                                              data transfer
  757.                                                              begins)
  758.             filename ---------------------------------->
  759.             128 bytes data ---------------------------->
  760.             (listens)
  761.             128 bytes data ---------------------------->
  762.             (listens)
  763.             128 bytes data ---------------------------->
  764.             (listens)
  765.             128 bytes data ---------------------------->
  766.             (listens)
  767.             128 bytes data ---------------------------->
  768.             (listens)
  769.             128 bytes data ---------------------------->
  770.             (listens)
  771.             128 bytes data ---------------------------->
  772.             (listens)
  773.             109 bytes data ---------------------------->
  774.             (listens)
  775.             End Of File ------------------------------->
  776.             < -- Both stations go to terminal mode. -- >
  777.  
  778.       NOTE: If nothing is received by the receiving station after 10 seconds,
  779.       another NAK is sent.  This is repeated every 10 seconds until the file
  780.       transfer is started.
  781.  
  782.       NOTE: For details about the XPACKET protocol, see XPACKET.PRO, a brief
  783.       description of the protocol.
  784.  
  785.       What's all this about "filename"?  Well, the XPACKET protocol sends the
  786.       file name in its first burst of data.  The receiving station can do
  787.       with this what he will.  The PTP program shows how this can be handled
  788.       by allowing the file to be saved under the name received, or under the
  789.       name specified by the operator.  This program gives the receiver a
  790.       chance to select a name under which he wants the received file to be
  791.       stored, or if you choose to let the sender provide the name, you simply
  792.       press Enter at the prompt for a file name.
  793.  
  794.       The PTP program uses "hardware flow control" which means that it does
  795.       not honor XON or XOFF from the TNC.  Instead, it relies on the
  796.       asynchronous port hardware to control the sending of data to the TNC.
  797.       When the TNC buffer becomes full, the TNC will drop CTS (Clear To Send)
  798.       and the terminal will halt in its tracks until CTS is again raised.
  799.       This is how the TNC keeps from being overrun with data when the flow is
  800.       otherwise continuous.
  801.  
  802.       When the receiver XPACKET station is waiting to receive the first
  803.       packet of data it will send NAK every 10 seconds until the first packet
  804.       is received.  The last block of data will not necessarily be 128 bytes,
  805.       but it will be followed by an EOF character to signify the end of the
  806.       transfer.  The receiving station will then save the file according to
  807.       the filespec received, or the one entered by the operator.
  808.  
  809.       TNC SETUP
  810.       There are two categories for the TNC command setup.  They are:
  811.  
  812. |     o  Required    (for PTP to work as intended)
  813. |     o  Recommended (Local area determined)
  814. |
  815. |     Required list
  816. |     (TNC-1 and compatibles)
  817. |     +---------------------------------------------------------------------+
  818. |     | AWLEN 8          DELETE OFF          TXFLOW OFF         CR ON       |
  819. |     | AX25 ON          FLOW ON             SENDPAC $0D        COMMAND $03 |
  820. |     | BKONDEL ON       PACTIME EVERY 1     XFLOW ON                       |
  821. |     | CMDTIME 1        PARITY 4            XMITOK ON                      |
  822. |     | CONMODE CONVERS  START $11           STOP $13                       |
  823. |     +---------------------------------------------------------------------+
  824. |
  825. |     Required list
  826. |     (TNC-2 and compatibles)
  827. |     +---------------------------------------------------------------------+
  828. |     | AWLEN 8          DELETE OFF          PARITY 0           COMMAND $03 |
  829. |     | AX25 ON          FLOW ON             SENDPAC $0D        8BITCONV ON |
  830. |     | BKONDEL ON       PACTIME EVERY 1     XFLOW ON           TRFLOW OFF  |
  831. |     | CMDTIME 1        CR ON               XMITOK ON          TXFLOW OFF  |
  832. |     | CONMODE CONVERS  START $11           STOP $13                       |
  833. |     +---------------------------------------------------------------------+
  834. |
  835. |     Required list
  836. |     (PK-232)
  837. |     +---------------------------------------------------------------------+
  838. |     | AWLEN 8          DELETE OFF          PARITY 0           CR ON       |
  839. |     | AX25 ON          FLOW ON             SENDPAC $0D        COMMAND $03 |
  840. |     | BKONDEL ON       PACTIME EVERY 1     XFLOW ON           8BITCONV ON |
  841. |     | CMDTIME 1        PARITY 4            XMITOK ON          TRFLOW OFF  |
  842. |     | CONMODE CONVERS  START $11           STOP $13           TXFLOW OFF  |
  843. |     +---------------------------------------------------------------------+
  844. |
  845. |     Recommended list
  846. |     (TNC-1 and compatibles)
  847. |     +---------------------------------------------------------------------+
  848. |     | AUTOLF ON        BEACON EVERY 0      CONOK ON     LCOK ON           |
  849. |     | CWID OFF         HBAUD 1200          LFADD OFF    TXDELAY 6         |
  850. |     | MCON OFF         RETRY 10            SCREENL 0                      |
  851. |     +---------------------------------------------------------------------+
  852. |
  853. |     Recommended list
  854. |     (TNC-2 and compatibles)
  855. |     +---------------------------------------------------------------------+
  856. |     | AUTOLF ON        BEACON EVERY 0      CONOK ON     LCOK ON           |
  857. |     | CWID OFF         TXDELAY 24          LFADD OFF    NEWMODE ON        |
  858. |     | MCON OFF         RETRY 10            SCREENL 0                      |
  859. |     +---------------------------------------------------------------------+
  860. |
  861. |     Recommended list
  862. |     (PK-232)
  863. |     +---------------------------------------------------------------------+
  864. |     | AUTOLF ON        BEACON EVERY 0      CONOK ON     LCOK ON           |
  865. |     | CWID OFF         HBAUD 1200          LFADD OFF    NEWMODE ON        |
  866. |     | MCON OFF         RETRY 10            ACRDISP 0    TXDELAY 24        |
  867. |     +---------------------------------------------------------------------+
  868.  
  869.       NET MASTER MODE (TNC-2 and compatibles)
  870.       This feature will allow a multiconnect QSO to be conducted with one
  871.       station acting as the Net Master and relaying all packets received to
  872.       each of the connected stations.
  873.  
  874.       The Net Master station will have two parameters included in the PTP.DEF
  875.       file which will specify his identifier (i.e. call sign), and the ASCII
  876.       value of his selection for the stream character in his TNC-2 or
  877.       compatible.  If these parameters are not specified, the defaults will
  878.       be NULL for MYCALL, and the vertical bar (|) for the STREAM CHAR.
  879.  
  880.       This mode is active only in converse mode.  If your TNC is in command
  881.       mode when NM mode is enabled, it will be placed in converse mode as a
  882.       result.  You will not be able to enter command mode while Net Master is
  883.       enabled.  More on that later.
  884.  
  885.       The Net Master operator will connect to the other stations which are to
  886.       be a part of the "net," or roundtable QSO.  After all stations are
  887.       connected to the Net Master, and asked to stand by, the operator of the
  888.       NM station will press Alt-N.  After about ten seconds, the letters NM
  889.       will begin to flash on the right side of the stripe which divides the
  890.       upper and lower parts of the split screen.  (Net Master works only in
  891.       split screen mode.)
  892.  
  893.       Hereafter, all received packets will be re-transmitted to each of the
  894.       other stations in the "net" preceded with an identifier which tells
  895.       the others from whom this packet was sent (i.e.  ":N4PY:Good afternoon,
  896.       fellows.  K") Also, everything which originates from the NM operator
  897.       will also be sent to each of the stations in the net.
  898.  
  899.       This mode will be somewhat slower than just an UNPROTO roundtable since
  900.       the Net Master will have to repeat the received packet to each station
  901.       involved, but it should be more accurate since collision detection will
  902.       be accomplished as when only two stations are connected.
  903.  
  904.       Please note that while NM mode is in effect, the NM operator cannot
  905.       enter command mode on his TNC.  When the Ctrl-C is attempted, it will
  906.       be replaced with an asterisk (*) on his screen.  If a change must be
  907.       made to the TNC operating parameters, the NM operator must first
  908.       disable NM mode, then enter command mode on the TNC, and re-enable NM
  909.       mode.
  910.  
  911.       Anytime an additional connect is made, the NM operator will have to re-
  912.       enable Net Master mode to cause the new station to be included in the
  913.       net.
  914.  
  915.       This mode will take a little practice to get used to it, but it has
  916.       worked very well during our tests in Wake County, NC.
  917.  
  918.       The net "member" station operators do not have to use the TNC-2.  They
  919.       should see nothing different from a normal connection, except for the
  920.       :CALL SIGN:  preceding each packet of text which appears on their
  921.       screens.
  922.  
  923.       If you are using a TNC-2 or compatible, be sure you don't have newmode
  924.       set up to cause cmd: mode when someone disconnects.  This will leave
  925.       you in a strange condition.
  926.  
  927.       Net Master is terminated by the NM operator by pressing Alt-F to
  928.       disable the mode.
  929.  
  930.       FINAL COMMENTS FROM WDCG
  931.       The PCjr cannot write directly to a physical disk file during file
  932.       reception.  If you have enough RAM installed to define a ramdisk, you
  933.       can use this as the target drive and should have no problems.
  934.  
  935.       If you are using an IBM PCjr without the internal modem, you will need
  936.       to run COMJRNIM.COM program which is included on this diskette.  The
  937.       PCjr's RS232 port is normally referred to as COM1 when the internal
  938.       modem is not installed, and as COM2 when the internal modem is there.
  939.       The hardware addresses are not changed.  Be sure to select COM2 from
  940.       the main menu screen if you use COMJRNIM.COM.
  941.  
  942.       We hope you find the Packet Terminal Program as useful and as much fun
  943.       as we have.  Please feel free to pass this program along to other
  944.       Amateur Radio operators and Packeteers, but please DO NOT attempt to
  945.       sell this program, or to use it in any commercial way whatsoever.  This
  946.       program is intended for the private use of Radio Amateurs and your
  947.       cooperation is greatly appreciated in keeping it just as the author
  948.       intended.  If you give a copy of PTP to someone please be sure to
  949.       include this document file also.
  950.  
  951.       The author of PTP assumes no responsibility for the use of this program
  952.       and no guarantees are implied or intended.
  953.  
  954.       Comments and suggestions are welcome, especially about the binary
  955.       transfer protocols.  Send comments to:
  956.  
  957.        +----------------------------+        +----------------------------+
  958.        | Carl Moreschi, N4PY        |        | Ed Stephenson, AB4S        |
  959.        | Rte 3, Box 260             |        | 700 Madison Ave.           |
  960.        | Franklinton, NC  27525     |  <or>  | Cary, NC  27511            |
  961.        | 919-494-2363               |        | 919-467-6832               |
  962.        | N4PY @ WA4LPD              |        | AB4S @ WA4LPD              |
  963.        +----------------------------+        +----------------------------+
  964.  
  965.                         Additional hints from PTP users
  966.  
  967.       Producing hard copy:
  968.       It has been suggested that some users like to have the printer echo
  969.       everything which is received to serve as a "log."  There are three ways
  970.       to accomplish this.
  971.  
  972.       1. If you are using single-screen mode (not split screen), you can us
  973.          the DOS function Ctrl-PrtSc to cause everything going to the screen
  974.          to also go to the printer.  This method will work only in the
  975.          single-screen mode.
  976.  
  977.       2. If you are using split-screen mode, you can cause everything
  978.          received to go to the printer by setting the QSave File Name (main
  979.          menu item 6) to LPT1: or LPT2: (for line printer 1 or 2).
  980.          When you are in communicate mode, turn QSave (F6) on.  When you no
  981.          longer wish to print received data, press F6 again to disable QSave.
  982.  
  983. |     3. If you are using a PK-232 and you enjoy printing FAX pictures, there
  984. |        is no need to disconnect your printer from the computer and
  985. |        reconnect it to the cable supplied with the PK-232 for printing.
  986. |        Use PRCON OFF, PROUT OFF, and PRFAX ON.  Use the new feature, Alt-G,
  987. |        to direct everything received out to your printer on the computer
  988. |        port.  You should be able to, optionally, save the results of the
  989. |        FAX receive by using Qsave feature with the main menu selection of a
  990. |        file name for Qsave.  Be sure you are using 8-bit mode with no
  991. |        parity from the TNC to the terminal (computer).  To stop the
  992. |        printing, press Alt-G again; it will toggle from ON to OFF state.
  993.  
  994.                             *** End of document ***
  995.