home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / maguucp3.zip / MAGUUCP.DOC < prev    next >
Text File  |  1996-03-12  |  78KB  |  2,496 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                        MAGUUCP Communications Program for OS/2
  21.                                 Version 3.00C & 3.00D
  22.                                   (formerly MAGCOM)
  23.  
  24.                        (C)Copyright Gilmore Systems - 1989,1996
  25.                                  All Rights Reserved
  26.  
  27.            Voice: (818) 782-1870  FAX: (818) 782-2093  BBS: (818) 782-6290
  28.                             Email: postmaster@gilmore.com
  29.  
  30.                                   Gilmore Systems
  31.                                    7354 Rubio Av.
  32.                                  Van Nuys, CA 91406
  33.                                        U.S.A.
  34.  
  35.                               Program by Chuck Gilmore
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  MAGUUCP Communications Program for OS/2                                Page  1
  42.  Introduction
  43.  
  44.  
  45.  MAGUUCP is a companion communications program to Magnum BBS software for OS/2
  46.  from Gilmore Systems.  MAGUUCP is an optional terminal & UUCP program sold
  47.  separately (it is NOT included with Magnum BBS software).  MAGUUCP offers
  48.  standard terminal program features (ANSI, TTY, Xmodem [3 flavors], Ymodem [2
  49.  flavors], Zmodem).  Additionally, it acts as the uucico interface between
  50.  Magnum BBS (v8.08 & above) and an Internet Service Provider so that your
  51.  Magnum BBS system can utilize Internet E-mail (with Domain Name Service from
  52.  an Internet Service Provider).
  53.  
  54.  Although Magnum BBS software for OS/2 is not a requirement for running
  55.  MAGUUCP, those who take advantage of the combination of MAGUUCP and Magnum
  56.  BBS will be able to use Internet E-mail (messages on the BBS with 'attached
  57.  files' are automatically uu-encoded into the outgoing message; incoming
  58.  messages containing uu-encoded files are automatically uu-decoded and
  59.  presented as an 'attached file' on the BBS).  Additionally, LISTSERV functions
  60.  are included with this combination (ie: send a message to a certain address on
  61.  a Magnum BBS [ie: info@gilmore.com]) and an automatic response message will be
  62.  sent.  Alias names are also supported.
  63.  
  64.  MAGUUCP is a solid communications program for OS/2 which supports most of the
  65.  modem handling features that other packages leave out such as CTS flow
  66.  control (hardware handshake), DTE speeds higher than DCE (up to 115,200
  67.  baud), support for redirected serial ports on LAN's, Zmodem, Ymodem-G,
  68.  Auto-Zmodem detect, Zmodem crash recovery, a powerful scripting language, etc.
  69.  
  70.  Although a fullscreen text application, you may also run it as a windowed
  71.  text application.
  72.  
  73.  The programs comprising MAGUUCP are: MAGUUCP.EXE, ULFILE.EXE and DLFILE.EXE,
  74.  3 programs in all.  ULFILE.EXE and DLFILE.EXE are called by MAGUUCP.EXE when
  75.  you choose to upload or download files, meaning they don't use any memory
  76.  unless file transfers are in progress.  This frees up memory upon completion
  77.  of file transfers.
  78.  
  79.  MAGUUCP is very easy to use. Basically, all you need to do is place
  80.  MAGUUCP.EXE, ULFILE.EXE and DLFILE.EXE in the same directory, make that
  81.  directory the current directory, then run MAGUUCP.EXE - you'll find
  82.  everything you need to know by hitting your F1 key for help. You can also
  83.  optionally place the file MAGUUCP.ICO in that directory if you wish to have
  84.  a custom icon for MAGUUCP.
  85.  
  86.  Source code licensing to MAGUUCP is also available (see order form at the end
  87.  of this manual).
  88.  
  89.          IBM is a trademark of International Business Machines, Inc.
  90.           Hayes is a trademark of Hayes Microcomputer Products, Inc.
  91.              USRobotics is a trademark of US Robotics Corporation
  92.               Microsoft is a trademark of Microsoft Corporation
  93.                  Magnum BBS is a trademark of Gilmore Systems
  94.                         OS/2 is a trademark of IBM Corp.
  95.  
  96.            Portions of file xfer from Chuck Forsberg's public domain
  97.           unix source, modified by Chuck Gilmore for OS/2 and MAGUUCP
  98.  
  99.  
  100.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  101.  
  102.  
  103.  
  104.  MAGUUCP Communications Program for OS/2                              Page  1-1
  105.  MAGUUCP's Initialization File (MAGUUCP.DAT) - Getting Started
  106.  
  107.  
  108.  
  109.  MAGUUCP reads your initialization file to send your modem the proper
  110.  initialization parameters. This file is MAGUUCP.DAT and will be created if it
  111.  does not exist. To alter this file, simply load it into your text editor and
  112.  make the necessary changes. Note that when MAGUUCP creates this file, it
  113.  assumes a 2400-baud modem. You'll need to change the baudrate and any
  114.  other parameters with your text editor accordingly. Baudrates are also
  115.  adjustable for each of the 200 phone numbers you can store in MAGUUCP's
  116.  dialing directory (MAGUUCP.PHO). If you wish to create the MAGUUCP.DAT file
  117.  yourself or modify the existing MAGUUCP.DAT file, you'll need to supply the
  118.  following Keywords and Parameters:
  119.  
  120.     MODEM:    USR HST DS v.everything
  121.     BAUD:     57600
  122.     INIT1:    AT &F1H0M1L3
  123.     INIT2:    AT S7=60S0=0
  124.     INIT3:    AT V1E1M1X7&K3
  125.     RESET:
  126.     DEVICE:   COM1
  127.     PARITY:   N
  128.     DATABITS: 8
  129.     STOPBITS: 1
  130.     OPENMODE: N
  131.     CTSFLOW:  Y
  132.  
  133.  The MODEM: keyword will accept up to an 80-character text line (including
  134.  the MODEM: keyword) describing your modem as in the example above.
  135.  
  136.  The BAUD: keyword is the baudrate at which your modem will be initialized
  137.  at. For modems that accept a higher DTE (computer to modem) speed than DCE
  138.  (modem to modem) speed, you'll want to set this value at the highest DTE it
  139.  can handle. In the above example, the USR HST DS v.everythnig modem is a
  140.  28800 baud modem but can accomodate a DTE speed of 57600.  For those serial
  141.  cards and communications drivers that support it, this modem can also
  142.  accomodate a DTE speed of 115200 baud (NOTE: MUST BE SPECIFIED AS 1152 AS
  143.  THE PARAMETER).
  144.  
  145.  The INIT1:, INIT2: and INIT3: parameters are modem initialization strings
  146.  which can accomodate a text line (including the keyword) of up to 80
  147.  characters.  You probably won't need to use all three fields but just in
  148.  case you do, they are available.  Note that some modems such as the Multitech
  149.  224Eh can only accept initialization strings of up to 40 characters each
  150.  (hence three initialization fields).
  151.  In your parameter strings, the \ (backslash) characer has special meaning, it
  152.  starts an escape sequence:
  153.  
  154.           Use the \ character as the beginning of an
  155.           escape sequence.  If \\ appears, then a single
  156.           \ character is sent.  If \ is followed by one
  157.           or more digits (up to 3 digits maximum), then
  158.           the ASCII character represented by the decimal
  159.           value of the digits will be sent (ie: \13 will
  160.           send a CR character.  If the \ is followed by
  161.  
  162.  
  163.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  164.  
  165.  
  166.  
  167.  MAGUUCP Communications Program for OS/2                              Page  1-2
  168.  MAGUUCP's Initialization File (MAGUUCP.DAT) - Getting Started
  169.  
  170.  
  171.           a non-digit, that character will be sent.
  172.           Furthermore, the each \~ sequence indicates a
  173.           500 milisecond delay (ie: \~\~ is a 1 second delay).
  174.  
  175.  The RESET: keyword holds your modem's reset string (usually AT Z) which
  176.  can be up to 80 characters in length (including the keyword).
  177.  
  178.  The DEVICE: keyword defines the serial device that you wish MAGUUCP to use
  179.  when it starts up. The parameter is usually COM1 or COM2, however, it can
  180.  accept any valid serial device name (ie: AUX0, AUX1, COM8, \\SRVR\SERIAL1,
  181.  etc).
  182.  
  183.  The PARITY: keyword can accept one of five possible parameters: N (none), E
  184.  (even), O (odd), M (mark), or S (space). Usually, this setting is N (none).
  185.  
  186.  The DATABITS: keyword can accept one of four single digit numeric
  187.  parameters (5, 6, 7 or 8). Usually this is 7 or 8. Most BBS's and dialup
  188.  services are 8.
  189.  
  190.  The STOPBITS: keyword can accept one of four possible parameters (0, 1, 1.5,
  191.  or 2). Usually, 1 is the normal value.
  192.  
  193.  The OPENMODE: keyword accepts a parameter of N (nonshared) or S (shared).
  194.  The usual value for a multitasking operating system such as OS/2 is N
  195.  (nonshared). If you choose S (shared), you run the risk of another program
  196.  accessing the comport at the same time MAGUUCP is and loss of data into or
  197.  out of the comport, along with other unpredictable results can occur.
  198.  
  199.  The CTSFLOW: keyword accepts a parameter of Y (yes) or N (no). The usual
  200.  paramter here is Y (yes) which indicates that hardware flow control is to
  201.  be used. If you specify N (no), unpredictable results can occur when you
  202.  choose Xmodem-1K, Ymodem, Ymodem-G or Zmodem to upload files with. If you
  203.  specify Y (yes), make sure your modem initialization string(s) (INITx:)
  204.  contain your modem's command to tell it to use CTS flow control.
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  227.  
  228.  
  229.  
  230.  Using MAGUUCP                                                        Page  2-1
  231.  Introduction
  232.  
  233.  
  234.  
  235.  MAGUUCP supports several special keystrokes which tell MAGUUCP to do something
  236.  special. These special keystrokes can be an AltKey combination (example:
  237.  <Alt-X> means to hold down your Alt key and press X). <PgUp> means to press
  238.  the key on your keyboard labeled PgUp, and <PgDn> means to press the key on
  239.  your keyboard labeled PgDn.
  240.  
  241.  Whenever you press one of these special keystrokes, your screen will usually
  242.  clear, and you'll be presented with a prompt or menu.
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  290.  
  291.  
  292.  
  293.  Using MAGUUCP                                                        Page  2-2
  294.  <Alt-A> ASCII send/capture or Cancel capture
  295.  
  296.  
  297.  
  298.  When you press your <Alt-A> key, you will get a prompt asking you if you
  299.  want to [S]end a file to the remote computer via ASCII transfer, [R]eceive a
  300.  file from the remote computer via ASCII transfer, or [C]ancel a currently
  301.  running ASCII Receive.
  302.  
  303.  By choosing [R]eceive, you will be prompted for a filename. From this point
  304.  on (or until you choose <Alt-A> again with the [C]ancel option), everything
  305.  that you receive from the remote BBS or type to the remote BBS will be
  306.  captured to the filename you supply. You can review this file anytime later
  307.  on with your text editor, or print it on the printer. If you specify PRN as
  308.  the filename, everything will be routed to your printer instead of to a
  309.  file. NOTE: Binary file transfers (see <PgUp> and <PgDn>) will be excluded
  310.  from being captured to the capture file.
  311.  
  312.  By choosing [S]end, you can send any ASCII text file up to a remote BBS. An
  313.  example of where this would come in handy might be if you were to enter a
  314.  message with your text editor, and upload this message in response to (Enter
  315.  a message) on a remoter BBS. It would be like typing a message while online
  316.  to the remote system, but instead of typing, it sends the characters in the
  317.  file instead.
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  353.  
  354.  
  355.  
  356.  Using MAGUUCP                                                        Page  2-3
  357.  <Alt-B> Toggle Bell on/off
  358.  
  359.  
  360.  
  361.  The <Alt-B> key combination toggles the bell on or off.  If the bell is on,
  362.  pressing <Alt-B> turns it off.  If the bell is off, pressing <Alt-B> turns
  363.  it back on.  This is a handy feature when you or others don't wish to be
  364.  disturbed by bell sounds.
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  416.  
  417.  
  418.  
  419.  Using MAGUUCP                                                        Page  2-4
  420.  <Alt-D> Dialing Directory
  421.  
  422.  The dialing directory is brought to your screen when you press the <Alt-D>
  423.  key. The dialing directory is self-explanatory. Basically, the dialing
  424.  directory can hold up to 200 entries. Each entry consists of 7 fields:
  425.  
  426.  Entry Number: this is a 3-digit number ranging from 001 to 200. You needn't
  427.  supply leading zeros to supply an entry number.
  428.  
  429.  Description of Host System: This field holds up to 35 characters describing
  430.  the host system you'll be calling for this entry. The first entry in MAGUUCP
  431.  has already been completed for you with the description and phone number of
  432.  Gilmore System's Magnum BBS system (node 1).
  433.  
  434.  Modem telephone number: This field holds up to 25 characters describing the
  435.  modem telephone number of the host system. Acceptable characters here are 0
  436.  thru 9, A thru Z, and the following characters (without the quotes): ",-*#"
  437.  where the comma character (,) represents a 2-second delay to most modems.
  438.  The hyphen character (-) is merely for readibility and is ignored. The
  439.  asterisk (*) and pound (#) characters have special meanings to certain
  440.  telphone systems. The letters of the alphabet (A thru Z) will be translated
  441.  to the appropriate digits by MAGUUCP, therefore, telephone numbers such as
  442.  1-404-HI-MODEM are possible.
  443.  
  444.  The next field is the Parity field (see PARITY: keyword in the previous
  445.  chapter for a description). Whatever is supplied here will override the
  446.  PARITY: supplied in the initialization file when you choose to dial this
  447.  entry, and will remain in effect until it is overriden by a different
  448.  parameter in another entry you choose to dial.
  449.  
  450.  The next field is the Databits field (see DATABITS: keyword in the previous
  451.  chapter for a description). Whatever is supplied here will override the
  452.  DATABITS: supplied in the initialization file when you choose to dial this
  453.  entry, and will remain in effect until it is overriden by a different
  454.  parameter in another entry you choose to dial.
  455.  
  456.  The next field is the Stopbits field (see STOPBITS: keyword in the previous
  457.  chapter for a description). Whatever is supplied here will override the
  458.  STOPBITS: supplied in the initialization file when you choose to dial this
  459.  entry, and will remain in effect until it is overriden by a different
  460.  parameter in another entry you choose to dial.
  461.  
  462.  The last field is the BaudRate field (see BAUDRATE: keyword in the previous
  463.  chapter for a description). Whatever is supplied here will override the
  464.  BAUDRATE: supplied in the initialization file when you choose to dial this
  465.  entry, and will remain in effect until it is overriden by a different
  466.  parameter in another entry you choose to dial.
  467.  
  468.  NOTE: MAGUUCP can be made to dial an entry from the command-line by invoking
  469.        MAGUUCP with the dial entry (denoted by the # character).
  470.        Example:
  471.                  MAGUUCP #4
  472.        will dial entry #4, and if there's a script file associated with it,
  473.        the script file will be read.  (Demo scripts are limited to dial entry
  474.        #1 and #2 only).  As always, if MAGUUCP.0 is present, this will be the
  475.        first file read regardless of how MAGUUCP is started.
  476.  
  477.  
  478.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  479.  
  480.  
  481.  
  482.  Using MAGUUCP                                                        Page  2-5
  483.  <Alt-E> Echo On/Off (full duplex/half duplex)
  484.  
  485.  
  486.  
  487.  By pressing your <Alt-E> key combination, you will toggle echo to/from
  488.  on/off. Usually, BBS's will echo back every character you type - in this
  489.  case, echo should be OFF. If you can't see what you're typing, MAGUUCP will
  490.  echo what you're typing to the screen when you toggle echo back ON. If you
  491.  are seeing double characters of each key you type, you should toggle echo
  492.  OFF. Each time you press <Alt-E> it toggles (reverses) the current state of
  493.  the echo. In other words, if local echo is ON, pressing <Alt-E> turns it
  494.  OFF. Likewise, if local echo if OFF, pressing <Alt-E> turns it ON.
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  542.  
  543.  
  544.  
  545.  Using MAGUUCP                                                        Page  2-6
  546.  <Alt-H> Hang Up
  547.  
  548.  
  549.  
  550.  Ocassionally, you'll need to manually disconnect your modem from a host
  551.  system. For instance, if you're online to a remote system and can't figure
  552.  out how to disconnect from it, or the remote system seems to be "locked up"
  553.  (won't disconnect you), you can disconnect manually by pressing <Alt-H>.
  554.  This will close the modem port and reopen it. If your modem does not respond
  555.  to this, you will either have to look in your modem's user manual to see
  556.  what you can add to the initialization strings to get it to respond, or you
  557.  will have to manually turn your modem off. Usually, &C1&D2 parameters need
  558.  to be included in one of your initialization strings.
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  605.  
  606.  
  607.  
  608.  Using MAGUUCP                                                        Page  2-7
  609.  <Alt-L> Load/Unload/Pause ScriptFile
  610.  
  611.  
  612.  
  613.         <Alt-L> - Load/Unload/Pause ScriptFile.  This function will prompt
  614.                   for   L)oad: Load a new ScriptFile (filespec entry);
  615.                       U)nload: Unload (abort) the current ScriptFile;
  616.                        P)ause: Toggles pause on/off for current ScriptFile;
  617.  
  618.  NOTE: Not available in DEMO release!
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  668.  
  669.  
  670.  
  671.  Using MAGUUCP                                                        Page  2-8
  672.  <Alt-O> Shell to OS/2 Command Interpreter (CMD.EXE)
  673.  
  674.  
  675.  
  676.  While OS/2 is a multi-tasking operating system, getting to the OS/2 command
  677.  interpreter (CMD.EXE) command line can be accomplished by simply switching
  678.  to an OS/2 command window or OS/2 full-screen from the task list.
  679.  
  680.  However, we've received many requests for the ability to get to the command
  681.  line directly via an Alt-Key combination from within MAGUUCP.  Hence, the
  682.  introduction of the <Alt-O> function.  I assume this is for those of you who
  683.  wish to use external file xfer protocols not directly supported by MAGUUCP.
  684.  If this is the case, MAGUUCP's MAGUUCP.DAT file should contain S (shared) as
  685.  the parameter to the OPENMODE keyword.
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  731.  
  732.  
  733.  
  734.  Using MAGUUCP                                                        Page  2-9
  735.  <Alt-P> Set Lines/Page
  736.  
  737.  
  738.  
  739.  MAGUUCP can take advantage of your display's capability of displaying up to
  740.  100 lines per screen page. Simply press <Alt-P> to choose a new setting.
  741.  
  742.  NOTE: If your display is capable of displaying, say, 25, 28, 43 or 50 lines
  743.        per screen, then entering any value in response to this prompt will
  744.        result in the nearest capability that your monitor offers. For
  745.        example, if you enter 68 lines/screen, MAGUUCP will change this to
  746.        50 lines/screen.
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  794.  
  795.  
  796.  
  797.  Using MAGUUCP                                                       Page  2-10
  798.  <Alt-Q> and <Alt-S> (XON and XOFF)  [Resume and Pause]
  799.  
  800.  
  801.  
  802.  MAGUUCP can send XON (resume transmit) and XOFF (halt transmit) to whatever
  803.  host you're connected to. Simply put, XOFF tells the host (BBS) to halt
  804.  transmission until you instruct it to resume with an XON instruction.
  805.  The <Alt-S> key combination will send an XOFF instruction to the host,
  806.  while the <Alt-Q> key combination will send an XON instruction.
  807.  
  808.  NOTE: Sending an <Alt-S> (XOFF) to the host will stop the host from further
  809.        transmission of text, however, the modem on the host may continue to
  810.        send characters to you until its buffer is cleared!
  811.  
  812.        Note that XON and XOFF are reserved for ASCII (text) mode. Your modem
  813.        should be configured to treat XON/XOFF characters as data (ignore them)
  814.        otherwise binary file transfers will fail!
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  857.  
  858.  
  859.  
  860.  Using MAGUUCP                                                       Page  2-11
  861.  <Alt-R> Review Buffer
  862.  
  863.  
  864.  
  865.  MAGUUCP stores all incoming/outgoing characters (except for binary file
  866.  transfers) in a circular buffer of about 16K. By pressing <Alt-R>, you can
  867.  review what's in the buffer, clear the buffer, or write the contents of the
  868.  buffer to a disk file. When you press <Alt-R>, you will be looking at the
  869.  top of the buffer.
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  920.  
  921.  
  922.  
  923.  Using MAGUUCP                                                       Page  2-12
  924.  <Alt-X> Exit MAGUUCP
  925.  
  926.  
  927.  
  928.  By pressing your <Alt-X> key, MAGUUCP prompts you as to wheter you want to
  929.  exit the program or not. If you type Y (yes), MAGOM will end, otherwise if
  930.  you type N (no), MAGUUCP will return to normal operation.
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  983.  
  984.  
  985.  
  986.  Using MAGUUCP                                                       Page  2-13
  987.  <PgUp> Transmit Binary File to Host.
  988.  
  989.  
  990.  
  991.  When you press your <PgUp> key, MAGUUCP will prompt you first for an upload
  992.  protocol to use for sending a file to the remote system, then for the
  993.  filename you wish to send. Usually, you'll first tell the remote system
  994.  which file you'll be sending and the protocol you'll be using to send it
  995.  with. You must choose the same protocol with MAGUUCP but the filename
  996.  doesn't necessarily have to match.
  997.  
  998.  If you supply a blank for either prompt, MAGUUCP will return back to terminal
  999.  (normal) operation.
  1000.  
  1001.  If you supply a protocol and filename, MAGUUCP will call the ULFILE.EXE
  1002.  program (expected to be in the same directory as MAGUUCP.EXE) to transfer the
  1003.  file with. You'll see the copyright information and the file will be sent.
  1004.  When the file is finished being sent, MAGUUCP will return to normal
  1005.  operation.
  1006.  
  1007.  You can abort the xfer by pressing <Ctrl-X> many times.
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1046.  
  1047.  
  1048.  
  1049.  Using MAGUUCP                                                       Page  2-14
  1050.  <PgDn> Receive Binary File from Host.
  1051.  
  1052.  
  1053.  
  1054.  When you press your <PgDn> key, MAGUUCP will prompt you for a download
  1055.  protocol to use for receiving one or more files from the remote system. If
  1056.  you choose a Single-File protocol (Xmodem, Xmodem-CRC, Xmodem-1K), MAGUUCP
  1057.  will prompt you for a filename to store the received file in. If you choose
  1058.  a batch protocol (Ymodem, Ymodem-G, Zmodem), MAGUUCP will immediately begin
  1059.  the transfer, and the names of the files you'll be receiving will
  1060.  automatically be sent to you by the host system. Whatever protocol you
  1061.  choose to receive files with, it must match the same protocol that you've
  1062.  chosen for the host (remote) system to use.
  1063.  
  1064.  Note that if you're connected to a host system which sends the auto-zmodem
  1065.  sequence, MAGUUCP will recognize this and begin the transfer for you... you
  1066.  needn't bother pressing your <PgDn> key. Magnum BBS host systems will send
  1067.  the auto-zmodem sequence.
  1068.  
  1069.  If you supply a blank at any prompt, MAGUUCP will return back to terminal
  1070.  (normal) operation.
  1071.  
  1072.  MAGUUCP begins the transfer by calling the DLFILE.EXE program (expected to
  1073.  be in the same directory as MAGUUCP.EXE) to trasnfer the file with. You'll
  1074.  see the copyright information and the file(s) will be received. When the
  1075.  transfer completes, MAGUUCP will return to normal operation.
  1076.  
  1077.  You can abort the xfer by pressing <Ctrl-X> many times.
  1078.  
  1079.  NOTE: If you've downloaded a file with Zmodem and you get disconnected in
  1080.        the middle of a transfer, or the transfer aborts for any reason, you
  1081.        can call the remote system again and start the same Zmodem transfer
  1082.        again, but choose the [R]ecoverZmodem option instead of [Z]modem -
  1083.        this will cause the transfer to resume from where it left off.
  1084.        If the host sends an 'auto-zmodem' sequence, MAGUUCP will recognize
  1085.        this and handle it for you (you needn't bother pressing <PgDn>).
  1086.        Magnum BBS systems send the 'auto-zmodem' sequence.
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1109.  
  1110.  
  1111.  
  1112.  Using MAGUUCP                                                       Page  2-15
  1113.  When Online with a "Magnum BBS" System
  1114.  
  1115.  
  1116.  
  1117.  When you're online with a "Magnum BBS" System, MAGUUCP will let you use the
  1118.  following keys when using the ANSI message editor or NotePad facility of the
  1119.  Magnum BBS:
  1120.  
  1121.     Up, Down, Right, Left ARROW keys... Moves cursor accordingly.
  1122.     <Home> ............................ Move to beginning of current line.
  1123.     <End> ............................. Move to end of current line.
  1124.     <Ins> ............................. Insert a space at cursor position.
  1125.     <Del> ............................. Delete character at cursor position.
  1126.     <Ctrl-PgUp> ....................... Move up (back) one screen.
  1127.     <Ctrl-PgDn> ....................... Move down (forward) one screen.
  1128.  
  1129.  Note that the <PgUp> and <PgDn> keys by themselves are reserved for
  1130.  initiating a binary file transfer and are therefore not used in the ANSI
  1131.  message editor. Use <Ctrl-PgUp> and <Ctrl-PgDn> instead.
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1172.  
  1173.  
  1174.  
  1175.  Script Files                                                         Page  3-1
  1176.  Introduction
  1177.  
  1178.  
  1179.                                USING SCRIPT FILES
  1180.                                ------------------
  1181.  
  1182.  Script files are a way of automating communication between MAGUUCP and any BBS
  1183.  or other host that you're calling.  Most terminal programs which utilize a
  1184.  scripting language employ a "expect"/"response" technique.  MAGUUCP also
  1185.  employs this technique but also offers a "whenever" technique (ie: whenever a
  1186.  certain character string is received, send a predefined response).
  1187.  
  1188.  Script files conform to the naming convention: MAGUUCP.nnn where nnn is a 1
  1189.  to 3 digit number indicating the dial record entry (examples: maguucp.1,
  1190.  maguucp.20, maguucp.134, ... no leading zeros).  These script files are ASCII
  1191.  text files of the format (via example):
  1192.  
  1193.           whenever "press enter" send "\~\13"
  1194.           waitfor "service" send "holonet\13"
  1195.           waitfor "login" send "myname\13"
  1196.           waitfor "password" send "mypassword\13"
  1197.           waitfor "terminal" send "uucp\13"
  1198.           whenever "NO CARRIER" call <alt-x> [parms]
  1199.  
  1200.  **NOTE: MAGUUCP.1 and MAGUUCP.2 are the only valid script files in the DEMO
  1201.          release.  MAGUUCP.0 is also available in the DEMO release.
  1202.  
  1203.     Script files are read/processed whenever a dialing entry is chosen,
  1204.     just before MAGUUCP dials that number.  The only exception is the
  1205.     MAGUUCP.0 file which is read/processed upon startup.
  1206.     Script files are read in their entirety, one line at a time, until
  1207.     all lines are read.  Anything starting with the keywords 'whenever'
  1208.     or 'waitfor' are stored in memory.  All other statements are executed
  1209.     as they're read.  When the file is completed, the number is dialed.
  1210.  
  1211.     Script files are CASE SENSITIVE, and the following keywords MUST be
  1212.     entered in lowercase:
  1213.  
  1214.           ;        lines starting with a ; character are comments (ignored)
  1215.           whenever "string"   or   "string1&&string2"  or  "string1||string2"
  1216.           waitfor  "string"   or   "string1&&string2"  or  "string1||string2"
  1217.           send     "string"
  1218.           call     <alt-n>
  1219.           init     <alt-n>
  1220.           include  "d:\path\filename.ext"
  1221.           echo     "string"   local to screen only
  1222.           runpgm   "pgnmane.exe parms"[,HOW]      HOW: WAIT, NOWAIT, DETACH
  1223.           set case independent|dependent (for incoming whenever & waitfor)
  1224.           set uucp_protocol t            (UUCP protocol to use, default=g)
  1225.           set caller_hostname hostname   (UUCP name of YOUR system)
  1226.           set called_hostname hostname   (UUCP name of system you're CALLING)
  1227.           set workdir                    (work dir - must match Magnum work dir
  1228.                                           for use with UUCP only)
  1229.           set dldir                      (download dir for x/y/zmodem downloads
  1230.           set uucp_timeout n             (uucp inactivity timeout [n=minutes])
  1231.           set redialct nn [[exit] xx]    sets redial count (ie: set redialct 30
  1232.  
  1233.  
  1234.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1235.  
  1236.  
  1237.  
  1238.  Script Files                                                         Page  3-2
  1239.  Introduction
  1240.  
  1241.  
  1242.                                          the default (if not specified) is 30
  1243.                                          optional: if 'exit' specified pgm ends
  1244.                                                    with optional exit value xx
  1245.           set dialprefix string          sets dialprefix to string (no alpha)
  1246.           set dialsuffix string          sets dialsuffix to string (no alpha)
  1247.  
  1248.     All of the parms are strings within double quotes.  These quoted strings
  1249.     may also contain escape sequences:
  1250.  
  1251.           Uses the \ character as the beginning of an
  1252.           escape sequence.  If \\ appears, then a single
  1253.           \ character is sent.  If \ is followed by one
  1254.           or more digits (up to 3 digits maximum), then
  1255.           the ASCII character represented by the decimal
  1256.           value of the digits will be sent (ie: \13 will
  1257.           send a CR character.  If the \ is followed by
  1258.           a non-digit, that character will be sent.
  1259.           Furthermore, the each \~ sequence indicates a
  1260.           500 milisecond delay (ie: \~\~ is a 1 second delay).
  1261.  
  1262.     As of this writing, you may have up to 400 'whenever' and 'send' text
  1263.     lines, and up to 400 'waitfor' and 'send' text lines.  Each quoted
  1264.     string may not exceed 40 characters in length.
  1265.  
  1266.  ** NOTE: only 4 'whenever'/'send' and 4 'waitfor'/'send' text lines are
  1267.           allowed in the DEMO release.
  1268.  
  1269.     The call statement can be used in lieu of a 'send' statement.  The
  1270.     parameter to a call statement must be in the form of <alt-x> where 'x'
  1271.     is an alt-key command.  Note that < and > are used instead of double
  1272.     quote characters.  Multiple parms are separated with ; characters.
  1273.  
  1274.     The init statement is identical to the call statement except that it
  1275.     is executed immediately and not stored.  All init statements in a file
  1276.     are executed prior to storing the rest of the file.
  1277.  
  1278.     The include statement is of the format:    include "d:\path\filename.ext"
  1279.     and halts processing of the current script to 'include' the 'included'
  1280.     script file.  After the 'included' script is finished, processing
  1281.     continues with where it left off prior to the include.  Include's can
  1282.     be nested up to 20 levels (ie: main script can 'include' another script
  1283.     which can 'include' another, which can 'include' another, etc... up to
  1284.     20 times).
  1285.  
  1286.     The following is a working example of a script file used for calling
  1287.     Exec-pc (a popular BBS system in Milwaukee).  Assuming the dial entry
  1288.     is entry #5, then the following script would be in file MAGUUCP.5:
  1289.  
  1290.           set dldir e:\dldir\execpc
  1291.           whenever "CONNECT" send "\13"
  1292.           whenever "ANSI Color Graphics? (y/N) ->" send "y"
  1293.           waitfor "FIRST name ->" send "joe;smith;mypassword\13"
  1294.           waitfor "TOP Menu (?=HELP) ->" send ";f;e;n\13"
  1295.  
  1296.  
  1297.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1298.  
  1299.  
  1300.  
  1301.  Script Files                                                         Page  3-3
  1302.  Introduction
  1303.  
  1304.  
  1305.           whenever "Would you like to read bulletins now? (" send "n"
  1306.           whenever ">>More?" send "\13"
  1307.           whenever "NO CARRIER" call <Alt-R> s
  1308.  
  1309.      The following is an example of a script file to log you onto
  1310.      Compuserve:
  1311.  
  1312.           whenever "CONNECT" send "\3\13"
  1313.           waitfor "D:" send "22222,1111\13"
  1314.           waitfor "ssword:" send "mypassword\13"
  1315.  
  1316.      In many cases, a poor or noisy line can be corrected by forcing an AT&T
  1317.      line.  In the U.S., you can force an AT&T line by placing the following
  1318.      in your script file(s):
  1319.  
  1320.           set dialprefix 10288
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1361.  
  1362.  
  1363.  
  1364.  UUCP Communications Protocol                                         Page  4-1
  1365.  Introduction
  1366.  
  1367.  
  1368.  
  1369.  UUCP, which stands for "Unix to Unix Copy Program" is the communications
  1370.  protocol in which MAGUUCP and your Internet Service Provider (ISP) uses to
  1371.  perform Internet E-mail exchange (hence the name "MAG" [for Magnum] "UUCP"
  1372.  [for UUCP]).  In that the Internet is Unix based, UUCP has been the standard
  1373.  communications protocol for file (mail) exchange for a long time.  UUCP
  1374.  communications supports many different UUCP protocols, each of which is named
  1375.  after a single letter.  The UUCP protocols which MAGUUCP supports are: e, f,
  1376.  g, t, T, and y.
  1377.  NOTE: As of this writing, the g protocol is not yet fully operational, but
  1378.  should be with the next release.  The g protocol is the original (and
  1379.  standard) UUCP protocol, but for now you'll need to use one of the other
  1380.  protocols.
  1381.  The protocol which MAGUUCP uses can be specified as the uucp_protocol
  1382.  parameter in your script file(s) (explained later in this chapter).  Note that
  1383.  not all ISP's support all protocols (there are many), and neither does
  1384.  MAGUUCP.  Of the protocols MAGUUCP supports:
  1385.  
  1386.     e - No flow control or error checking; intended for networks providing
  1387.         reliable end-to-end connections.  Not tested as of this writing.
  1388.     f - A 7-bit streaming protocol; not flow controlled; originally intended
  1389.         for transmission over X.25 PAD links.  Tested as of this writing.
  1390.     g - Packet based, flow controlled error correcting protocol that requires
  1391.         an 8-bit clear connection; the original UUCP protocol and supported
  1392.         by all UUCP implementations.  Tested but not working correctly in
  1393.         MAGUUCP as of this writing.
  1394.     t - Intended for use on links which provide reliable end-to-end
  1395.         connections; no error checking or flow control; requires an 8-bit
  1396.         clear channel.  Tested and working correctly.
  1397.     T - Same as t but doesn't require a 'reliable' connection (used in
  1398.         Taylor UUCP v1.06).
  1399.     y - Packet based streaming protocol designed for communication lines
  1400.         which handle error correction and flow control; requires an 8-bit
  1401.         clean connection; performs error detection but not error correction:
  1402.         when an error is deteced, the line is dropped; efficient over a
  1403.         half-duplex communication line such as PEP.  Used in Taylor UUCP v1.06.
  1404.         Tested but has a few bugs as of this writing.
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1424.  
  1425.  
  1426.  
  1427.  UUCP Communications Protocol                                         Page  4-2
  1428.  Setting up a UUCP script file
  1429.  
  1430.  
  1431.  
  1432.  In that MAGUUCP is designed to be the UUCP interface between Magnum BBS
  1433.  systems and your ISP, we'll be covering Magnum BBS in this chapter as well.
  1434.  Magnum BBS is NOT a requirement for UUCP communications, and later on we'll
  1435.  show how you can use MAGUUCP for your own applications.
  1436.  
  1437.  To set up your Magnum BBS system for Internet E-mail capabilities, you
  1438.  must first have:
  1439.  
  1440.    1) An Internet Service Provider (we recommend "Info Access
  1441.       Technologies", also known as Holonet).  Voice: (510) 704-0160,
  1442.       Modem: (510) 704-1058.
  1443.  
  1444.    2) UUCP Domain Name Service (this takes about 3 weeks for your Internt
  1445.       Service Provider to set up).  UUCP Domain Name Service means that
  1446.       your BBS will be known as somename.com (for us, its gilmore.com).
  1447.       The users on your BBS will be known as someuser@somename.com (using
  1448.       our site as an example: joe@gilmore.com, susan@gilmore.com,
  1449.       postmaster@gilmore.com, etc).
  1450.  
  1451.  Once you have the above set up, you will now be able to implement the
  1452.  Internet E-mail capabilities of Magnum BBS as follows:
  1453.  
  1454.    0) If you're not using a Magnum BBS system, skip to step 9.
  1455.  
  1456.    1) First, you'll need the MAGUUCP.EXE program (this program).  This
  1457.       is NOT included with your Magnum BBS system and is available for
  1458.       purchase from Gilmore Systems.
  1459.  
  1460.    2) If you haven't set up an "OUTSIDE MAIL" account, you will need to
  1461.       log onto the system (from the console) using OUTSIDE for 'first
  1462.       name' and MAIL for 'last name' (don't use a middle name).  Once the
  1463.       system has added 'OUTSIDE MAIL' as a new user, log off!  Jot down
  1464.       the ID number for the new OUTSIDE MAIL account.
  1465.  
  1466.       NOTE: If you already have an OUTSIDE MAIL account set up, skip to
  1467.       step 3.
  1468.  
  1469.   2a) Log on as Sysop.  Go into the Sysop menu, USER Database Area.  Pull
  1470.       up the account for the OUTSIDE MAIL ID that you just created.
  1471.       Change the TYPE parm (2nd line from top of screen) to type O (O is
  1472.       for OUTSIDE MAIL).  Increase the security level to that which has
  1473.       access to all of the message bases and message areas that you wish
  1474.       this account to have access to.  Change the MSG_?_AREAS (near
  1475.       bottom of screen) accordingly.  If you have the Extended Msgbase
  1476.       module and are using MSG GROUPS, change the MSGGRP parm
  1477.       accordingly.
  1478.  
  1479.   2b) Shut down your BBS (* endnow) and edit all of your STARTUP.n files
  1480.       such that the OUTSIDE_MAIL_ID: parameter reflects the id number
  1481.       of this new OUTSIDE MAIL account.  Example: if your OUTSIDE MAIL
  1482.       account id is /1407, then you should provide this as the parm as
  1483.       follows:   OUTSIDE_MAIL_ID: /1407
  1484.  
  1485.  
  1486.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1487.  
  1488.  
  1489.  
  1490.  UUCP Communications Protocol                                         Page  4-3
  1491.  Setting up a UUCP script file
  1492.  
  1493.  
  1494.  
  1495.    3) Shut down your BBS (* endow) and edit all of your STARTUP.n files
  1496.       as follows (changing the following parms):
  1497.  
  1498.          INTERNET_DOMAIN_NAME: gilmore.com   (this will be YOUR domain
  1499.                                               name, like ibm.com or
  1500.                                               xyzcorp.com).
  1501.  
  1502.          INTERNET_TIMEZONE: PST              (PST=Pacific Standard Time,
  1503.                                               PDT=Pacific Daylight Time,
  1504.                                               EST=Eastern Standard Time,
  1505.                                               MDT=Mountain Daylight Time,
  1506.                                               CST=Central Standard Time,
  1507.                                               etc).
  1508.  
  1509.          ALLOW_OUTSIDE_MAIL: Y
  1510.  
  1511.  
  1512.       Save the changes and recompile the STARTUP files (makembbs.exe).
  1513.       Restart your BBS.
  1514.  
  1515.  
  1516.    4) Log on (* logon) as a new user using the account name EMAIL ACCOUNT
  1517.       (EMAIL for first name, ACCOUNT for last name).
  1518.       After this new account id is added, log off!
  1519.       Log on (* logon) As SYSOP (/0) and go into the Sysop Menu, USER
  1520.       Database Area.  Pull up the account for the id number of the
  1521.       EMAIL_ACCOUNT.
  1522.       Change the account TYPE (2nd line from type) to E (for E-MAIL).
  1523.       Change MSG_?_AREAS according to the areas you wish this account to
  1524.       have access to.  Change the MSGGRP (If you're using GROUPS and you
  1525.       have the Extended MsgBAse Module) accordinly if desired.
  1526.       IMPORTANT: Change the LEVEL (security level) to that of the
  1527.       security level of the SYSOP_MAIL_LVL parm in your STARTUP files.
  1528.       This is important because this account needs to be able to read
  1529.       PRIVATE mail (this is only allowed with a security level of what
  1530.       you have for SYSOP_MAIL_LVL or greater).  You can even give it a
  1531.       level to match that of the Sysop if you wish.  This is NOT a user
  1532.       account, its an EMAIL account!  Once the changes are made, log off.
  1533.  
  1534.    5) If you haven't done so already, set up MAGUUCP.EXE.  Make note of the
  1535.       directory name you're installing this program into (ie: d:\maguucp).
  1536.       NOTE: SEE STEP 9 (below) FOR OUR SETUP.
  1537.  
  1538.    6) In your PGM_DIR (ie: d:\magnum\pgm_dir), create a command file by
  1539.       the name of INTERNET.CMD with your text editor.  The contents of
  1540.       the file are:
  1541.  
  1542.           d:
  1543.           cd \magnum\pgm_dir
  1544.           d:\magnum\rje_dir\msglist mbbsinit.3 NNN * u y * * email.out e*
  1545.           cd \maguucp
  1546.           maguucp #NN
  1547.  
  1548.  
  1549.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1550.  
  1551.  
  1552.  
  1553.  UUCP Communications Protocol                                         Page  4-4
  1554.  Setting up a UUCP script file
  1555.  
  1556.  
  1557.           cd \magnum\pgm_dir
  1558.           emailin mbbsinit.3 NNN d:\magnum\ses_dir\email.prm
  1559.           echo N active >tmp.ace
  1560.           exit
  1561.  
  1562.     - In the above, the first line is the drive letter of the drive that
  1563.       your Magnum BBS is installed on (your \magnum\pgm_dir).
  1564.     - The second line changes the directory to your \magnum\pgm_dir.
  1565.     - The third line executes the msglist program.  The NNN parm should
  1566.       be the ID number (without the / character) of the OUTSIDE MAIL
  1567.       account that you created in step 2.  If your drive letter is not
  1568.       d:, change it to the drive letter that your \magnum\rje_dir is on.
  1569.       We're assuming that you're using node 3, therefore we've supplied
  1570.       mbbsinit.3 on this line.  Change the 3 to whatever node you'll be
  1571.       using for your MAGUUCP program.
  1572.     - The fourth line changes to the directory that you installed your
  1573.       MAGUUCP program in (assuming same drive letter as that of your
  1574.       Magnum system... if different, insert a line before this containing
  1575.       the driver letter that its on followed by a colon [ ie: c: ] ).
  1576.     - The fifth line invokes the MAGUUCP program to call your Internet
  1577.       Service Provider (replace the NN with the dialing directory entry
  1578.       for your Internet Service Provider; if its entry #4 for example,
  1579.       you'd supply: maguucp #4).  Make sure you've set up your script
  1580.       file for MAGUUCP.NN (or MAGUUCP.4 using our example) as provided
  1581.       in the MAGUUCP documentation.
  1582.     - The sixth line changes back to your \magnum\pgm_dir (assumes that
  1583.       your \magnum\pgm_dir is on the same drive as \maguucp; if it isn't
  1584.       insert a line containing the drive letter of your \magnum\pgm_dir
  1585.       followed by a colon [ ie: c: ] ).
  1586.     - The seventh line processes incoming email and places it in the
  1587.       proper areas of your Magnum BBS system.  Change the NNN to reflect
  1588.       the id number (just the number, no / character) of the OUTSIDE
  1589.       MAIL account (same as in line 3).  If the drive letter of your
  1590.       \magnum\ses_dir is not d:, change it to the drive letter that your
  1591.       \magnum\ses_dir is on.  Create the file EMAIL.PRM in your
  1592.       \magnum\ses_dir with the following contents:
  1593.           headers: n
  1594.           msgbase: 0
  1595.           area: a
  1596.       Where the 'headers:' parm can be one of N (no headers), Y (all
  1597.       headers), or P (partial headers).  If you choose N, incoming mail
  1598.       text will look like it always does.  If you choose Y, incoming mail
  1599.       text will include all of the headers including routing information
  1600.       of all the systems that the mail went through before arriving at
  1601.       your system.  If you chhose P, then all headers OTHER than routing
  1602.       information will be shown.
  1603.     - The eigth line restarts the node that was shut down (made inactive)
  1604.       in order to use the modem for MAGUUCP.  Replace the N with the node
  1605.       number of the node that was shut down (made inactive).
  1606.     - The ninth (last) line exits the command file.
  1607.  
  1608.    7) Modify your \magnum\pgm_dir\mbbs.ace file (or create it if you
  1609.       don't have one) with the following commands (we're going to use
  1610.  
  1611.  
  1612.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1613.  
  1614.  
  1615.  
  1616.  UUCP Communications Protocol                                         Page  4-5
  1617.  Setting up a UUCP script file
  1618.  
  1619.  
  1620.       node 3 for the node to be shut down in our example, you should
  1621.       replace this with the node number you wish to use for your system).
  1622.       We're also assuming that your system will be calling your Internet
  1623.       Service Provider at 02:00 (2 AM) every day:
  1624.  
  1625.           0123456,01:00,3 shutdown 02:00
  1626.           0123456,02:01,"start internet.cmd",nowait
  1627.  
  1628.       If you wish to have your system call more than once/day, duplicate
  1629.       the above two lines changing 01:00 to one hour before wishing to
  1630.       shut down the node, change 02:00 to the time you want the node
  1631.       shut down, change 02:01 to the time you want maguucp started.
  1632.  
  1633.    8) In your STARTUP files prior to step 3 above, if your parm to the
  1634.       ALLOW_OUTSIDE_MAIL was N, you'll need to write a .mex program to
  1635.       change the users in your USER database to allow them access to
  1636.       outside mail.  The .mex program should be created in your
  1637.       \magnum\pgm_dir with a name of UPDT.MEX (or something similar).
  1638.       The contents of the file would be:
  1639.  
  1640.           #CONFIG_FILE: mbbsinit.1
  1641.           #LOG_FILE: nul
  1642.           #DATABASE: user
  1643.  
  1644.           #START
  1645.  
  1646.           @outside_mail = true
  1647.  
  1648.           #STOP
  1649.  
  1650.       The above simple .mex program will change all users to allow them
  1651.       access to outside mail.  If you wish to have only a certain
  1652.       security level or higher to have access (say, level 100 for
  1653.       example), change the program statement (between #START and #STOP)
  1654.       to:
  1655.             if(@level >= 100) {
  1656.                @outside_mail = true
  1657.                }
  1658.  
  1659.       Run the program:   MBBSEXEC UPDT
  1660.  
  1661.  
  1662.    9) For setting up the MAGUUCP scripts, first make certain you've made
  1663.       a dialing directory entry for your Internet Service Provider.  Lets
  1664.       Assume this is entry #4.  Create the file MAGUUCP.4 in the same
  1665.       directory that your MAGUUCP.EXE program resides in.  The contents
  1666.       of MAGUUCP.4 will look similar to the following (assuming you're
  1667.       using Holonet as your Internet Service Provider):
  1668.  
  1669.           set caller_hostname gilmore
  1670.           set called_hostname holonet
  1671.           set workdir d:\magnum\work_dir\3
  1672.           set uucp_protocol g
  1673.  
  1674.  
  1675.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1676.  
  1677.  
  1678.  
  1679.  UUCP Communications Protocol                                         Page  4-6
  1680.  Setting up a UUCP script file
  1681.  
  1682.  
  1683.           whenever "CONNECT" send "\13\~\~holonet\13"
  1684.           whenever "HoloNet Member Name" send "cgilmore\13"
  1685.           waitfor "assword:" send "mypassword\13"
  1686.           waitfor "erminal" send "uucp\13"
  1687.  
  1688.     - In line one above, the caller_hostname is set to our UUCP domain
  1689.       name (without the .com).
  1690.     - The second line sets the called_hostname to holonet (the Internt
  1691.       Service Provider).
  1692.     - The third line matches the work_dir defined in the STARTUP.3 file
  1693.       because we've used mbbsinit.3 (the compiled startup.3 file) in our
  1694.       example in step 6 above.  All incoming and outgoing email temporary
  1695.       storage is held in this work directory.  NOTE: If not using Magnum
  1696.       BBS, supply any directory name in which you wish incoming/outgoing
  1697.       e-mail to be plaed in (make sure you create the directory first).
  1698.     - The fourth line sets the UUCP protocol to g.  Note that MAGUUCP
  1699.       currently has 6 of the UUCP protocols coded:
  1700.           e = not supported by Holonet, not tested as of this writing.
  1701.           f = supported by Holonet and nearly every other Internet
  1702.               Service Provider.  Tested.  Works well transmitting, flaky
  1703.               on receiving.
  1704.           g = the standard (and default) uucp protocol supported by all
  1705.               uucp packages.  Tested.
  1706.           t = supported by Holonet if using uucp-1.06 as your terminal
  1707.               type.  Tested.
  1708.           T = Same as t but for uucp versions less than 1.06 (ie: if you
  1709.               supply uucp as your terminal type instead of uucp-1.06).
  1710.               Note that uucp-1.06 works with Holonet, but may not work
  1711.               with other providers.  If you have a different provider,
  1712.               use uucp instead of uucp-1.06.  Tested.
  1713.           y = Supported by Holonet using uucp-1.06.  There are bugs with
  1714.               this protocol as of this writing (this is a NEW protocol,
  1715.               so your provider may not support this yet).
  1716.       Note that when we refer to uucp-1.06 above, it refers specifically
  1717.       to a UUCP implementation known as Taylor UUCP v1.06.
  1718.     - The fifth line looks for the CONNECT string from your modem (make
  1719.       sure you're using Verbose modem codes [ ie: AT V1 ] ) and sends
  1720.       holonet as the name to connect to.  This line is not needed if
  1721.       you're calling Holonet directly at their Berkely, CA number.  It
  1722.       is needed if you're calling via a local access telephone number.
  1723.     - The sixth line answers the "Holonet Member Name" prompt with
  1724.       cgilmore.  Change this to your member name (your Internet Service
  1725.       Provider will provide you with one).
  1726.     - The seventh line answers the "password" prompt with your password.
  1727.       Change the mypassword string to your password.  Note that the
  1728.       beginning P of Password is intentionally absent because it may
  1729.       appear in upper or lowercase, and we need to match this exactly.
  1730.     - The eigth (last) line answers the "terminal" prompt with the type
  1731.       of terminal you wish.  Note that the beginning T of Terminal is
  1732.       intentionally absent because it may appear in upper or lowercase,
  1733.       and we need to match this exactly.
  1734.  
  1735.       The rest will be automatically handled by MAGUUCP.
  1736.  
  1737.  
  1738.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1739.  
  1740.  
  1741.  
  1742.  UUCP Communications Protocol                                         Page  4-7
  1743.  Setting up a UUCP script file
  1744.  
  1745.  
  1746.  
  1747.       For those using Magnum BBS: when MAGUUCP finishes, the INTERNET.CMD
  1748.       file which started it will then start the EMAILIN.EXE program to
  1749.       process the incoming mail.
  1750.  
  1751.       IMPORTANT: Once a UUCP session has been established, MAGUUCP will
  1752.                  exit (terminate) once finished, or if carrier is dropped.
  1753.                  This is not true of any other connection.  This is done
  1754.                  such that a .CMD file that called MAGUUCP can continue
  1755.                  with the next command in the .CMD file.
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1802.  
  1803.  
  1804.  
  1805.  Format of MAGUUCP's e-mail (technical)                               Page  5-1
  1806.  Introduction
  1807.  
  1808.  
  1809.  
  1810.  This section reveals the technical specifications which MAGUUCP uses for
  1811.  Internet E-mail.  This will allow you to write applications that can supply
  1812.  MAGUUCP with outgoing e-mail and process incoming e-mail using MAGUUCP as
  1813.  the transport mechanism.  This section is intended only for programmers
  1814.  who wish to use MAGUUCP as the interface (such as uucico under Unix).  Anyone
  1815.  who's tried to use a UUCP package will appreciate how easy MAGUUCP is to use
  1816.  and set up, and will readily appreciate the simple format in which MAGUUCP
  1817.  uses to process mail to/from your ISP.
  1818.  
  1819.  If you're a programmer wishing to write a mail system but doesn't know the
  1820.  first thing about data communications (and doesn't want to, or just doesn't
  1821.  want to deal with the communications headaches), then this section is for you!
  1822.  All other readers are welcome to peruse this section but it is not required.
  1823.  
  1824.  The format that we've devloped was designed to work with the lowest common
  1825.  denominator in file system naming conventions: FAT (this file format is what's
  1826.  used by DOS, and can be used by Windows, OS/2 and other file systems).  FAT is
  1827.  an 8.3 (eight character filename, a period, and three character extension) for
  1828.  a total of 12 characters maximum per filename.  Unix systems use 14-character
  1829.  filenames.  The format we've developed will work with all file systems in that
  1830.  all of the filenames are contained within one file (email.out) as described on
  1831.  the next page, hence 14-character filenames are no restriction on FAT systems.
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1865.  
  1866.  
  1867.  
  1868.  Format of MAGUUCP's e-mail (technical)                               Page  5-2
  1869.  Input E-mail file to MAGUUCP
  1870.  
  1871.  
  1872.  
  1873.  The input e-mail file is named EMAIL.OUT (extension of .OUT because its
  1874.  OUTGOING from your computer, but input to MAGUUCP).  Any e-mail you wish to
  1875.  send thru the Internet via MAGUUCP must be contained within this file.  Note
  1876.  that this file is expected to be found (if it exists) in the "workdir" parm of
  1877.  your maguucp.xx script file.  The format of the file is:
  1878.  
  1879.     0x03C.mmddhhmmsshh          - That's hex 3 (binary 3, or <ctrl-c> followed
  1880.                                   by the letter C, a period (.), then the
  1881.                                   following naming convention: mmddhhmmsshh,
  1882.                                   which breaks down into:
  1883.                                     mm - current month at time of entry
  1884.                                     dd - current day at time of entry
  1885.                                     hh - current hour
  1886.                                     mm - current minutes
  1887.                                     ss - current seconds
  1888.                                     hh - current hundredths of seconds
  1889.  
  1890.     S D.mmddhhmmsshh D.mmddhhmmsshh sender - D.mmddhhmmsshh 0666
  1891.  
  1892.                                  - where "S " is a given (unchangeable),
  1893.                                    D.mmddhhmmsshh matches mmddhhmmsshh
  1894.                                       from the previous line,
  1895.                                    D.mmddhhmmsshh (the 2nd one) has a unique
  1896.                                       last digit (the last 'h'), our algorithm
  1897.                                       is to use alpha letters (ie: 0 becomes A,
  1898.                                       1 becomes B, 2 becomes, C, ... 9 becomes
  1899.                                       J).
  1900.                                    sender is the name of the person who's
  1901.                                       sending this message (without the @
  1902.                                       or anything to the right of it).
  1903.                                    -  the '-' character MUST be present, and
  1904.                                       must be preced and succeeded by a space
  1905.                                       character.
  1906.                                    D.mmddhhmmsshh (the 3rd one) matches the
  1907.                                       first one on the line.
  1908.                                    0666 must be present.
  1909.  
  1910.     0x03D.mmddhhmmsshh          - That's hex 3 (binary 3, or <ctrl-c> followed
  1911.                                   by the letter D, a period (.), and the rest
  1912.                                   is should match the name of the first line.
  1913.  
  1914.     The rest is the Internet E-mail message header (no blank lines so far),
  1915.     via Example:
  1916.  
  1917.         From cgilmore, Mon 05Feb1996 18:04:17 PST
  1918.         Received: by gilmore.com (Magnum BBS/Internet Processor v8.08B33)
  1919.                   Mon, 05 Feb 1996 18:04:17 PST
  1920.         Date: Mon, 5 Feb 96 18:02:05 PST
  1921.         From: "Chuck B Gilmore" <cgilmore@gilmore.com>
  1922.         Message-ID: <0.E2051043.A15.cgilmore@gilmore.com>
  1923.         Organization: Gilmore Systems -Home of MAGNUM OS/2 BBS
  1924.         To: susan@xyzcorp.com
  1925.  
  1926.  
  1927.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1928.  
  1929.  
  1930.  
  1931.  Format of MAGUUCP's e-mail (technical)                               Page  5-3
  1932.  Input E-mail file to MAGUUCP
  1933.  
  1934.  
  1935.         Subject: HI!
  1936.  
  1937.     and now the message text (a blank line separates the headers from the
  1938.     message text):
  1939.  
  1940.         Hello there Susan, this is a test e-mail message being sent to you
  1941.         from me.  Let me know how the weather is today!
  1942.  
  1943.         - Chuck
  1944.  
  1945.     For a more detailed description of the Internet E-mail headers, visit your
  1946.     local bookstore for a good book on the subject (or ask your ISP for the RFC
  1947.     document pertaining to Internet E-mail internals).  It is beyond the scope
  1948.     of this manual to cover Internet E-mail message format.
  1949.  
  1950.     Continuing on, the next line is the same as the first line:
  1951.  
  1952.         0x03C.mmddhhmmssyy      (note that the first m of mm in this line
  1953.                                   should be be incremented by 4 (a 0 becomes
  1954.                                   a 1, and a 1 becomes a 2).
  1955.  
  1956.         S D.mmddhhmmsshh X.mmddhhmmsshh sender - D.mmddhhmmssyy 0666
  1957.                                 All of the mmddhhmmssyy are identical to the
  1958.                                 above mmddhhmmssyy except that the 2nd one's
  1959.                                 last digit is changed to alpha as in the
  1960.                                 previous example.  Note that the 2nd
  1961.                                 mmddhhmmsshh is preced by X.
  1962.  
  1963.         0x03X.mmddhhmmssyy      (hex 3 first, followed by X.mmddhhmmssyy
  1964.                                   where mmddhhmmssyy matches the first
  1965.                                   mmddhhmmssyy in the previous line.
  1966.  
  1967.         U cgilmore gilmore         (U sender, uucp name)
  1968.         F D.mmddhhmmssyy           (F filename [matches 2nd mmddhhmmssyy above)
  1969.         I D.mmddhhmmssyy           (I filename [matches above]
  1970.         Z                          (static)
  1971.         R cgilmore@gilmore.uucp    (note .uucp instead of .com)
  1972.         C rmail susan@xyzcorp.com  (who to send to)
  1973.  
  1974.  The above completes one E-mail message stored and ready for input to MAGUUCP.
  1975.  To send more, simply append to this file using the same format as above (get a
  1976.  new mmddhhmmssyy for each message).
  1977.  
  1978.  Here's a working example of what an EMAIL.OUT file with two messages to send
  1979.  might look like:
  1980.  
  1981.        <Ctrl-C>C.020518041765
  1982.        S D.020518041765 D.02051804176F cgilmore - D.020518041765 0666
  1983.        <Ctrl-C>D.020518041765
  1984.        From cgilmore, Mon 05Feb1996 18:04:17 PST
  1985.        Received: by gilmore.com (Magnum BBS/Internet Processor v8.08B33)
  1986.                  Mon, 05 Feb 1996 18:04:17 PST
  1987.        Date: Mon, 5 Feb 96 18:02:05 PST
  1988.  
  1989.  
  1990.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  1991.  
  1992.  
  1993.  
  1994.  Format of MAGUUCP's e-mail (technical)                               Page  5-4
  1995.  Input E-mail file to MAGUUCP
  1996.  
  1997.  
  1998.        From: "Chuck B Gilmore" <cgilmore@gilmore.com>
  1999.        Message-ID: <0.E2051043.A15.cgilmore@gilmore.com>
  2000.        Organization: Gilmore Systems -Home of MAGNUM OS/2 BBS
  2001.        To: susan@xyzcorp.com
  2002.        Subject: HI!
  2003.  
  2004.        Hello there Susan, this is a test e-mail message being sent to you
  2005.        from me.  Let me know how the weather is today!
  2006.  
  2007.        - Chuck
  2008.        <Ctrl-C>C.420518041765
  2009.        S D.420518041765 X.42051804176F cgilmore - D.420518041765 0666
  2010.        <Ctrl-C>X.420518041765
  2011.        U cgilmore gilmore.com
  2012.        F D.42051804176F
  2013.        I D.42051804176F
  2014.        Z
  2015.        R cgilmore@gilmore.uucp
  2016.        C rmail susan@xyzcorp.com
  2017.        <Ctrl-C>C.020518041806
  2018.        S D.020518041806 D.02051804180G cgilmore - D.020518041806 0666
  2019.        <Ctrl-C>D.020518041806
  2020.        From cgilmore Mon, 05 Feb 1996 18:04:18 PST remote from gilmore
  2021.        Received: by gilmore.com (Magnum BBS/Internet Processor v8.08B33);
  2022.                  Mon, 05 Feb 1996 18:04:18 PST
  2023.        Date: Mon, 5 Feb 96 18:02:08 PST
  2024.        From: "Chuck B Gilmore" <cgilmore@gilmore.com>
  2025.        Message-ID: <0.E2051043.A38.cgilmore@gilmore.com>
  2026.        Organization: Gilmore Systems -Home of MAGNUM OS/2 BBS
  2027.        To: info@someplace.com
  2028.        Subject: INFO REQUEST
  2029.  
  2030.        Information request please...
  2031.        <Ctrl-C>C.420518041806
  2032.        S D.420518041806 X.42051804180G cgilmore - D.420518041806 0666
  2033.        <Ctrl-C>X.420518041806
  2034.        U cgilmore gilmore
  2035.        F D.42051804180G
  2036.        I D.42051804180G
  2037.        Z
  2038.        R cgilmore@gilmore.uucp
  2039.        C rmail info@someplace.com
  2040.  
  2041.  If a 3rd (or subsequent message) were to be present, repeat the same format
  2042.  for the third message.  No limit on how many messages can be sent or placed
  2043.  in the EMAIL.OUT file.
  2044.  
  2045.  Note that if your application runs again prior to MAGUUCP processing the
  2046.  EMAIL.OUT file, your application should append to this file!
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  2054.  
  2055.  
  2056.  
  2057.  Format of MAGUUCP's e-mail (technical)                               Page  5-5
  2058.  Output E-mail file from MAGUUCP
  2059.  
  2060.  
  2061.  
  2062.   The output e-mail file is named EMAIL.IN (extension of .IN because its
  2063.   INCOMING from your ISP to your system via MAGUUCP).  Any e-mail received will
  2064.   be placed in this file, and has been designed to be used on any file system
  2065.   including FAT.  If any incoming mail is received, this file will exist with
  2066.   a length (file size) greater than 0 and will be found in the "workdir" parm o
  2067.   your maguucp.xx script file.  The format of the file is (via working example
  2068.   with 2 incoming messages):
  2069.  
  2070.         <Ctrl-C>C
  2071.         S D.0Ea5 D.holonet50EA5 daemon - D.0Ea5 0666 cgilmore@gilmore.com
  2072.         d:\magnum\work_dir\3\$223109$.047
  2073.         <Ctrl-C>C
  2074.         S D.X0EAE X.holonetN0EAE daemon - D.X0EAE 0666 cgilmore@gilmore.com
  2075.         d:\magnum\work_dir\3\$223113$.065
  2076.         <Ctrl-C>C
  2077.         S D.0EA8 D.holonet50EA8 daemon - D.0eA8 0666 cgilmore@gilmore.com
  2078.         d:\magnum\work_dir\3\$223117$.050
  2079.         <Ctrl-C>C
  2080.         S D.X0EAF X.holonetN0EAF daemon - D.X0EAF 0666 cgilmore@gilmoer.com
  2081.         d:\magnum\work_dir\3\$223121$.00i
  2082.  
  2083.   Every 6 lines comprise an incoming message.  The first line is a hex 3
  2084.   followed by C (<Ctrl-C>C).  This indicates that the next line will be the
  2085.   UUCP "S " command as it came in.  The next (2rd) line is the UUCP "S "
  2086.   command as it came in.  All you really need to scan that line for is
  2087.   whether or not there's an "X." within the line... if there isn't, its the
  2088.   message text file (with header info), otherwise its a UUCP "X." file.
  2089.   The next line (3rd line) is a filename in which the message header and
  2090.   text is stored.
  2091.   The 4th line is another <Ctrl-C> indicating that the next line is a UUCP
  2092.   "S " line.  The 5th line is the UUCP "S " command as it came in (scan for
  2093.   " X." within the file to ensure that its a UUCP X file.  The 6th line is
  2094.   the filename of where the X commands for the previous file (message text
  2095.   file) is stored.
  2096.   Any additional lines: repeat the above procedure for each group of 6 lines.
  2097.   If the 3rd line of any group of 6 lines contains the string " news ", then th
  2098.   file is a news file and not an e-mail file (have your program act accordingly
  2099.   as news can be batched, compressed, or both).
  2100.   After processing each group of 6 lines, the 2 input files (message and X file
  2101.   should be closed and deleted prior to processing the next group of 6 lines.
  2102.   If your program doesn't process the EMAIL.IN file prior to the next time
  2103.   MAGUUCP receives more mail, MAGUUCP will append to the existing file (it will
  2104.   create the file if it doesn't exist).
  2105.  
  2106.   Its beyond the scope of this manual to cover UUCP "S " commands and X files,
  2107.   but this implementation has made it quite easy.  In the X file, your
  2108.   application should search for a line containing "C rmail ", becuase the name
  2109.   following this (ie: C rmail john) is who the message is addressed to (ie: if
  2110.   your domain name is xyz.com, then mail would be sent to john@xyz.com).
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  2117.  
  2118.  
  2119.  
  2120.  Order Form for Commercial Release of MAGUUCP v3.00C                  Page  6-1
  2121.  
  2122.  
  2123.                       "MAGUUCP v3.00C for OS/2" Order Form
  2124.                       ------------------------------------
  2125.             Complete the form, and mail it with your remittance to:
  2126.  
  2127.                                 Gilmore Systems
  2128.                                 7354 Rubio Ave.
  2129.                           Van Nuys, CA 91406 - U.S.A.
  2130.                                      - OR -
  2131.           Fax the form with credit card information to: (818) 782-2093
  2132.                                      - OR -
  2133.               Place your order with us by phone at: (818) 782-1870
  2134.                                      - OR-
  2135.      Place your order via credit card ONLINE on our BBS at: (818) 782-6290
  2136.  ------------------------------------------------------------------------------
  2137.  
  2138.  Quantity  Product Description                              Price      Total
  2139.  --------  -----------------------------------------------  --------   --------
  2140.  
  2141.    ___     MAGUUCP v3.00C for OS/2                          $ 40.00    ________
  2142.  
  2143.    ___     Shipping/Handling (U.S.=$3, Canada=$4, Other=$5) ________   ________
  2144.  
  2145.    ___     Sales Tax (California Destinations Only)         ________   ________
  2146.  
  2147.                                                             TOTAL:   $ ________
  2148.  
  2149.  
  2150.  ========================================================
  2151.  Ship To:                                               < Be certain to fill
  2152.                                                         < in the "Ship To"
  2153.                                                         < Information!!
  2154.                                                         <
  2155.                                                         < PURCHASE ORDERS:
  2156.                                                         < U.S.-based companies
  2157.  ======================================================== w/ Dunn & Bradstreet
  2158.                                                           number ONLY!
  2159.  
  2160.                                 Telephone Number: ____________________________
  2161.  
  2162.                           ----------------------------
  2163.                           For Credit Card Orders Only:
  2164.                           ----------------------------
  2165.  
  2166.  Check One:   ____ VISA    ____ MASTERCARD    ____ AMERICAN EXPRESS
  2167.  
  2168.  
  2169.  Card Number: ______________________________________ Expiration Date: _________
  2170.  
  2171.  
  2172.  Your (CardHolder) Name: ______________________________ Today's Date: _________
  2173.  
  2174.  
  2175.  Signature of CardHolder: _____________________________________________________
  2176.  
  2177.  
  2178.  
  2179.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  2180.  
  2181.  
  2182.  
  2183.  Distribution Rights & Source Code Licensing                          Page  7-1
  2184.  
  2185.  
  2186.                               Distribution Rights
  2187.                               -------------------
  2188.  
  2189.  You may NOT license, sell, bundle, transfer or otherwise distribute this
  2190.  program without obtaining a license to do so from Gilmore Systems.
  2191.  A distribution license will be issued to you provided you pay the one-time
  2192.  Distribution Licensing fee.  This fee varies depending on the information
  2193.  you supply us with (contact us for information on licensing fees).
  2194.  
  2195.                              Source Code Licensing
  2196.                              ---------------------
  2197.  
  2198.  Source code licensing is available provided you PRE PAY (no purchase orders)
  2199.  the license fee (order form on next page) and SIGN the nondisclosure agreement
  2200.  on the two pages following the order form.  Return all three pages to Gilmore
  2201.  Systems with your remittance and signature.
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  2243.  
  2244.  
  2245.  
  2246.  Distribution Rights & Source Code Licensing                          Page  7-2
  2247.  
  2248.  
  2249.                    Source Code Licensing Order Form (MAGUUCP)
  2250.                    ------------------------------------------
  2251.  
  2252.  NOTE: Non-Disclosure agreement on next two pages MUST accompany your order or
  2253.        it will NOT be processed!  Payment in U.S. funds ONLY!
  2254.  
  2255.  
  2256.     I am placing an order for source code licensing to MAGUUCP software from
  2257.     Gilmore Systems.  I am enclosing the signed 2-page non-disclosure
  2258.     agreement, along with $100 remittance (plus shipping and any sales
  2259.     taxes) by: (check one)
  2260.  
  2261.                  ___ Check or other bank draft in U.S. dollars
  2262.  
  2263.                  ___ Cash
  2264.  
  2265.                  ___ Visa / MasterCard
  2266.  
  2267.                  ___ EuroCard
  2268.  
  2269.                  ___ American Express (or Optima)
  2270.  
  2271.      Licensing Fee............................................. $ 100.00
  2272.  
  2273.      Shipping/Handling (U.S. = $3, Canada = $4, others = $6)... $ ______
  2274.  
  2275.      Sales Tax (California Destinations Only).................. $ ______
  2276.  
  2277.                                                          Total: $ ______
  2278.  
  2279.      Ship To: ________________________________________
  2280.  
  2281.               ________________________________________
  2282.  
  2283.               ________________________________________
  2284.  
  2285.               ________________________________________
  2286.  
  2287.               ________________________________________
  2288.  
  2289.      Daytime Phone# (include area code):  __________________________
  2290.  
  2291.  
  2292.      This section for Credit Card orders ONLY:
  2293.  
  2294.  
  2295.  Card Number: __________________________________ Expiration Date: _________
  2296.  
  2297.  Your (CardHolder) Name: __________________________ Today's Date: _________
  2298.  
  2299.  Signature of CardHolder: _________________________________________________
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  2306.  
  2307.  
  2308.  
  2309.  Distribution Rights & Source Code Licensing                          Page  7-3
  2310.  
  2311.  
  2312.                              NON-DISCLOSURE AGREEMENT
  2313.  
  2314.      This document by and between Gilmore Systems (hereinafter referred to as
  2315.      LICENSOR) and _________________________________ (hereinafter referred to
  2316.      as LICENSEE) shall serve as a contractual agreement between LICENSOR and
  2317.      LICENSEE for the source code modules of LICENSOR's "MAGUUCP" software.
  2318.  
  2319.      Upon receipt of the $ 100 licensing fee and receipt of this signed
  2320.      agreement from LICENSEE to LICENSOR, LICENSOR will provide on diskette
  2321.      to LICENSEE an AS IS copy of the v3.00c source code of the "MAGUUCP"
  2322.      software, and a copy of this executed agreement.
  2323.  
  2324.      Copyright, Trademark, Ownership, Distribution, Marketing and all other
  2325.      rights are retained by LICENSOR.  LICENSEE does not become an owner of
  2326.      the software, source code, or related materials.  This paragraph shall
  2327.      remain effective regardless of changes or modifications made by LICENSEE
  2328.      to the source code.
  2329.  
  2330.      LICENSOR's sole responsibilites are as follows:
  2331.  
  2332.      1.0 - LICENSOR shall provide LICENSEE with an AS IS copy of source
  2333.            code to the above module(s) on a sealed diskette for version 3.00c
  2334.            of the software.
  2335.      1.1 - Should the diskette prove to be defective, LICENSOR shall provide
  2336.            LICENSEE with another copy of the materials on a replacement
  2337.            diskette.
  2338.  
  2339.      LICENSEE's responsibilities are as follows:
  2340.  
  2341.      2.0 - LICENSEE may make ONE copy of the source code contained on
  2342.            diskette for backup purposes.
  2343.      2.1 - LICENSEE will not disclose, reveal, transmit, transport, copy,
  2344.            store in a retrieval system, print, or otherwise transport the
  2345.            source code in whole or in part (physically, electronically,
  2346.            digitally, mechanically, electromagnetically or otherwise) outside
  2347.            of the physical constraints of the office space of LICENSEE.
  2348.      2.2 - LICENSEE will not alter, remove or obscure LICENSOR's copyright
  2349.            or trademark notices.
  2350.      2.3 - Any changes to the source code by LICENSEE for production use
  2351.            will be conveyed to users/callers with the following statement
  2352.            in the do_logo() function:
  2353.                    COMPILED CHANGES MADE UNDER LICENSE AGREEMENT
  2354.                    WITH GILMORE SYSTEMS
  2355.      2.4 - LICENSEE is responsible for obtaining a compiler suitable for
  2356.            compiling the supplied source code (ie: Microsoft C v6.00A).
  2357.      2.5 - LICENSEE will make every effort to keep source code from being
  2358.            subject to theft, retrieval, or otherwise transported from the
  2359.            physical restraints of LICENSOR's office space.
  2360.      2.6 - LICENSEE will not rent, lease, sub-license or otherwise transfer
  2361.            the source code.
  2362.      2.7 - LICENSEE will not produce or compile 3rd-party or add-on programs
  2363.            for "MAGUUCP" compiled from any source code containing any of
  2364.            LICENSEE's provided source code (either in whole or in part).
  2365.      2.8 - LICENSEE is not currently engaged in, and will not become engaged
  2366.  
  2367.  
  2368.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  2369.  
  2370.  
  2371.  
  2372.  Distribution Rights & Source Code Licensing                          Page  7-4
  2373.  
  2374.  
  2375.            in the business of writing, marketing, or otherwise distributing
  2376.            telecommunications software while this agreement is in effect.
  2377.      2.9 - In the event LICENSEE becomes engaged in writing, marketing, or
  2378.            otherwise distributing telecommunications software, LICENSEE
  2379.            will notify LICENSOR in writing that it is terminating this
  2380.            agreement.  LICENSEE must accompany the written notification with
  2381.            the original software diskette containing the source code, along
  2382.            with any changes made to the source code, and will immediately
  2383.            destroy any and all copies or partial copies of any source code
  2384.            obtained from LICENSEE.  Furthermore, LICENSEE may not market,
  2385.            sell or otherwise distribute or release host telecommunications
  2386.            programs for a period of one year from the date of termination.
  2387.      2.10- LICENSOR may offer distribution rights for any compiled changes
  2388.            to "MAGUUCP" for an additional fee.  LICENSEE should contact
  2389.            LICENSOR to obtain a DISTRIBUTION RIGHTS agreement and current
  2390.            fee structure.
  2391.  
  2392.  GENERAL:
  2393.  
  2394.  3.0 - Either party may terminate this agreement at any time by serving
  2395.        written communication upon the other party.  Any termination requires
  2396.        LICENSEE to return to LICENSOR the the original software diskette
  2397.        containing the source code, along with any changes made to the source
  2398.        code, and LICENSEE will immediately destroy any and all copies or
  2399.        partial copies of any source code obtained from LICENSEE.
  2400.        Furthermore, LICENSEE may not market, sell or otherwise distribute or
  2401.        release any host telecommunications programs for a period of one year
  2402.        from the date of termination.
  2403.  3.1 - LICENSOR shall not be held responsible for any damages (ie: loss of
  2404.        profit, machine or file system damage, loss of data, loss of time,
  2405.        or any other consequential or inconsequential damages) resulting from
  2406.        the use or misuse of supplied source code.
  2407.  3.2 - This agreement shall be effective indefinitely or until written
  2408.        termination is served from one party to the other.
  2409.  3.3 - LICENSEE may obtain a refund by returning the unopened, sealed
  2410.        diskette packaging within 3 days of receipt, accompanied by a written
  2411.        termination letter.
  2412.  3.4 - No refund shall be made after 3 days of delivery to LICENSEE's office
  2413.        address.  No refund shall be made if the sealed diskette packaging has
  2414.        been broken.
  2415.  3.5 - Should any part of this agreement prove to be illegal or unenforceable
  2416.        by law, only that portion of the agreement shall become null and void
  2417.        but shall in no way effect the legality of the remaining terms,
  2418.        conditions and provisions of the agreement.
  2419.  3.6 - This agreement shall be governed by California law.
  2420.  
  2421.  
  2422.  
  2423.      LICENSEE: _____________________________      DATE: ______________
  2424.  
  2425.  
  2426.  
  2427.      LICENSOR: _____________________________      DATE: ______________
  2428.                Gilmore Systems
  2429.  
  2430.  
  2431.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  2432.  
  2433.  
  2434.  
  2435.  Thank You                                                            Page  7-6
  2436.  
  2437.  
  2438.  
  2439.  Thank you for using MAGUUCP communications software for OS/2. Your feedback
  2440.  about this program is welcome.  Simply dial our BBS with it and leave us a
  2441.  message (or [C]omment to Sysop), or e-mail us: postmaster@gilmore.com
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.        MAGUUCP Communications for OS/2 - (C)Copyright 1989,1996 Gilmore Systems
  2495.  
  2496.