home *** CD-ROM | disk | FTP | other *** search
/ World of Ham Radio 1997 / WOHR97_AmSoft_(1997-02-01).iso / log / nts / nts_02 / amsoft.iii next >
Text File  |  1997-02-01  |  24KB  |  443 lines

  1. Users guide for radiogram formatting program version 3.0
  2. (C) Copyright 1991 by Barbara L. Osofsky
  3. This is an old version, which may still contain some valuable info.
  4. Not every feature is in here, but it still contains most.
  5.  
  6. In the following, the letters "st" will denote a two letter state
  7. abbreviation, "#" will denote a single digit, "?" will denote a single 
  8. letter or digit, and "*" will denote a wildcard--any group of alphanumeric 
  9. characters.
  10.  
  11. Files associated with this program:
  12.  
  13. In the program directory:
  14.     NTS.EXE       Large executable program for formatting messages
  15.           in ARRL or (Army) MARS radiogram format for
  16.           transmission by Amateur Radio packet (or other)
  17.           systems.  Only one of NTS.EXE, ARRL.EXE is needed.
  18.  
  19.     ARRL.EXE      An overlaid version of the same program taking
  20.     ARRL.OVR      somewhat less memory and using slightly more
  21.           references to disk when running.
  22.  
  23.     COLOR.EXE     This program, which must be run from a DOS prompt, lets 
  24.           the user set the foreground and background colors on a 
  25.           color monitor before entering the NTS (or ARRL) program.
  26.           It aborts if something other than a number is entered 
  27.           when it expects a number.  
  28.  
  29.     PREAMBLE.ARL  This file is created by the program to store information 
  30.           needed to generate preambles for radiograms in ARRL 
  31.           format.
  32.  
  33.     ADDRESS.ARL   These files store portions of messages that can be inserted 
  34.     TEXT.ARL      into a message being produced by typing a period "." when
  35.     SIGN.ARL      the user is asked for the given part of the message.  The 
  36.           specific address or text or signature to use is then 
  37.           selected from a list of all entries in the appropriate 
  38.           file by picking a letter associated with it.
  39.  
  40.     AREA.ARL      This file is produced if the user wishes to extend 
  41.           verification of the agreement of state, zip code, and 
  42.           telephone area codes to include area codes not already
  43.           in the program.
  44.  
  45.     FUNCT.ARL     Text to be inserted into an item being edited by use of a 
  46.           function key (F1--F10 together with nothing, shift, ctrl,
  47.           or alt) is stored in this file.
  48.  
  49.     AUXPORT.ARL   File containing settings for the serial port program. 
  50.           Unfortunately, the serial port driver is not completely
  51.           debugged at this time, and so is blocked in this version.
  52.  
  53.     MARS.ARL      Information for (Army) MARS messages.
  54.  
  55. In the output directory (path stored in PREAMBLE.ARL):
  56.  
  57.     st*.NTS       Name given to files produced containing a single message
  58.     ZZ*.NTS       in NTS format.  "*" refers to alphanumeric characters
  59.           generated .  These files are ready to be uploaded to
  60.           a packet PBBS.  "ZZ" is used instead of st if the message
  61.           is not addressed "@ NTSst", for example if the user 
  62.           has changed the packet routing of the message so that it is
  63.           a packet pbbs rather than "@ NTSst".
  64.  
  65.     st*.MRS       Name given to files produced containing a single packet 
  66.           ready message in (Army) MARS format.  "*" is as above.  
  67.           Booking MARS messages by state also will create files 
  68.           of this name and title <nr of messages> R (APO) st.
  69.  
  70.     st*.CNT       This file is composed of all messages of type st*.NTS
  71.           for importing into a PBBS program.  The st*.NTS files
  72.           are deleted after concatenation to a file of this form.
  73.           The "*" avoids overwriting.  New copies of the original
  74.           files can be reobtained by using the separate option in
  75.           the edit program off the preparation menu.  Here st may
  76.           also refer to a region of the NTS.
  77.  
  78.     ZZ*.CNT       All files of the form *.NTS are concatenated.
  79.  
  80.  
  81.     ZZ*.CMR       All messages of type *.MRS are combined
  82.           for importation into PBBS software.  
  83.           
  84.  
  85.     *.??U         Indicates that the message in the file has been used
  86.           elsewhere by the program and so are ready for archiving.
  87.          
  88.     *.D??         These are messages in appropriate format (the last two
  89.           letters indicate which) which are not ready for packet.
  90.           they can be made ready for packet by using the 
  91.           separate subprogram of the edit routine.
  92.  
  93. The next group of files in the output directory are rarely produced.
  94.  
  95.     WELFARE.###   A booked welfare inquiry.  These files are produced
  96.           by an experimental attempt at consideration of what a
  97.           mass welfare inquiry might look like.  This message is 
  98.              packet ready, but not really in standard NTS format.
  99.  
  100.     *.BUK         A message in NTS net book format, not to be transmitted
  101.           by packet.
  102.  
  103.     *.PRT           A message produced by this program for printing.  This is
  104.           a remnant of earlier versions of this program.
  105.  
  106.     Wmon####.###  If a message is more than 40 words long, it is dumped 
  107.           into a file with such a name.
  108.           
  109. Information stored within the program:
  110.  
  111.    Translations of ARRL numbered radiograms as of 1990.
  112.  
  113.    State names written out, two letter state abbreviations, ranges of
  114.       zip codes for each state, area codes for each state.  Here "state"
  115.       includes Canadian provinces and zip codes includes Canadian postal
  116.       codes.  Provision is made to update area codes as new ones are
  117.       added.
  118.  
  119.    Explanations of ARRL HX (handling) instructions.
  120.  
  121.    A list of countries with which we had third party agreements as of
  122.       fall 1988.  This can be viewed whenever the program cannot find
  123.       the state in a message address.
  124.  
  125. Choices on the main menu:  If the letter is preceeded by the letter P,
  126. the choice is still available from the main menu but actually listed on
  127. the preparation menu accessed by the letter P.  The only item on the 
  128. preparation menu not also available from the main menu is the edit.
  129.  
  130. Key   Meaning
  131.  
  132. A     ARL numbered radiogram texts
  133.       This routine is used to view the meanings of ARRL numbered
  134.       radiograms.
  135.  
  136. B     Book--common text, signature sent to address list
  137.       (This was choice  C  in version 2.)
  138.       This uses codewords to select which addresses from the file
  139.       ADDRESS.ARL are to receive the (mail merged) message.  It also
  140.       contains a routine for adding addresses in a pre-prepared file to
  141.       ADDRESS.ARL.  A file in the form used for ADDRESS.ARL is also
  142.       produced which may be renamed ADDRESS.ARL from a DOS prompt,
  143.       presumably after renaming the original ADDRESS.ARL.  The 
  144.       pre-prepared file may, for example, be obtained by exporting 
  145.       addresses from a data base into an ASCII file with
  146.       the symbol * on a line by itself separating addresses.  The phone
  147.       number for the individual address should be on a line by itself
  148.       just before the "*".  Before the book is actually prepared, the
  149.       common parts are written to the screen to give the user an 
  150.       opportunity to select what additional information (such as
  151.       ARL and HX explanations) to include or whether to abort.  No 
  152.         address is written because the user cannot modify addresses at  
  153.       this point.  The messages are usually prepared individually for 
  154.       packet, but it is possible to put them into the form of a book 
  155.       for a phone or cw net.  There is also an experimental routine for
  156.       creating a disaster welfare inquiry.  If messages are written 
  157.       using this mail merge routine, all defaults are removed at the
  158.       end of writing the book, but if no addresses with the given code  
  159.       word(s) are found, defaults are retained in case the code word(s)
  160.       were mistyped and the user still wishes to send the book.  If the 
  161.       user does not want to send the book at that time, he should remove 
  162.       remove these defaults.
  163.  
  164.  
  165. P C       Concatenate message files by state or region
  166.       In this routine the user may specify specific messages to be 
  167.       concatenated into a single file which is easier to import into a 
  168.       PBBS program.  The individual files are erased from the output 
  169.       directory.  Mars messages by state are booked into two single 
  170.       messages with title indicating the number and whether or not
  171.       they are for APO st.
  172.           Messages can be specified by the following:
  173.           S -- All NTS messages to a given state         -- S(tate)
  174.           R -- All NTS messages to a given NTS region    -- R(egion)
  175.           A -- All NTS messages                          -- A(ll)
  176.           B -- All MARS messages to a given state        -- B(ook)
  177.           C -- All MARS messages                         -- C(ollect)
  178.    
  179. P D       Default parts of messages
  180.       A message in NTS format has three parts besides the preamble. It has
  181.       an address, a text, and a signature.  Any one of these three parts
  182.       can be entered as a default, to be automatically included in
  183.       every message produced that session unless removed as a default.
  184.       Entering and removing defaults are done using this routine.  In
  185.       addition, items in the preamble or the name of the output directory
  186.       path can be assigned as defaults for a given session without writing
  187.       the new items to disk.  All defaults are lost at the end of the
  188.       session.  If preamble parts are to be permanently changed, the
  189.       Update files routine should be used.
  190.  
  191. E     Enter MARS subprogram
  192.       This subprogram does for messages in Army MARS format what the
  193.       general program does for messages in NTS format.  If other branches
  194.       of the armed services use the same format, it can also be used
  195.       for their MARS messages.  Its subprograms are:
  196.        A  Amateur format converted to MARS format.  The message may be filed
  197.       to be sent by packet (using the letter P) or RTTY (selecting R).
  198.        B  Book MARS messages by state.  This routine can also be accessed
  199.       from the main menu using the C(oncatenate) option.
  200.        C  Change MARS call or location.  
  201.        E  Edit--same as in preparation menu.
  202.        M  MARS format converted to amateur format.
  203.        O  Originate MARS formatted message.  When the message is entered, the
  204.       letter P will write to disk for packet, and the letter R for RTTY.
  205.        R  Relay message in MARS format.  This just attaches the relaying
  206.       stations information.
  207.        Q  Quit this subroutine.
  208.        T  Terminal program.  This is exactly the same routine accessed from
  209.       the main menu.
  210.  
  211. P F     Function key definitions
  212.       Each of the 40 function keys, F1--F10, Shift-F1--Shift-F10,
  213.       Ctrl-F1--Ctrl-F10, Alt-F1--Alt-F10, can be assigned text of
  214.       up to 255 characters.  When the function key is hit while in the
  215.       editor, the assigned text will be inserted into the material
  216.       being edited at the position where the function key was hit.
  217.  
  218. P L   Look at files.  This is a directory viewing routine with the 
  219.      option of displaying a selected file page by page on the screen.
  220.  
  221. M     Message entry
  222.       This is the main routine of this program.  It is intended to
  223.       make the task of producing a message in NTS format as easy as
  224.       possible.  It generates the preamble of the message automatically
  225.       from information in the PREAMBLE.ARL file or defaults set for the
  226.       current session.  This can be avoided by the user typing a preamble
  227.       starting NR # as the first line of the address.  It computes the
  228.       check as it would be computed for a correctly formated message on an
  229.       NTS net.  It automatically prepares packet sending lines for
  230.       uploading to a bulletin board.  It converts state names to two
  231.       letter state codes if necessary and makes sure that state, zip, and
  232.       area code (or province, postal code, and area code) are consistent.
  233.       It generates 4 premessage lines requesting servicing if the message
  234.       is not removed from a PBBS near the destination, and explanations
  235.       of ARL codes and handling instructions.
  236.       Each message part (address, text, signature) is entered separately.  If
  237.       default parts have been set, they automatically are inserted.
  238.       Otherwise the user is given a choice of entering a period "." to use
  239.       the part file or anything else to use the built in on screen editor.
  240.       The editor commands are listed on the editor screen.  They include
  241.       cursor movements, search and search/replace, and a very rudimentary
  242.       clipboard (buffer).  When a part is completed, the user types 
  243.       Ctrl-Q or "^" to exit the editor.  Many non-alphanumeric characters 
  244.       are simply ignored by the editor.  All letters are upper case.
  245.       The editor has 68 column word wrap (to look like (Army) MARS format)
  246.       although shorter lines are no problem.  The placing of words on 
  247.       lines in the final NTS formatted message is in groups of five with 
  248.       two groups on a line.
  249.       Messages containing a count of more than 40 words are not formatted 
  250.       for packet.  They may be written to disk for later editing, but 
  251.       the packet sending header will have to be entered manually if the 
  252.       count is not reduced.
  253.       When a message is completed, it is printed to the screen with its
  254.       packet sending header, 4 premessage lines, explanations of HX and
  255.       ARL codes used, the final "/EX", and the name of the output file.
  256.       A very rudimentary menu appears on the bottom which is rather
  257.       cryptic and incomplete as room is very tight (the top few lines of
  258.       the message may well scroll off the top of the screen).  Here are
  259.       the explanations of the options offered and some possibilities not
  260.       even mentioned on the menu.  The letters and numbers mean:
  261.       C  or  1    The complete message, including premessage lines and expla-
  262.           nations for HX and ARL codes,  is written to the indicated
  263.           file.  This should probably NOT be used for mass
  264.           originations from a fair or similar event.  Using  C
  265.           returns you to the main menu.  Using  1  files the message
  266.           and immediately takes you to the message routine for
  267.           entering the address of the next message.
  268.       P  or  2    The message written to disk contains only what is necessary
  269.           for a packet message.  The four premessage lines and
  270.           explanation of codes are omitted.   This is probably best
  271.           for mass originations.  Using the letter  P  writes to disk
  272.           and returns to the main menu, whereas  2  writes and returns
  273.           to entering the next message.
  274.      M  or  3     The 4 premessage lines are omitted, but the explanations of
  275.           ARL and HX codes are included in the output disk file.
  276.           Again the letter returns to the main menu and the digit to
  277.           the next message.
  278.      J  or  4     Just the radiogram without packet heading, premessage lines,
  279.           explanations, is written to disk.  If the message needs
  280.           further revisions, one might do this and then edit the
  281.           results.  This is similar to the treatment of messages too
  282.           large for the program to accept (text word count > 40).
  283.      F  or  5     This writes the message starting with the actual preamble
  284.           and ending with ARL and HX explanations.  This enables the
  285.           user to type in a received radiogram and produce hard copy
  286.           that can be sent to the recipient which will give him/her
  287.           explanations of what the codes mean.
  288.      Q            This aborts message entry without writing to disk.  As im a
  289.           great many places in the program, typing  Q  exits from the
  290.           current routine (Ctrl-Q for the editor).
  291.      E            This is a post-entry edit.  One can edit message parts,
  292.           change the name of the output file or the output directory
  293.           path for that message.  If a preamble has been generated
  294.           (the address did not start with NR #) one can change any
  295.           part of it.  The user can change the generated
  296.           "ST ##### @ NTSst" or subject field entry, for example to
  297.           send to a specific call at a specific PBBS call.  If the
  298.           address came from the address file and this kind of a 
  299.           change had already been made, the output file name would
  300.           begin with "ZZ" rather than "st", but a post edit change
  301.           of routing leaves the output file name alone.  The number
  302.           of the next message is not incremented by 1 if the post
  303.           edit routine is used to change the call of the originating
  304.           station. 
  305.       
  306. Q     Quit program
  307.       As the program exits, the user is asked if there are any message
  308.       files he/she wishes to concatenate.  A carriage return or the letter
  309.       "N" or "n" exits the program, whereas "Y' or "y" takes the user to
  310.       the concatenate files routine before exiting.
  311.  
  312. P S    Sort files by codewords
  313.       All address, text, and signature file entries have a codeword 
  314.       associated with them, even if it is only "NONE ".  These codewords
  315.       are used to select which addresses are to be used in a mail merged
  316.       book.  This routine also uses these codewords in a crude sort.  If 
  317.       the parts files ADDRESS.ARL, TEXT.ARL, SIGN.ARL have many entries 
  318.       it can be very helpful for the entries most likely to be used in 
  319.       a given session to be in the front of the file.  For example, in 
  320.       December, the user might want to bring to the front of the address
  321.       and text files those messages appropriate for the holiday season or
  322.       for December birthdays.  If those parts were assigned codewords
  323.       "XMAS " and "DECBD" respectively, sorting the files in the order
  324.       "DECBD XMAS" would arrange entries so the December birthdays appeared
  325.       first and the winter holiday entries (which were not also December
  326.       birthdays) appeared next.  The remaining entries would not be 
  327.       reordered.  The user then chooses whether to write the new order
  328.       to disk or not.
  329.  
  330. T     Terminal program -- this program may not be working at this time.
  331.       This is a very rudimentary program addressing the serial port.
  332.       Characters received at the serial port are written to the screen.
  333.       Characters entered at the keyboard are written to the port.  
  334.       The Cursor-down arrow will start recording all received 
  335.       characters to disk.  Recording is ended by receipt of Esc from 
  336.       the keyboard, and the file is named mnd_*.TER, where mn is the
  337.       first and third letter of the month, and d the day.  "*" is the
  338.       usual characters to prevent an overwrite.  Cursor-up arrow takes 
  339.       the user to an upload routine which will
  340.       upload individual files by user provided name, by state, by NTS 
  341.       region, or all NTS or MARS messages.  A ctrl-Z is sent to the 
  342.       PBBS in place of /EX to terminate each message.  After a message
  343.       is uploaded, if the serial port receives the prompt ">" the file 
  344.       extension is changed to end in the letter U,  so the file name 
  345.       will no longer match the masks for concatenating or uploading.
  346.       There are a variety of (hopefully understandable) error messages.
  347.       Esc will terminate an upload.  This program uses stop/start flow 
  348.       with stop character <ctrl-S> and start <ctrl-Q> in both directions. 
  349.       Set your TNC for these characters if it has software flow control 
  350.       (they are almost certainly the default values). 
  351.       the program is currently in limbo.  All routines have had a
  352.       reasonable amount of debugging, the hardware intercept seems to
  353.       work and report error conditions as programmed.  But I have a 
  354.       problem with the TNC I was using to test it.  Even with a known
  355.       working terminal program I could not get output to the TNC, and
  356.       the only input I got was about half of the sign on program.  
  357.       With this program I got one or two symbols from the sign on
  358.       of the TNC and loads of error reports (funny characters indicate
  359.       overwrite, parity, framing errors).  I have no idea how to 
  360.       continue debugging this.  My guess is there is some kind of a
  361.       handshaking problem.  I've set both DTR and RTS high and ignored
  362.       hardware handshaking.  Any ideas, suggestions, help, etc would
  363.       be much appreciated.  
  364.  
  365. P U     Update files
  366.       This routine enables the user to add, edit, or delete entries in
  367.       the address, text, and signature files on disk and in memory.  The
  368.       editor is used as in entering message parts in a message, except
  369.       that an additional command Ctrl-D is included if a message being
  370.       picked from the file is to be deleted.  One can also change entries
  371.       in the preamble file.  These entries are:  next message number, 
  372.       default handling instructions, call of station, location of station,
  373.       information on inserting the time of origin into preambles, zip of
  374.       station, output directory path.  Serial port parameters are also
  375.       updated using this option.
  376.  
  377. P X     Xtras for screen appearance
  378.       This routine enables the user to select cursor type and highlight
  379.       type.  For an LCD screen, one can select a block cursor rather than
  380.       an underline cursor.  The highlighting selection can also make a 
  381.       great difference on an LCD screen.  
  382.       (There is a separate external file COLOR.EXE that can be used to 
  383.       adjust the colors of foreground and background for a color monitor.
  384.       The color program must be run from a DOS prompt by typing COLOR and 
  385.       following instructions.  It is not included in the main program 
  386.       because if the user accidentally makes the foreground and background
  387.       colors indistinguishable, the user is in trouble, and a letter or
  388.       other character in place of a digit will abort the program.)
  389.  
  390. Miscellaneous comments:
  391.  
  392. The editor screen is divided into three parts.  The top is where what is
  393. being typed is displayed.  The bottom is a list of commands and some status
  394. indicators.  The middle few lines are messages from the editor to the user,
  395. such as statements of what is being entered, warnings of state, zip, areacode
  396. mismatches, requests for confirmations of deletions.  If the editor seems
  397. suddenly to behave differently, CHECK THIS MIDDLE SCREEN AREA.
  398.  
  399. There is a lot of "alphabet soup" in the various menus and output file
  400. names.  Any suggestions for improvements would be greatly appreciated.
  401.  
  402. Some rough rules of thumb:  Q  exits most routines (Ctrl-Q for the editor);
  403. Ctrl-C exits the program in most places; Ctrl-D is used in updating routines
  404. using the editor to delete the item in the editor; numbers in the order things
  405. are written in the bottom line of the post edit member perform the operation
  406. and then start entry of the next message.
  407.  
  408. I have tried to make normal entry of messages as easy as possible.  If you
  409. find that some routines take extra keystrokes to do normal things, please let
  410. me know.  On the other hand, if you find that there is some thing you would
  411. like to do that you cannot, let me know that also.
  412.  
  413. My usual response to comments about earlier versions of this program was to
  414. do my best to ascertain exactly what the commenter had in mind and then see
  415. if I could work it into the program.  The result has been a collection of
  416. improvements and elimination of bugs from version to version.  Let me know
  417. any thoughts you have on how to improve things.  Also, please report bugs to
  418. me asap.  And anyone with any serial port programming experience please
  419. let me know what I might try next on the terminal program.
  420.  
  421. If there is considerable user interest, the color program can be improved so 
  422. that it does not abort if it does not get a number when expected, and 
  423. foreground and background colors cannot be the same.  With these modifications
  424. it could be an option in Xtras for screen appearance.  Let me know if this 
  425. would be valuable for you.
  426.  
  427. At some point, a mating program to the experimental welfare message generation
  428. might be produced to create lists of welfare inquiries outside a disaster area
  429. and to automatically check those lists against lists from inside the area. The
  430. hope is to help relieve pressures from this kind of inquiry inside the disaster
  431. area by moving much processing of it outside.  Is there any interest in such a 
  432. program?
  433.  
  434.  
  435.  
  436. Barbara Osofsky KB2HM
  437. 1010 South Park Avenue
  438. Highland Park, NJ 08904
  439. 908-985-2997
  440. February 1991, revised Sept 1991
  441.  
  442. Published in the AmSoft CD-ROM with permission from KB2HM.
  443.