home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / HILFEN / MODEM / SALES / MISC.XXX / TX2MB220.ZIP / SAMPLE.MSG < prev    next >
Text File  |  1991-03-10  |  2KB  |  73 lines

  1.   This is a sample textfile message to show the use textfile control of
  2.   message header information.
  3.  
  4.   If you specify -n on the commandline or in the SET TXT2MSG=, then the
  5.   following lines *will* show up in the message body and will *not*
  6.   effect the message header.  For these control lines to be of use, you
  7.   should *not* specify -n on the commandline or SET TXT2MSG= statement.
  8.   Note the use of 'v' and '^' are for reference only:
  9.  
  10. vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv  (header control lines start here)
  11. TO: ALL
  12. FROM: SYSOP
  13. SUBJECT: TXT2MSG Test Message
  14. NOECHO:
  15. PUBLIC:
  16. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  (header control lines end here)
  17.  
  18.   If you want the message to be R/O (private), you would specify:
  19.  
  20. PRIVATE:
  21.  
  22.   If you wanted the message to be echoed, you would have:
  23.  
  24. ECHO:
  25.  
  26.   To make the message to/from someone else:
  27.  
  28. TO: SYSOP
  29. FROM: TXT2MSG
  30.  
  31.   Note that header control lines are processed sequentially through the
  32.   text file.  As such, if this message were imported in this state
  33.   (without the -n switch), it would be:
  34.  
  35.        To: SYSOP                   R/O (Private)
  36.      From: TXT2MSG                 Echo ON
  37.   Subject: TXT2MSG Text Message
  38.  
  39.   If this message were imported with the -n switch, the header control
  40.   (to, from, subject, etc) would be entirely up to the commandline.
  41.  
  42.   Try importing this message with and without the -n option.  Those
  43.   without the -n will be controlled by the text within the message,
  44.   while messages imported with the -n switch will have them in the body
  45.   and not effect the header.
  46.  
  47.   Note that header control lines (such as the "TO: ALL" line) do not
  48.   appear in the message body if they are valid and used for the header.
  49.   No need having the information twice, eh?
  50.  
  51.   Another feature which can be shown in this example is the blank line
  52.   compression.  Following this line are ten blank lines:
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.   When TXT2MSG imports this file, those ten blank lines will be
  64.   compressed into TWO blank lines.  TXT2MSG allows no more than two
  65.   blank lines in a row -- this is useful if importing documentation or
  66.   other text with a large amount of blank space involved.
  67.  
  68.   If you come up with any fancy or neat uses for TXT2MSG, pass them
  69.   along.  If you include a sample batchfile, I'll see about including it
  70.   as an example in a later release!
  71.  
  72.   Robert Vostreys, FTL Sysop
  73.