RGXfer v1.39 for 32-bit Windows                        NewWave Software
=========================================================================

RGXfer is a Free Pascal clone of Internet Rex 2.29 (Khan Software, 2001)
rebuilt around a modern binkp/1.1 engine.  It looks and runs like Rex:
the same configuration program menus and windows, the same mailer
screens, log format, command line, events and semaphores, but it talks
binkp to today's binkd (tested against binkd 1.1a-115) and to other
RGXfer systems.

Scope: the BinkP mailer core of Rex.  Rex's email, FTP, news gateway,
SMTP/POP3/finger/ident servers, RexFix, TransX, encryption and file
bundling are not part of RGXfer, and their menus and settings have been
removed, so every option you see does something.

UPGRADING FROM RGMAIL
---------------------
 RGXfer is the new name of RGMAIL.  Put the new files in your RGMAIL
 directory: on the first start RGXFER.CFG, RGXSTAT.CFG and route.rgx are
 copied from RGMAIL.CFG, RGMSTAT.CFG and route.rgm.  Update batch files
 and events that call RGMAIL.EXE or RGMCFG.EXE, and any scripts that
 touch semaphores: they are now rgxbusy.0, rgxup.#, rgxsleep.now and
 rgxexit.now.

FILES
-----
  RGXFER.EXE      The mailer (Rex's REXW.EXE).
  RGXCFG.EXE      The configuration program (Rex's REXCFGW.EXE).
  IREX2RGX.EXE    Converts an Internet Rex 2.29 or 2.31 setup.
  RGXFER.CFG      Configuration, written by RGXCFG (plain text).
  RGXSTAT.CFG     Node statistics and event "last run" times (written
                  by RGXfer so it never has to rewrite RGXFER.CFG).
  RGXFER.DOC      Operator's manual (also the F1 help in RGXCFG - keep
                  it next to RGXCFG.EXE).
  RGXFER.SMP      Sample configuration.
  ROUTE.SMP       Sample route.rgx (copy to route.rgx).
  ALIAS.SMP       Sample FREQ alias (magic name) file.
  DIRS.SMP        Sample FREQ directories file.
  HISTORY.TXT     Change history.
  RGX.ANS         The RGXfer logo (ANSI).
  NODES.SMP       Sample nodes.rgx: nodes for an event to poll.
  FILE_ID.DIZ     Archive description.

COMING FROM INTERNET REX
------------------------
 Run IREX2RGX in your Rex directory (or give it the path):

    IREX2RGX C:\REX C:\RGXfer

 It reads GENERAL.REX, NODES.REX, EVENTS.REX and SERVER.REX and writes
 RGXFER.CFG and RGXSTAT.CFG (node statistics) in the second directory
 (default: where IREX2RGX.EXE is).  An existing RGXFER.CFG is kept as
 RGXFER.BAK.  Converted: general information, behaviour, all paths,
 front end mailer, file requests, addresses, AKAs, zone matching,
 domains, socket timeout, partial purge, logging, the BinkP daemon,
 every node (BinkP site, hours, timeout, block size, NR/CRC/CRAM,
 passwords, mailbox, packet type, secure, active, crash all,
 statistics) and every event.
 ROUTE.REX is copied to route.rgx.  Anything RGXfer doesn't have (email,
 FTP, TransX nodes, other daemons) is listed at the end.
 Your Rex files are only read, never changed.  Then run RGXCFG to check.

QUICK START
-----------
 1. Run RGXCFG.
 2. General information: sysop name, system name, location, flags.
    Set User level to Expert to see every option.
 3. Files, paths & programs -> RGXfer files and paths: log file, queue,
    holding and semaphore directories (the semaphore directory is needed
    for daemon mode).
 4. Files, paths & programs -> Frontend mailer setup: "Binkley and
    compatible" for a BSO outbound (binkd, Husky, etc.), or "FrontDoor
    (up to 2.20) and compatible" for a *.MSG-only setup.  Fill in the
    netmail, inbound, secure inbound and outbound directories.
 5. Address manager: your main address and AKAs.  Zone matching: which
    AKA to use for each zone.  Domain setup: map zones to domains
    (fidonet = 1-6), or set a default domain per node.
 6. Node manager: Ins, enter the node's address, sysop, then rotate
    "Outbound messages" to "Toss to a BinkP site" and Configure the
    site's address (host[:port]).  Set "Inbound messages" to "Toss from
    a BinkP site" to pick up mail.  Connection information holds the
    session password and the "Secure connection" flag.
 7. Server config: "Run BinkP daemon" Yes to answer calls in daemon mode.
    Connecting to the net: socket timeout and partial purge delay.
 8. Event manager: e.g. tag A, all days, 00:00, repeat 01:00, "-sf".
 9. Escape out and save.

Then:
    RGXfer -send -fetch          one mail run (same as RGXfer -sf)
    RGXfer -fetch 1:342/806      call one node
    RGXfer -send binkp x2:*      send to all BinkP nodes except zone 2
    RGXfer                       stay resident, run events, answer calls
                                 (same as RGXfer -daemon)
    RGXfer -nodaemon             one -send -fetch run, then exit

BUILDING
--------
 Free Pascal 3.2.x, target i386-win32 (works for x86_64-win64 too).
 Only the standard FPC units are used (RTL, winsock2, md5).
    BUILD.BAT            (on Windows, with fpc in the PATH)
 builds RGXFER.EXE, RGXCFG.EXE and IREX2RGX.EXE.
    ./build.sh           (Linux cross compiler, see the script)
    sh build-linux.sh    (native Linux: rgxfer, rgxcfg, irex2rgx)

PROTOCOL SUPPORT
----------------
 binkp/1.0 (FTS-1026), CRAM-MD5 (FTS-1027), NR mode (FTS-1028),
 multiple batches / binkp 1.1 (FTS-1029), CRC checking (OPT CRC, used
 when both ends offer it), resume of interrupted transfers, file
 requests (.REQ, FTS-0006 syntax), BSO busy flags, M_BSY when all
 daemon threads are busy.  Not implemented: GZ/BZ2 compression (EXTCMD),
 ND/NDA, CRYPT.

DIFFERENCES FROM INTERNET REX
-----------------------------
 * Name, version and copyright lines read RGXfer / NewWave Software
   (constants in RXCFG.PAS).
 * Configuration is a text file (RGXFER.CFG), not Rex's binary .REX files.
 * Selectable color schemes and per-item text/background colors
   (Behaviour / Colors and appearance in RGXCFG).
 * Options for Rex features that RGXfer doesn't implement are removed
   from the menus and from RGXFER.CFG.
 * Help (F1) uses RGXfer's own short help texts.

NewWave Software
