home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / XGRP_000.SZH / SNDHELP.C < prev    next >
C/C++ Source or Header  |  1991-08-22  |  5KB  |  109 lines

  1. #include <stdlib.h>
  2. #include <stdio.h>
  3.  
  4.  
  5.  
  6. void _fastcall send_help (void) {
  7.  
  8.     printf("\nUsage:  XGROUP [configfile] [command]\n\n"
  9.            "[configfile] defaults to XGROUP.CTL and must be included\n"
  10.            "if passing a [command]\n\n"
  11.            "Valid [command]s:\n"
  12.            " E (xport only)\n"
  13.            " I (mport only)\n"
  14.            " C (leanup only)\n"
  15.            " A (ll of the above) (default)\n"
  16.            " M (ake Update Requests)\n"
  17.            " P (artially moderated group export okay)\n"
  18.            " F (ully moderated group export okay)\n"
  19.            " NE (no echoes)\n"
  20.            " NG (no groups)\n"
  21.            " ? (print this help\n"
  22.            "\n   Examples:\n"
  23.            "\nXGROUP ALTCFG.CTL E F"
  24.            "\nXGROUP XGROUP.CTL NE E\n"
  25.            "\nConfiguration file keywords/data:\n"
  26.            "GROUPOUT  <drive:/directory>\n"
  27.            "GROUPIN   <drive:/directory>\n"
  28.            "GROUPHOLD <drive:/directory>\n"
  29.            "INBOUND   <drive:/directory>\n"
  30.            "OUTBOUND  <drive:/directory>\n"
  31.            "MSGDIR    <drive:/directory>\n"
  32.            "MESSAGES  <drive:/directory for *.MSGs (if req'd by TONAME entry)\n"
  33.            "LOGFILE   <drive:/directory/filename>\n"
  34.            "ADDRESS   <FTN address(es)>\n"
  35.            "ARCHIVE   <create archive command>\n"
  36.            "UNARCHIVE <extract archive command>\n"
  37.            "NETAREA   <# of netmail area>\n"
  38.            "PACKSIZE  <# bytes at which to compress msgs>\n"
  39.            "XBBSOS2   (OS/2 & HPFS only)\n"
  40.            "ROUTE     <mask> <type> <FTN address or SAME> <archive command>\n"
  41.            "          (OS/2 & HPFS only)\n"
  42.            "PRIORITY  <#> <#> (OS/2 only)\n"
  43.            "NOTINY\n"
  44.            "NOFORWARD\n"
  45.            "NOLOCALFORWARD\n"
  46.            "FORWARDFILES\n"
  47.            "MAXDUPES <# of dupe recs/echo area to keep (8 bytes ea.)>\n"
  48.            "NODUPES\n"
  49.            "KEEPPATH\n"
  50.            "KEEPSEENBYS\n"
  51.            "KEEPDUPES\n"
  52.            "KILLBADDATES\n"
  53.            "ALLOWBADAREAS\n"
  54.            "TONAME <\"to name\"> <ROUTE or PROG (OS/2 only) or MSG> [FTN address or prgname]\n"
  55.            "ECHO      <tag> <#> <FTN address(es)>\n"
  56.            "GROUP     <id> <#> <numdays> <FTN address or !topstar option>\n"
  57.            " (Topstar options:  [F]ully moderated, [P]artially moderated, [N]o moderation\n"
  58.            "  (only use first letter)).\n\n  Examples:\n\n"
  59.            "GROUP XBBS     7  1:380/100.0@Fidonet\n"
  60.            "GROUP MOJO     25 !N ;we're the topstar for this one\n"
  61.            "ECHO  UGH      12 1:380/100.0@Fidonet 1:380/20.0@Fidonet\n"
  62.            "ECHO  SCHWARTZ 32 2:4177/1.0@Fidonet 1:380/16.12@Fidonet\n"
  63.            "TONAME \"AREAFIX\" MSG\n"
  64.            "TONAME \"John Doe\" ROUTE 1:380/16.65500@Fidonet\n"
  65.            "ROUTE  1.380.*.*.FIDONET Crash SAME ARC A\n"
  66.            "ROUTE  *.*.*.*.* Hold 1:2/3.4@Fivenet ARC A\n"
  67.            "MAXDUPES 8150\n"
  68.            "PRIORITY 1 31\n");
  69.     printf("\nNote that for Binkley-style outbounds, outbound names for\n"
  70.            "secondary domains are constructed by using the \"root\"\n"
  71.            "of your OUTBOUND directory concatenated with the domain name.\n"
  72.            "For example, if your OUTBOUND is \"C:\\BT\\OUT\" and your primary\n"
  73.            "address is 1:100/100.0@Fidonet, a message to 69:69/69.0@Dufusnet\n"
  74.            "would be placed into \"C:\\BT\\DUFUSNET.045\".  All directories\n"
  75.            "for zones other than your primary zone will be created as required.\n"
  76.            "\nXBBS-OS/2 avoids all this confusion (and utilizes all available\n"
  77.            "outbound numbers) by using long filenames on HPFS drives (the message\n"
  78.            "to Dufusnet would go into the OUTBOUND directory as\n"
  79.            "\"P.69.69.69.0.Dufusnet\").\n");
  80. }
  81.  
  82.  
  83.  
  84. /*
  85.  
  86. Intentionally undocumented commands:
  87.  
  88.     Command line:
  89.  
  90.     R (escan) <FTN address> <echotag> [<startat>]
  91.         Performs a rescan of echo <echotag> for address <FTN address>
  92.         USE ONLY WITH EXTREME CAUTION!  You can easily create a load
  93.         of dupes.  Seenbys and PATHs will likely be gone, and definitely
  94.         not "properly" updated.  Be sure the receiver can handle it
  95.         correctly and not cause dupes on his end.  BE SURE.
  96.  
  97.     S
  98.         Don't use asshole files to abort import even if asshole so marked
  99.         (Delete asshole)
  100.  
  101.     X
  102.         Don't export assholes marked Delete ('ware the policy complaints)
  103.  
  104.     Config file:
  105.  
  106.         None
  107.  
  108. */
  109.