home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / cbbs_415.lzh / CBBS / CBBS.lzh / docs / readme < prev    next >
Text File  |  1990-12-05  |  61KB  |  1,514 lines

  1.  
  2.              CBBS V6.71b for the AMIGA (Kickstart V1.3)
  3.                                VE5VA 7-Nov-90
  4.  
  5.       This program  is  basically  a CBBS 6.71 version of the W0RLI BBS.  It
  6.  was  originally  put together for the IBM-XT by K3RLI, AG3F and others.  It
  7.  is  written  in  the 'C' programming language which made it fairly easy for
  8.  me  to  port to the AMIGA because I have been using C since 1974.  However,
  9.  it  has had to be modified somewhat to make it work on the AMIGA.  Versions
  10.  6.1e  and  later  have  also  had  modifications added to make CBBS talk to
  11.  THEBOX  (a BBS very common in Germany).  It has been used extensively on an
  12.  AMIGA  with  the  V1.3  Kickstart. It starts up and appears to work OK with
  13.  Kickstart  V1.2  but  has  not been tested extensively.  It will work  on a
  14.  system with 512K of memory.  
  15.  
  16.       I have  run  it  on  a  single  floppy  drive,  although that required
  17.  limiting  the  number of files on the BBS. With such limited disk space you
  18.  will  only  be  able  to  handle  transfer of mail rather than running as a
  19.  full-blown  BBS.  But  if you have a hard drive you can run a full-size BBS
  20.  with  this program.  If you are already familiar with the CBBS or W0RLI (or
  21.  even  MBL)  systems  you  should  have little trouble getting this thing to
  22.  go.  
  23.  
  24.       You MUST  be able to use the CLI and an editor in order to set the BBS
  25.  up properly.  
  26.  
  27.       I have  only  used  the  BBS  with a KAM and an old TAPR TNC1 with the
  28.  upgrade  to  TNC2  V1.1.6,  but there should be no problem running this BBS
  29.  with  others  such as GLB, PK232, PACCOMM etc. provided that they are TNC-2
  30.  compatible  (if you are running one of these, read the info below about the
  31.  problems  with  the  TAPR  V1.1.6  just  in  case  they apply to you).  The
  32.  program  will permit KAM users to run one HF and one VHF port. It will only
  33.  allow  connects from one side at a time but forwarding and logins to HF and
  34.  VHF  can  be accomplished. For other TNCs you are stuck with running either
  35.  VHF  or HF at any one time. I have not been able to modify the code so that
  36.  it will handle multiple simultaneous connections.  
  37.  
  38.       I have  done very little to customize the program for the amiga ... no
  39.  menus  etc. There are two reasons for this. First, it's a lot of work and I
  40.  don't  feel  like doing it. The source is here and compiles with MANX 5.0d,
  41.  help  yourself! Second, there are other CBBS and W0RLI systems around which
  42.  run  on  IBM  and  other disgusting machines. They all use the same command
  43.  structure  so  if  you  can run the amiga BBS, you can run IBM etc.. But if
  44.  the  commands  are all buried in menus you won't be able to switch to other
  45.  machines.  Not  a  big  deal but another justification for me to leave well
  46.  alone.  
  47.  
  48.       The only  concession  to the amiga environment was to provide a window
  49.  title  when  the BBS comes up. Clicking on the top-left 'close' gadget will
  50.  make  the  BBS  shut  itself down in the same way as the 'Q' command except
  51.  that  it  does  not  ask  you  if  you  are  sure you want to terminate the
  52.  program.  The two numbers in the title separated by a slash are the highest
  53.  message  number  and  the number of active messages. In earlier versions of
  54.  CBBS  the  number  of  active  messages  was  exactly  that,  the number of
  55.  messages  you  would see if you asked the BBS to list every mail message it
  56.  had.  But  in  V6  this number also includes the number of messages created
  57.  and  deleted  since  the  last  'GM'  command.   It also creates a new mail
  58.  header  for  each  message  or  bulletin received even if it is rejected by
  59.  CBBS  and  these  are  also counted even though they don't contain a useful
  60.  message.   So  if the number of messages listed is way less than the number
  61.  in the title bar, it's time to do a 'GM' command to clean up.  
  62.  
  63.  
  64.  
  65.  
  66.       I have  not  explicitly  modified  the  program  to  take advantage of
  67.  available  ram:.  But  look  at the tnc.on file. When the program starts it
  68.  dumps  the  tnc.on file into your TNC to initialize its parameters. It also
  69.  allows  you to put CLI commands in that same file and you can, for example,
  70.  set  up  your  config.mb  file so that help.mb, info.mb, user.dat, mail.dat
  71.  and  other  files are specified as being in a ram: directory.  CLI commands
  72.  must  then be put into 'tnc.on' to actually copy the files into ram: as the
  73.  program  starts  up.  Thus, you don't need to load the files into ram: as a
  74.  separate  operation  before  the  BBS starts up.  Your forwarding files can
  75.  also  be modified so that after a regular forwarding operation or after the
  76.  regular  console 'forward', the system copies mail.dat and user.dat back to
  77.  disk.   (help.mb  and  info.mb are not modified by CBBS so they do not have
  78.  to  be  saved  back to disk).  If you do this, you will also have to modify
  79.  tnc.off  so  that  it  saves  the  files  when  the bbs is shutdown and you
  80.  should  also  be  cautious that shutting the bbs down before the ram: files
  81.  are  saved  could  leave  the bbs files in an indeterminate state.  Putting
  82.  the  files  in ram: really speeds up the operation of the bbs especially if
  83.  you  are  only  using floppy drives.  It also significantly speeds up other
  84.  operations  such  as  untangling  the  mail  file and user files (GM and GU
  85.  commands).  It  is  safest  to  specify  that the backup files mail.bak and
  86.  user.bak are still on disk. Just in case.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.                  IF YOU ALREADY HAVE V6.6 or V6.5 INSTALLED
  129.  
  130.       If you  are  currently  using V6.6 then there are just two changes for
  131.  you  to  make.  Copy  the  file  df1:cbbs/mb  off this disk to replace your
  132.  existing mb program.  
  133.  
  134.       Then copy   df1:cbbs/files/help.mb  off  this  disk  to  replace  your
  135.  existing help.mb file.  
  136.  
  137.       There are  no  major changes to the file structure and the system will
  138.  run  as  it  did  with  V6.6  without any changes. However, there are a few
  139.  features  added  in  V6.71 that are made available when you turn on options
  140.  in  the config.mb file. Read the new manual.bbs Section 2.1 about automatic
  141.  purging  of bulletins to see what these changes are. Read the file notes.67
  142.  to see a summary of the changes from V6.6 to V6.71a.  
  143.  
  144.       That should  be  all  that  is  required  to  upgrade  the  program to
  145.  V6.71a.  
  146.  
  147.       I have   fixed   a   bug  that  I  introduced  into  V6.  CBBS  should
  148.  automatically  rename the log file at the end of each month and start a new
  149.  one  for  you.   I forgot to copy this code into V6 and so it didn't do it.
  150.  The  code  is  now present and your log file should now be renamed properly
  151.  as stated in the manual.bbs file.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.          IF YOU ALREADY HAVE V6.1 INSTALLED (but not V6.6 or V6.5).
  192.  
  193.       If you  have  already been running a previous version of CBBS, such as
  194.  V6.1f  then  the  installation  of  V6.71a will be easy for you.  There are
  195.  three  changes  to  make.   First,  replace your current executable mailbox
  196.  program  (mb)  with  the  one  on this disk, df1:cbbs/mb.  Second, you must
  197.  make  one  change  to your config.mb file. The V6.5 (and earlier) config.mb
  198.  file requires one extra line as shown here: 
  199.  
  200.  ram:files/BID.MB
  201.  ram:files/CALLS.MB
  202.  files/states.mb            <<<---   ADD This line here
  203.  20
  204.  YES 14
  205.  
  206.       I have  shown  a  couple  of  extra  lines around the one that must be
  207.  added  for  context  so  you  can find where it goes in the config.mb file.
  208.  This  line  tells  CBBS  where  to  find  a  file  that  helps  it  resolve
  209.  hierarchical addresses. If the file does not exist then CBBS ignores it.  
  210.  
  211.       The states.mb  file  is included in the V6.6 (and later) distributions
  212.  but I don't know much about it. You do not have to use it.  
  213.  
  214.       The third  and  last  change  is  to  copy  the  new help.mb file from
  215.  df1:cbbs/files/help.mb to replace your old version.  
  216.  
  217.       Having done these three things, you are ready to start up V6.71a 
  218.  
  219.       Read the  commands section of the MANUAL.BBS file on df1:. There are a
  220.  few  changes  to  the  commands but none of them are major, and any changes
  221.  that  I  made  to  CBBS  V6.1  have  been  put into V6.71a unless they were
  222.  already incorporated into the V6.71a distribution itself.  
  223.  
  224.       Also read  the  new section 2.1 in the manual.bbs file so that you can
  225.  take advantage of the automatic purging of bulletins.  
  226.  
  227.  
  228.  
  229.             FOR A NEW INSTALLATION OF CBBS - READ THIS PROCEDURE.
  230.  
  231.  ** Make a few backups of this disk!!!!! 
  232.  
  233.  ** Print  out  this readme file, the manual.bbs file and the config.mb file
  234.     which  is  in  the  'cbbs'  directory.  If  you aren't familiar with BBS
  235.     systems  at  all  then read manual.bbs first very carefully. As you read
  236.     through  it,  it  will  help to have the copy of the config.mb file with
  237.     you.   But remember as you read it that it was intended for users of IBM
  238.     machines  so  some references to things like DESQVIEW (ignore all of Ch.
  239.     8!)and  windows  etc.  are irrelevant to you. (The IBM concept of window
  240.     mentioned  in  the  manual is not the same as an AMIGA window and should
  241.     be ignored).  You should then read through the rest of this file.  
  242.  
  243.  ** If  you are going to use just this disk as the BBS then you will have to
  244.     clean  up the space on it. Further, if you have only one disk drive then
  245.     you  are  going  to have to change this disk so that it can be booted. I
  246.     haven't  tried  that at all but it can be done.  Make a few backups, and
  247.     then  you can delete vt100.doc, manual.bbs, the readme files, everything
  248.     in  the  src  directory  if  you  don't want it online, and if there are
  249.     commands in the c directory you won't use, then remove them too.  
  250.  
  251.  
  252.  
  253.  
  254.  ** The  TNC  MUST be wired up for HARDWARE HANDSHAKING.  If your TNC is not
  255.     currently  wired  for  hardware  handshaking  then do it NOW.  My KAM is
  256.     wired as follows: 
  257.  
  258.     KAM Pin     AMIGA
  259.        2          2
  260.        3          3
  261.        4          4
  262.        5          5
  263.        7          7
  264.                 6-8-20 (all jumpered together on AMIGA side only)
  265.  
  266.  
  267.  ** Before  you  start  up  the  BBS  the TNC PARITY MUST be set to NONE (or
  268.     SPACE).  On  my  KAM  no  parity  is "PAR 4" (and space is "PAR 3"). Any
  269.     other  parity  setting  will  not work. You can use the vt100 program on
  270.     this  disk  to talk to the TNC to set the parity before you start up the
  271.     BBS.  When you use the Vt100 program make sure that it is using the same
  272.     baudrate  as  your  TNC  or  you'll  just  get  garbage  on your screen.
  273.     (Thanks  are  due to Frank, DF3UM, who suffered through this problem and
  274.     brought it to light for me).  
  275.  
  276.          There is  a  nasty  problem  with TNC1s that have the TAPR V1.1.5/6
  277.     upgrade.   The  manual states that setting PAR to 0 or 2 means parity is
  278.     set  to  none,  but  it  actually forces the parity bit to a one all the
  279.     time  (i.e.  'mark'  parity).   The  BBS  expects parity to be forced to
  280.     zero.  To  get  around this you can specify the '-t' flag when you start
  281.     up  the BBS and the BBS software will strip the high order bit off every
  282.     character  that  it  receives  from  the  TNC. This means you cannot use
  283.     transparent mode even if I get it working in a future release.  
  284.  
  285.  ** Your TNC  must have  the command already set: 
  286.  
  287.     users 1  (on the KAM  'users 1/1')
  288.  
  289.     so  that  the  BBS will only permit one user at a time to connect to the
  290.     BBS.   The  BBS  does  a 'conok off' whenever someone connects but it is
  291.     safest  to  make  sure  that  nobody  else  can  get in with the 'users'
  292.     command.  Your TNC should also have the command: 
  293.  
  294.     autolf off
  295.  
  296.     This  command  is  not  essential  but  it  does  make the screen output
  297.     clearer.  All of these commands can be put into the tnc.on file.  
  298.  
  299.  ** It  is  safest  not  to use the 'runback' command when starting up CBBS.
  300.     If  CBBS  is started up this way then it will definitely crash the AMIGA
  301.     if  you  try  to  do  a  '!' command in CBBS. The best thing to do is to
  302.     start  it  with  the  'run'  command  from  the  CLI or from within your
  303.     df0:s/startup-sequence command file at reboot time.  
  304.  
  305.          Here's part of my startup-sequence file: 
  306.  
  307.     newcli  con:400/10/240/70/
  308.     newcli  con:400/80/240/70/
  309.     if exists df1:cbbs/mb
  310.     cd df1:cbbs
  311.     mb
  312.     endif
  313.  
  314.  
  315.  
  316.  
  317.          This creates  two  CLIs  for  me and then if I have my CBBS disk in
  318.     drive  one  it  also  starts up CBBS for me.  The extra CLIs can then be
  319.     used  to  edit  files or whatever else you want to do while CBBS runs in
  320.     the  background. This start up procedure will leave the window for CLI 1
  321.     open  until  you  terminate CBBS. The only problem this may cause you is
  322.     that  the window takes up memory. You can always use the mouse to change
  323.     the window to as small a size as possible.  
  324.  
  325.  ** The  manual refers to use of transparent mode. I haven't implemented the
  326.     necessary  stuff yet. DON'T USE IT. It definitely won't work if you have
  327.     to turn off the 8th data bit with the '-t' flag.  
  328.  
  329.  ** You  MUST edit the configuration file config.mb. There are two places in
  330.     it  (obviously  marked)  where  you must put your callsign and one where
  331.     you  must  put  your QTH. NOTE also that there is one place where a line
  332.     generates  the current time in a message that is being forwarded. At the
  333.     moment  the  timezone  printed  out  is CST. If you are not using CST on
  334.     your  amiga you'll have to find the line and change CST to your timezone
  335.     (or Z if you run your beast on UTC).  The line looks like this: 
  336.  
  337.     R:$J/$KCST $M@$O [$Q]
  338.            ^^^  Change this if necessary.
  339.  
  340.     The  structure  of  this  disk corresponds to the config.mb file but you
  341.     can  change  it if you wish. If you have a hard drive you will certainly
  342.     want  to have CBBS use that instead of a floppy. You can also set up the
  343.     config.mb  file  so  that it will use two (or three) floppies instead of
  344.     one  (i.e.  you can spread the BBS directories across two or more drives
  345.     to   spread  out  the  load).   Unfortunately,  there  is  currently  no
  346.     mechanism  for  spreading mail messages across two or more floppy drives
  347.     - they must all be in the one directory.  
  348.  
  349.          I have  changed  the  remote  sysop  password  scheme  in the amiga
  350.     version.   It  is  described  later,  but you should change the existing
  351.     example  password, which is at the end of the config.mb file, or replace
  352.     it  with  one line containing a  single zero if you don't want to permit
  353.     remote sysop.  
  354.  
  355.  ** DON'T  change  the  port designators for the TNC and console terminal in
  356.     the  config.mb  file.   They  MUST  be  'A'  (the TNC) and 'L' (console)
  357.     respectively.   Any  other  port  designators  are  ignored and so are a
  358.     waste of space.  
  359.  
  360.  ** When  the  program starts up it looks for the file fwd.mb to define what
  361.     it  does for forwarding files. This file will have to be edited.  I have
  362.     left  parts  of my forwarding files here for you to look at as examples.
  363.     As  distributed,  fwd.mb  contains just enough to forward to VE5OP which
  364.     is  our  local  BBS  on  vhf.  NOTE  that  there  is a |a as part of the
  365.     connection  string. This is only required if you have a KAM to force the
  366.     forwarding  onto  VHF.  Similarly,  there are a few files (20m.fwd etc.)
  367.     that  do  forwarding on HF and have a ~a in them.  If you aren't running
  368.     a  KAM you must edit these out of the files as you'll only have one port
  369.     to  use  anyway,  in  which  case  delete the two characters |a or ~a as
  370.     appropriate.   Notice  also  that some of the TNC commands have a '/' in
  371.     them.   These  are  specific to the KAM since many of its commands apply
  372.     to  the  HF  and VHF ports. Such commands are specified as, for example,
  373.     'retry  10/5',  which sets the retry parameter to 10 for HF and to 5 for
  374.     VHF.  Similarly,  the  command  'retry  10/' sets the HF retry to 10 but
  375.     leaves the VHF retry as it is.  
  376.  
  377.  
  378.  
  379.  
  380.          You can  make  CBBS  use  a forwarding file other than fwd.mb after
  381.     the  BBS  comes  up  by using the 'YF filename' command. I often use 'YF
  382.     20m.fwd'  to  change  from VHF-only forwarding to HF and VHF forwarding.
  383.     The  HF forwarding is here as an example ONLY.  It won't work on the air
  384.     for  you  unless  KC0TA has entered you in his user file as a BBS.  Note
  385.     that  the  20m.fwd  file  refers  to  several  other  files,  and  these
  386.     sometimes  refer  onwards to yet others.  The reason for this is to keep
  387.     the  forwarding  info easy to manage (really!). Also, the file ve5op.via
  388.     contains  an example of passing traffic by connecting to an intermediate
  389.     KA-NODE.  Near the end of this file I have added a couple of examples of
  390.     how to work out what should be in a forwarding file.  
  391.  
  392.  ** When  the  program  starts  up it looks for the file 'tnc.on' which need
  393.     not  exist  but  if  it  doesn't  your  TNC  had  better  be  configured
  394.     properly.   If  you  are  going  to  use it, you MUST edit it to make it
  395.     conform  to  your  configuration.  If you aren't going to use it, delete
  396.     it.   The tnc.on file can contain comment lines (lines beginning with #)
  397.     which  are ignored, and CLI commands (lines beginning with !). All other
  398.     lines  are assumed to be commands to the TNC and are sent out the serial
  399.     port.  The tnc.on file contained on this disk contains a lot of comments
  400.     about  what it can do.  Some commands that could be in here are those to
  401.     force  on  hardware  handshaking  and any other TNC parameters useful to
  402.     the  BBS.  Even  if you only use the TNC with the BBS (and therefore you
  403.     never  change  the parameters) it can help to have them 'softwired' into
  404.     this  file  'just  in  case'.  You could, for example, put EVERY command
  405.     your  TNC  understands  in  here so that if the TNC ever gets scrambled,
  406.     just restarting the BBS will restore it's sanity.  
  407.  
  408.          I have  commented  out  those  commands specific to the KAM. If you
  409.     have  a  KAM,  edit  them  back in by removing the comment symbol at the
  410.     beginning of each TNC command line.  
  411.  
  412.          For TAPR upgraded TNC1s you MUST have the two commands: 
  413.  
  414.     newmode off
  415.     nomode  off
  416.  
  417.     in  the  tnc.on  file  because this is the ONLY combination of these two
  418.     commands  that  will  work  properly.   This is not exactly what the BBS
  419.     needs  but  is  as close as the TNC can get.  It works fine for the BBS.
  420.     The  only  place  it  might  cause  you  problems is if you use the 'TA'
  421.     command  and  connect  to  a station. On the disconnect the TNC stays in
  422.     convers  mode  so  you  MUST remember to type '^C' (CTRL-C) to force the
  423.     TNC  back  into  command  mode  before  you type '^E' to get back to the
  424.     SYSOP prompt.  
  425.  
  426.          In the KAM these commands are set to: 
  427.  
  428.     newmode on
  429.     nomode  off
  430.  
  431.     For  other  TNCs these commands should be set to whatever will cause the
  432.     TNC  to return to command mode on a disconnect and to go to convers mode
  433.     when  a  connection has been established. If your TNC won't do this then
  434.     it is almost certain that the BBS won't work properly.  
  435.  
  436.  ** For  TAPR  TNC1s  and  upgrades it is best to be sure of forcing the TNC
  437.     into  hardware  handshake  mode  by  specifying  all  of  the  following
  438.     commands in the tnc.on file: 
  439.  
  440.  
  441.  
  442.  
  443.     start 0
  444.     stop 0
  445.     trflow off
  446.     txflow off
  447.  
  448.  ** When  you  terminate  CBBS, the last thing it does just before it closes
  449.     the  serial  port  and  the  window  is  to send the content of the file
  450.     'tnc.off'  to the TNC if the file exists.  The structure of this file is
  451.     the  same  as  for  tnc.on  and  may also contain comments, CLI commands
  452.     and/or  TNC  commands.   You  MUST  edit this file to make it conform to
  453.     your  configuration  or  delete  it  if  you don't want anything done at
  454.     shutdown.   If,  for  example,  you have set up the bbs to keep user.dat
  455.     and  mail.dat  in  ram:,  then  this  file  should  contain the commands
  456.     necessary  to write them back to disk before the program exits.  You can
  457.     also  add  TNC  commands  such as the 'btext' command with a text saying
  458.     that the BBS is off the air.  
  459.  
  460.  ** The  AMIGA  has only one serial port (or at least my A-1000 does) and so
  461.     the  gateway commands have been removed from the program.  They are only
  462.     useful  if you have multiple serial ports, each with a TNC.  If you have
  463.     a KAM, it'll gateway for you anyway! 
  464.  
  465.  ** The  A,  AH, AI and user C commands have all been removed from the amiga
  466.     version.  
  467.  
  468.  ** The  'J'  commands  have  been  modified to print out the date that each
  469.     call was seen as well as the time.  
  470.  
  471.  ** A  'KL' command has been added for the sysop only. It kills a sequential
  472.     list of messages but it will not kill traffic messages. For example: 
  473.  
  474.     KL 103 117
  475.  
  476.          will kill  all  non-traffic messages between message number 103 and
  477.     117  inclusive.  The BBS asks if you are sure before proceeding. In V6.5
  478.     and  later,  the distributed IBM version added the ability to give up to
  479.     four  separate  message  numbers to be killed to the 'K' command. So you
  480.     could give the command: 
  481.  
  482.     K 5 198 435 897
  483.  
  484.          and this  will  delete  only  message numbers 5, 198, 435, and 897.
  485.     The  KL  command  was added at the request of Frank DF3UM who has a hard
  486.     drive and sometimes must kill a large number of sequential messages.  
  487.  
  488.  ** The   'L'   command   has   been  modified  to  allow the user to search
  489.     for  titles   that   contain  a  specified substring. The user may add a
  490.     quoted  string   to  any  'L'  command  and the command is then modified
  491.     to  print  those  that  also  contain  the  string  in  their title. For
  492.     example, 
  493.  
  494.      LL 10
  495.  prints the last 10 messages, but: 
  496.  
  497.      LL 10 "amiga"
  498.  
  499.     prints   the   last   10   messages  that  have  the word "amiga" in the
  500.     title.   The  quoted  string  may contain spaces if necessary. The sysop
  501.     can also add the ';' modifier after a quoted string. For example, 
  502.  
  503.  
  504.  
  505.  
  506.      L@ amsat "microsat" ;
  507.  will  print   any   amsat  bulletins that have the word "microsat" in their
  508.     title and the BID and other information will also be printed.  
  509.  
  510.  ** The  documentation  in  manual.bbs  does  not  explain  the  'M' command
  511.     adequately.  The  'M'  works exactly like the 'S' command except that it
  512.     requires  the  name of a text file as the SECOND argument on the command
  513.     line.  This allows you to mail a single text file to a user or to create
  514.     a bulletin from a text file. For example: 
  515.  
  516.     mb all ram:text @ amsat #10
  517.  
  518.     will  create  a  bulletin in the same way as the command 'sb all @ amsat
  519.     #10'  except that the text for the bulletin will be copied from the file
  520.     'ram:text'.  
  521.  
  522.  ** The  next  FIVE  changes,  described below, are optional. By default the
  523.     system  has  these  four  options  turned  ON and will use them. But the
  524.     sysop  can  turn any of them OFF by including a command in the config.mb
  525.     file.  In  either of the port description lines (i.e. for port A or port
  526.     L)  you  can  include  a descriptor of the form #a where 'a' is a letter
  527.     corresponding  to  the  option  you  want  to  turn OFF. For example, my
  528.     current port 'L' descriptor line is: 
  529.  
  530.     LCE      300 10 600 100 10 0 27 8  0
  531.  
  532.          If I  wanted  to  turn option B off then I would include #B in this
  533.     line: 
  534.  
  535.     LCE#B    300 10 600 100 10 0 27 8  0
  536.  
  537.  ** OPTION  A.  I  have  made  a  change  to  the  way that this BBS handles
  538.     bulletins  which  is  NOT in the standard CBBS. In order for this BBS to
  539.     ACCEPT  a  bulletin from another system there MUST first exist a file in
  540.     the  msgs  directory  (Note  that  the  name  'msgs' is specified in the
  541.     config.mb  file  and  can  be  changed if you wish).  If for example you
  542.     want  to receive ALLUS bulletins then there MUST be an ALLUS.dis file in
  543.     the  msgs  directory.  If  no  such file exists then the program doesn't
  544.     even  check  the  BID, it just says "NO - Don't want it".  This can save
  545.     you  from  being  inundated  with  bulletins you don't want from another
  546.     BBS.  This has happened to me, and with my limited disk space it doesn't
  547.     take  too  many  ALLUS  bulletins before all my disk space is gone! Note
  548.     that  in  order  to FORWARD a bulletin to another system you must have a
  549.     corresponding  .dis file anyway, but my change requires the .dis file to
  550.     ACCEPT a bulletin as well.  
  551.  
  552.          The content  of  the  .dis file is a list of the callsigns (one per
  553.     line)  of  those systems that you will forward that type of bulletin to.
  554.     It  does  not  have  to  contain  the  name of the systems that you will
  555.     accept  the  bulletin  from.   If  you  only receive bulletins and don't
  556.     forward  them,  just  put  the name 'hold' in the .dis file, as is shown
  557.     in the example .dis files on this disk.  
  558.  
  559.          This option  can  be  turned  OFF  by  including  #A  in  the  port
  560.     descriptor.   If  this  is  done  then  the BBS will accept any bulletin
  561.     provided it doesn't already have it.  
  562.  
  563.  ** OPTION  B.  There  is also a change to the way the BBS handles mail.  If
  564.     the  BBS  receives mail addressed to someone who is in the USER.DAT file
  565.     then  the  BBS  overrides  the  @BBS  field in the message with the @BBS
  566.  
  567.  
  568.  
  569.     field  from  the  user  file. This will occur whether the message is one
  570.     you  typed  in  yourself  or  from  a  logged  in  user, or even in mail
  571.     forwarded  from  another system. The assumption here is that if the user
  572.     is  in  your  user list then the @BBS field is more likely to be correct
  573.     than  any  mail  from outside. If the mail is addressed to a user who is
  574.     not  in  the  user  file then the @BBS is not changed. I have found this
  575.     option  quite  useful because users often type a send command such as 'S
  576.     VE5DS'  and  they  don't specify a home BBS even though VE5DS's home BBS
  577.     is  VE5OP  -  not  VE5VA.  With this option the BBS will put it in if it
  578.     has one.  
  579.  
  580.          This option  can  be  turned  OFF  by  including  #B  in  the  port
  581.     descriptor.  In this case the @bbs field is not changed.  
  582.  
  583.  ** OPTION  C.  There  is a modification to the pause() routine so that if a
  584.     user  asks  for  information that could generate a long printout (EXCEPT
  585.     for  a  Download),  then  after every 20 lines the BBS will print a line
  586.     asking  if  the  user  wants  more. They can then either type a carriage
  587.     return  to get the next 20 lines, or they can type Q which will stop the
  588.     output.   As  an  example,  if  the  user types the command 'LL 100' the
  589.     system will print this info out in blocks of 20 lines.  
  590.  
  591.          To turn  this  feature  OFF put #C in the port descriptor.  In this
  592.     case the BBS will send the output without a break.  
  593.  
  594.          In V6.71a  I  have  added  option E which attempts to give the user
  595.     the  ability  to  abort  the  output  from any 'L' or 'R' command.  Read
  596.     option E and decide whether to use option C or option E.  
  597.  
  598.  ** OPTION  D.  When  the BBS opens its window, by default it opens a window
  599.     that  has  no  borders, cannot be resized,  and cannot be dragged around
  600.     the  screen.  If  you  would  prefer a window with borders, resizing and
  601.     dragging, then put #D in the port descriptor.  
  602.  
  603.  ** OPTION  E. Due to the great demand, I have tried to implement a way that
  604.     a  user  can  abort  the  output  from  CBBS  when  they do a 'L' or 'R'
  605.     command.  If  they  type  'LL  100'  this  will produce a huge amount of
  606.     output  and  the  user may change his mind and want to abort the output.
  607.     Up  to now this couldn't be done other than by disconnecting. Now I have
  608.     added  some code that will abort the output to the user if CBBS receives
  609.     any  data  from  the  user.  Thus,  all  the user has to do to abort the
  610.     output  is  type  a carriage return. There is not much point having both
  611.     options  C  and  E on at the same time. Choose which you prefer and turn
  612.     the other off.  
  613.  
  614.          The reason  that  this is an option is that I cannot test it easily
  615.     here  and  so  if  the  code  doesn't  work  properly  you have a way of
  616.     shutting it off.  
  617.  
  618.  ** Another  change  I  have  made  (but  not optional) is that if there are
  619.     messages  to  ALL  on  your BBS and they are addressed TO your BBS (i.e.
  620.     either  the  @BBS  field  is  empty  or it contains the callsign of your
  621.     BBS),  the  beacon  does  not  just say ALL as most other systems do. It
  622.     also  includes  the  highest  message  number  addressed  to  ALL,  e.g.
  623.     ALL(489)  to  show that the highest message to ALL is numbered 489. This
  624.     allows  users  to  see  when a new message to ALL has arrived at the BBS
  625.     without them having to log in, they just monitor the beacon.  
  626.  
  627.  ** There  are a few messages already in this BBS as distributed. They are a
  628.     few  AMSAT  bulletins  which are really out of date now.  You can delete
  629.  
  630.  
  631.  
  632.     them  when  the  BBS first starts up.  Do a 'll 10' command to list them
  633.     and  then use the 'K' command to kill them e.g.  K 1   will kill message
  634.     number  1   and  so  on.  Then do a 'GM' command to clean out the files.
  635.     You  must  periodically execute the 'GM' command anyway to clean out old
  636.     files.  This  can  be done automatically or manually as described in the
  637.     manual.   It  cleans up the space used by the mail files and deletes old
  638.     ones.  
  639.  
  640.          In CBBS  V6 a new feature was added such that deleted files can, if
  641.     you  wish,  be  archived  instead of being deleted. If, for example, you
  642.     want  to  archive  AMSAT  bulletins,  then  you  must create a directory
  643.     called  AMSAT  immediately  under  the  CBBS  directory. Then instead of
  644.     deleting  amsat bulletins when they get old, the program will store them
  645.     in  the  amsat  directory.  NOTE,  I  think  it  is  dangerous to have a
  646.     bulletin  board directory name the same as a bulletin name. For example,
  647.     if  you  store  files about satellites in a directory called AMSAT, then
  648.     the  'GM'  command  will  archive  AMSAT bulletins in there as well. The
  649.     structure  of  archived  mail is not the same as a regular text file and
  650.     you will not want your users trying to download these files.  
  651.  
  652.  ** This  distributed  version  also  has a few BBS file areas.  You can add
  653.     more  or  remove  some as you wish. But remember to create corresponding
  654.     directories  for  the  new ones. The reason I have a specific write-only
  655.     'upload'  directory  while all others are read-only is that a user might
  656.     upload  a  file containing arbitrary binary characters and then download
  657.     this  same file to themselves. It is possible that the bad characters in
  658.     the  file  will  mangle  your TNC.  Alternatively, a user might upload a
  659.     file  that  contains  obscenity or is commercial in nature and you would
  660.     not  want to be held responsible for distributing it any further.  So to
  661.     avoid  this,  users  can  upload  a file into the specific area and then
  662.     send  you mail telling you that it is there.  You can then move the file
  663.     to  its  intended  area  after  you  are sure it is safe to do so. Thus,
  664.     users  can't  write  into  the normal file areas and can't read from the
  665.     upload area.  
  666.  
  667.  ** The  content  of the file 'files/info.mb' is sent to any user who issues
  668.     the  'I'  command.  It  currently has two lines in it briefly describing
  669.     that  this  is  the  CBBS program. If you want to, you can edit the file
  670.     and  add  to  it  your name, qth and the type of TNC, Rig etc.  that you
  671.     are using.  
  672.  
  673.  ** The  !  SYSOP  command  that  allows  you  to execute CLI commands works
  674.     except  that  the  output  of  a CLI command goes to the window in which
  675.     CBBS  was started, NOT to the CBBS window itself. This is annoying but I
  676.     can't  find  a  way  around  it  yet.  On  the  other  hand,  this  is a
  677.     multitasking  machine and you can always have a separate CLI window open
  678.     to  execute  CLI commands anyway. So I'm not gonna bust a gut to sort it
  679.     out.  
  680.  
  681.  ** In  my  version  of  CBBS  the  remote  sysop  password does NOT work as
  682.     described  in manual.bbs.  I felt that the password mechanism used there
  683.     is  very  weak and it wouldn't take a determined snooper very long to be
  684.     able  to  break  into  your system remotely if remote sysops use it very
  685.     often  (NOTE  that  in  order  for  someone  to successfully be a remote
  686.     sysop,  you  must first set that privilege for them in the user file AND
  687.     set  the  'R'  privilege for port 'A' in the config.mb file AND set up a
  688.     proper password as described below).  
  689.  
  690.          Instead of  using a line containing 64 characters, the new password
  691.     scheme  uses  a  line  (or  lines) containing up to 64 positive non-zero
  692.  
  693.  
  694.  
  695.     integers.   If  a  remote  user  tries to get in, the system still sends
  696.     them   four   numbers   as  a  challenge  but  instead  of  sending  the
  697.     corresponding  letters  of  the password, the remote sysop must send the
  698.     SUM of the corresponding numbers.  
  699.  
  700.          Since you  can't  easily  fit 64 numbers on a line, you can put the
  701.     numbers  on  several  lines with all but the last line terminated with a
  702.     backslash character. For example: 
  703.  
  704.     17 42 93 81 90 3 27 82 103 35 72 64 13\
  705.     76 7 25\
  706.     23 47 56 62 18 11 95 79 126
  707.  
  708.     Using  this  example  password, if a user tries to be a remote sysop and
  709.     receives the challenge 
  710.  
  711.     10 21 7 16
  712.  
  713.     then  they  must  answer  with  105 (the sum of the 10th, 21st, 7th, and
  714.     16th  numbers  in  the  list).  There MUST be at least 20 numbers and no
  715.     more  than  64 in the list AND they must all be positive and non-zero or
  716.     the  remote  sysop function will be disabled. Thus, if you don't want to
  717.     permit  the  remote sysop function at all just put a single zero on this
  718.     line.   The  numbers  should  all  be  different  and in random order to
  719.     strengthen the password scheme.  
  720.  
  721.  ** In  V6.1e  and  later  versions,  I added two things to the window title
  722.     bar.  If  the  sysop  has  mail  (i.e. the sysop callsign appears in the
  723.     Btext  "Mail  for:")  then  the  text "You have mail" will appear in the
  724.     title  bar.  Also,  the  name of the current forwarding file is shown on
  725.     the  right  hand  side of the window title bar. There is still a bug (as
  726.     of  V6.6)  in  this code that it does not always put the "You have mail"
  727.     in  the  title bar even if you do have mail. I have not quite sorted out
  728.     what's happening here.  
  729.  
  730.  ** In  V6.1e  (and  all  later versions) I have also added modifications to
  731.     make  CBBS  talk  to THEBOX which is a bbs system that is very common in
  732.     Germany.  THEBOX only accepts an 'S' command from users or other BBS but
  733.     it  then  internally  classifies  each  message into Personal, Bulletin,
  734.     Control  or  $  (another  kind  of  bulletin). When it forwards, it then
  735.     generates  the  appropriate  SP,  SB,  SC or S$ command. I have modified
  736.     CBBS  so  that  when  it  receives 'S' commands from users or any BBS it
  737.     processes  them slightly differently. The changes are insignificant when
  738.     talking  to other CBBS systems or to users. But when talking to a THEBOX
  739.     system CBBS will reject the 'SC' command and change 'S$' into 'SB'.  
  740.  
  741.          THEBOX also  generates  a  'lifetime'  field  on bulletins which is
  742.     indicated  by '#nnn' as the LAST item on the 'S' command line. The 'nnn'
  743.     indicates  how  many  days  the  bulletin is to be kept before it can be
  744.     deleted.  I have modified the structure of the mail header to include an
  745.     unsigned  character  which  contains  the lifetime of the bulletin.  The
  746.     'S'  command has  been modified so that it will accept the #nnn lifetime
  747.     field  from  anyone.   The  lifetime  is  now  also used when the system
  748.     determines  whether  a  bulletin is stale. Any bulletin which is created
  749.     from  any  source  without a lifetime field will have the lifetime field
  750.     set  to  the default bulletin lifetime field that is already in the CBBS
  751.     config.mb  file.  The  description  of  this  line  in manual.bbs begins
  752.     "Number of days old a bulletin is ....".  
  753.  
  754.          CBBS now  checks  for   THEBOX  when it receives either the [DL5UY-
  755.  
  756.  
  757.  
  758.     ....  -] or [THEBOX- ... ].  So, every bulletin no matter where it comes
  759.     from  has  a lifetime field and if CBBS detects that it is forwarding to
  760.     THEBOX,  then it will add the lifetime field on a bulletin. The lifetime
  761.     field  is now shown to the sysop if he edits a bulletin and the lifetime
  762.     field can be modified if he wishes.  
  763.  
  764.          One slight  change  has  been  made  to the way CBBS handles an 'S'
  765.     command  to  make  it  conform to THEBOX.  If the command itself is just
  766.     'S'  (not  'SP',  'SB'  etc.)  and  the message is being sent to a valid
  767.     callsign  then  the  message  will be made a Personal one, otherwise the
  768.     message  will  become  a  Bulletin.  CBBS used to leave the message type
  769.     blank.  
  770.  
  771.  ** The  distributed  version  of CBBS V6.71 has modifications that allow it
  772.     to  pick  up  mail  from  a user's KAM if the KAM is V3.0. KAM V3.0 will
  773.     accept  a  reverse  forward request and will send any outgoing mail from
  774.     its  user to any BBS that logs in and asks for a reverse forward. I have
  775.     made  one  extra  change  when  handling  a KAM V3.0. The KAM only sends
  776.     personal  messages  but  the user could put, for example, a command such
  777.     as: 
  778.  
  779.     S all @ allus
  780.  
  781.          The distributed  version  of  CBBS  for  the  IBM  will make this a
  782.     personal  message  and  also  will Hold it for the SYSOP to check out. I
  783.     have  modified  CBBS so that it automatically changes this to a bulletin
  784.     and creates a BID for it.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.                    ***###***  OK .. Let's try it ***###***
  822.  
  823.  
  824.       You MUST  first  be  connected  to  the directory that contains the mb
  825.  program  and  the  config.mb  file,  which  on  this  disk  is  the  'cbbs'
  826.  directory.   This is because the config.mb file in this distributed version
  827.  has  all  the  directories  specified  as  being  relative  to  the  'cbbs'
  828.  directory.  You  can change this as you see fit.  Then execute a command of
  829.  the form: 
  830.  
  831.     mb [-bN] [-t] [-d] [config-file]
  832.  
  833.  The  default  baudrate  between  the TNC and AMIGA is 9600 baud. If you use
  834.  any  other  speed  then you MUST specify the -bN switch to tell the program
  835.  what  baudrate  to  use .. e.g.  -b1200 (NOTE that there's no space between
  836.  the b and the number!) 
  837.  
  838.       The '-t'  option  (which can be specified before or after the '-bN' if
  839.  it  is  also  present)  specifies  that the BBS software must strip off the
  840.  high  order  bit  of every character received from the TNC. This allows the
  841.  BBS  to  be  used  with  TNCs  that set the parity bit to a one when in 'no
  842.  parity' mode, such as the TNC1 with the TAPR upgrade to TNC2 V1.1.5.  
  843.  
  844.       The '-d'  option is only used to set a debugging flag and is of no use
  845.  to you unless you modify the source code.  
  846.  
  847.       The program  can  be  told  to  use  a  different config file than the
  848.  default  name  of  config.mb  by  specifying  the  name  as the config-file
  849.  argument.  
  850.  
  851.       It takes  a  few seconds of disk churning to load the program but then
  852.  the  first  thing  that should happen is that it opens a new window for the
  853.  BBS  and  the  title  should  appear.  It then prints a line containing the
  854.  words  Window  and Port .. ignore this.  It first sends an XON, followed by
  855.  a  Control-C  followed by a carriage return. These will wake up a TNC if it
  856.  has  been  XOFF'd and the Control-C will force a KAM into packet mode if it
  857.  was  being  used for RTYY, AMTOR etc.  Then it tries to send three commands
  858.  to  the  TNC: 'm off', 'cono off' and 'echo off'.  If you have forgotten to
  859.  connect  the  TNC to the amiga serial port or have set it to the wrong baud
  860.  rate  or wrong parity, then after about 30 seconds the program will timeout
  861.  and  exit  because it can't get a reasonable response from the TNC. Connect
  862.  it  up properly and start again.  It then sends out 'TXD' and looks for the
  863.  'TXD'  reply  from  the TNC. This gets the program and TNC synchronized and
  864.  allows  the  program  to  ignore  any stuff in the TNC memory that it might
  865.  have monitored while the BBS was off.  
  866.  
  867.       The program  then sends a PASS command to the TNC to find out what the
  868.  pass  character is. If it finds one it also sends a STREAMSW command to the
  869.  TNC  to  find  out  what the stream switch character(s) is(are). On the KAM
  870.  there  are  two,  one  for  VHF and one for HF. The program then prints the
  871.  results of what it found.  
  872.  
  873.       If you  have  included  CLI  commands  at the front of the tnc.on file
  874.  then  the  process may pause a bit here, especially if you include commands
  875.  in  tnc.on  that  load  some  of the bbs files into ram:.  Then the program
  876.  should  show  some  data  from the TNC as it dumps the tnc.on file into the
  877.  TNC.   It  then  prints  out  how  many  calls  are  in  the  calls.mb file
  878.  (initially  zero)  and  you  can ignore it when it reports that the file is
  879.  full.   It  then  should  print  a  line  saying  how many users are in the
  880.  USERS.MB  file. First time through it should say zero. (You had better have
  881.  
  882.  
  883.  
  884.  set  your  call in config.mb already because the program automatically adds
  885.  you  to  the  user file as a sysop, of course). It then prints out how much
  886.  free  chip  and fast memory it can find and it will report that it is going
  887.  to use 16K or 14K, ignore it.  It then prints: 
  888.  
  889.     BT mail for:
  890.  
  891.  and after a couple more lines it should just go quiet.  
  892.  
  893.       It is  now  waiting  for someone to call into it on the TNC or for you
  894.  to  wake  it  up as SYSOP from the keyboard.  As SYSOP you type a Control-E
  895.  character  (default  in  config.mb  and  can  be changed) at which point it
  896.  should  send  the  commands  'm  off'  and  'conok off' to the TNC. It then
  897.  grinds  the  disk  a second or so and then it should print the sysop prompt
  898.  which  the  distributed  config.mb file has set to 'SYSOP>' (you can change
  899.  it).   From  there  on  you can issue the commands described in manual.bbs.
  900.  As  an  example,  just type the command DU at the prompt. It should display
  901.  just  your callsign first time through because you are the only user it has
  902.  seen  so  far.   A useful exercise at this point is to use the 'EU' command
  903.  to  edit  your  entry  to  add your name.  As users log in and give the BBS
  904.  their  name and zipcode, the file will begin to grow. You can add new users
  905.  yourself  if  you wish by using the EU command with their callsign. E.g. to
  906.  add me: 
  907.  
  908.     eu ve5va
  909.  
  910.  and  then set the other parameters (such as name, zipcode etc.) as shown in
  911.  the manual.  Another command to try is: 
  912.  
  913.     LL 10
  914.  
  915.  which asks the BBS to list the 10 most recent messages in the mail file.  
  916.  
  917.       One thing  you  must  keep an eye on, especially if you are only using
  918.  floppy  disks, is that if you have allowed logging of events (in config.mb)
  919.  the  log file, files/log.mb, will grow without bound as the BBS is used. So
  920.  you  must  occasionally  delete  this  file.  If you are required by law to
  921.  keep  a  record,  print the file out or archive it on another disk and then
  922.  delete  it  from the bbs disk.  Try out the 'PRTLOG' program which prints a
  923.  summary of the file.  
  924.  
  925.       To exit  from  sysop mode just type the 'B' command. It will then wait
  926.  for a user to call in.  
  927.  
  928.       The safest  way  to  terminate  the  program  is by clicking the close
  929.  program  gadget  in  the  window  title  bar  or  use  the Q command on the
  930.  keyboard.  This  is  so  that the program will update the user and possibly
  931.  the  mail  files  properly.  Just removing the disks might leave them in an
  932.  indeterminate  state  whether or not you have stored them in ram:. Also, if
  933.  you  have  CLI commands in the tnc.off file to do some tidying up, the only
  934.  way they can be executed is to quit properly.  
  935.  
  936.       If disaster  strikes  and  you  lose  the  mail.mb file then it can be
  937.  recovered  as  long as you still have the individual mail files in the msgs
  938.  directory.   Running  the  'cbbs/msgs/mbrestm'  program  will  recover  the
  939.  mail.mb file for you.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.       Here are a few pointers, based on experience.  
  949.  
  950.  ** If  the  BBS  opens  the  window  but  then  closes it and generates the
  951.     "Timeout  - .." message it can be for one of the three reasons listed or
  952.     others  I  haven't thought of or run into yet. Make sure that the TNC is
  953.     plugged  into the serial port. Also make sure that the cable is wired up
  954.     properly.   If  neither of those help then try running the BBS with "run
  955.     mb -t" to tell it to ignore parity.  
  956.  
  957.  ** If  you  call another BBS but it won't accept mail from you, or it won't
  958.     send  you the [BBS-TYPE-CODES$] message, then you must log into that BBS
  959.     as  a  normal  user and send mail to the SYSOP asking him/her to set you
  960.     up  as  a  BBS in his/her user file. It also helps to have them also set
  961.     you  up  as  an  expert user (although you can do that yourself) because
  962.     this usually reduces the size of the login message.  
  963.  
  964.  ** If  your  BBS  won't  forward bulletins make sure that you have a proper
  965.     .dis  file for the bulletin in the msgs directory and that the .dis file
  966.     contains a proper list of callsigns.  
  967.  
  968.  ** If  your BBS won't accept bulletins from another BBS (i.e. your BBS says
  969.     'No  -  Don't  want  it')  then  you  do  not  have a .dis file for that
  970.     bulletin  type.   There  must be a .dis file for that bulletin type even
  971.     if  you  don't  forward  the  bulletins  to  anyone  else. NOTE that the
  972.     bulletin type is the @ field of the bulletin.  
  973.  
  974.  ** If  your  BBS won't forward mail for a user then either that user is not
  975.     listed  in  your forwarding file for their BBS or their user record does
  976.     not specify the correct Home bbs.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.                           Some Forwarding Examples
  1011.  
  1012.       The best  way  to  work out a forwarding file is to log in manually to
  1013.  the  system  that  you  are trying to forward to and record everything that
  1014.  occurs.  Then work out the forward file from that.  
  1015.  
  1016.       First, a  simple  example.  I  wish to forward to VE5OP who is here in
  1017.  Saskatoon.  If  I  connect  to  VE5OP manually I see this (with my comments
  1018.  added on the right): 
  1019.  
  1020.  c ve5op                              [ I type this command
  1021.  cmd:*** CONNECTED to VE5OP           [ and the TNC says I'm connected
  1022.  [CBBS-6.0-H$]                        [ Here's the BBS login message
  1023.  EU>                                  [ from VE5OP and its prompt.
  1024.  
  1025.  Now  let's  add  the  corresponding  forwarding  commands on the right hand
  1026.  side.  
  1027.  
  1028.  c ve5op                              [  CC VE5OP
  1029.  cmd:*** CONNECTED to VE5OP           [                   <NOTHING HERE
  1030.  [CBBS-6.0-H$]                        [  HA0023C VE5OP
  1031.  EU>                                  [
  1032.  
  1033.  
  1034.       The 'CC'  command  not  only  sends  the first connect message, but it
  1035.  also  looks  for  the '*** CONNECTED' message from the TNC. So you must NOT
  1036.  use  the  'R'  command  to read the '*** CONN' message.  Remember that once
  1037.  you  get to the [BBS-TYPE-CODES$] message you are in to the BBS and now you
  1038.  just  use  an  'F',  'H' or whatever list and you simply add in the list of
  1039.  calls  whose mail is forwarded to VE5OP.  So the complete script could look
  1040.  like this: 
  1041.  
  1042.  CC VE5OP
  1043.  HA0023C VE5OP
  1044.  ve5op                                 [ you can put lots more calls
  1045.  ve5pf                                 [ in here as well as
  1046.  ntssk                                 [ nts codes
  1047.  97*                                   [ or wildcards
  1048.  *** EOF
  1049.  
  1050.  KAM  users  should  remember  to  add  the streamswitch characters into the
  1051.  initial connect command (e.g. 'C|aC ve5op' for VHF).  
  1052.  
  1053.       If I  had  to  go  through  the VE5USR digipeater to get to VE5OP, the
  1054.  only change in the script would be: 
  1055.  
  1056.  CC ve5op via ve5usr
  1057.  
  1058.  because  the  digipeater  would  not  generate  any  more  text  during the
  1059.  connection.  
  1060.  
  1061.       A more  complex  example  is if I want to connect to the VE5AGA BBS in
  1062.  Regina,  which  is  165  miles  from  Saskatoon.  I  have to go through two
  1063.  KA-NODES  (VE5BAR  and VE5ABO) and one digipeater (VE5GF) to get to VE5AGA.
  1064.  The path is in this order: 
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.   VE5VA <-> VE5BAR-3 <-> VE5ABO-3 <-> VE5GF <-> VE5AGA
  1075.    bbs       ka-node      ka-node     digi        bbs
  1076.  
  1077.  Here's  what  I  would  see if I logged in manually with my comments on the
  1078.  right hand side: 
  1079.  
  1080.  cmd:c ve5bar-3                                   [ I send the connect
  1081.  cmd:*** CONNECTED to VE5BAR-3                    [ and my TNC responds.
  1082.  ###CONNECTED TO NODE VE5BAR-3(VE5BAR) CHANNEL A  [ Now KA-NODE responds
  1083.  WELCOME TO SASKATOON...VE5OP LOCAL BBS...        [ with its own messages
  1084.  ENTER COMMAND: B,C,J,N,X, or Help                [ until it prints the
  1085.  ?c ve5abo-3                                      [ prompt without a CR.
  1086.  ###LINK MADE                                     [ Connected to ABO
  1087.  ###CONNECTED TO NODE VE5ABO-3(VE5ABO) CHANNEL A  [ and ABO now prints
  1088.  Welcome to the Ituna Node                        [ its own messages
  1089.  ENTER COMMAND: B,C,J,N, or Help                  [ up to the prompt
  1090.  ?c ve5aga v ve5gf                                [ now connect via digi
  1091.  ###LINK MADE                                     [ The KA-NODE says OK
  1092.  [MBL-5.12-C$]                                    [ Now the BBS responds
  1093.  Welcome to the Regina BBS                        [ with all its own
  1094.  de Perry VE5AGA                                  [ login messages
  1095.                                                   [ which can be anything
  1096.  for latest information 'D INFO.TXT'              [ up to the prompt
  1097.  VE5AGA>                                          [ with '>' at the end.
  1098.  
  1099.  And here's the script with the corresponding forwarding commands.  
  1100.  
  1101.  cmd:c ve5bar-3                                   [ CC VE5BAR-3
  1102.  cmd:*** CONNECTED to VE5BAR-3
  1103.  ###CONNECTED TO NODE VE5BAR-3(VE5BAR) CHANNEL A  [ R###CONN
  1104.  WELCOME TO SASKATOON...VE5OP LOCAL BBS...        [ R!
  1105.  ENTER COMMAND: B,C,J,N,X, or Help                [ R!
  1106.  ?c ve5abo-3                                      [ SC VE5ABO-3
  1107.  ###LINK MADE                                     [ R###LINK
  1108.  ###CONNECTED TO NODE VE5ABO-3(VE5ABO) CHANNEL A  [ R###CONN
  1109.  Welcome to the Ituna Node                        [ R!
  1110.  ENTER COMMAND: B,C,J,N, or Help                  [ R!
  1111.  ?c ve5aga v ve5gf                                [ SC VE5AGA VIA VE5GF
  1112.  ###LINK MADE                                     [ R###LINK
  1113.  [MBL-5.12-C$]                                    [ HA0023C VE5AGA
  1114.  Welcome to the Regina BBS
  1115.  de Perry VE5AGA
  1116.  
  1117.  for latest information 'D INFO.TXT'
  1118.  VE5AGA>
  1119.  
  1120.  Note  that the '?' prompt from the KA-NODEs does not have a carriage return
  1121.  after  it  and  so there is just a corresponding 'S' command here.  The 'R'
  1122.  command  must not be used here because it is looking for a line ending with
  1123.  a  carriage  return  and the BBS will just hang and eventually timeout here
  1124.  if  you  use  'R'.   IF  the  KA-NODE sent  a prompt with a carriage return
  1125.  after  it  (i.e.  '?<CR>'  instead  of  just '?') then you would need a 'R'
  1126.  command  to  read  the  '?<CR>'  and  then  an 'S' command to send the next
  1127.  command  to  the  KA-NODE.   You  can easily tell the difference because if
  1128.  there's no <CR> then you will see: 
  1129.  
  1130.  ?c ve5abo-3                        [ only requires SC ve5abo-3
  1131.  
  1132.  such  that  both  the  prompt  and  your next command are on the same line,
  1133.  
  1134.  
  1135.  
  1136.  whereas if there were also a CR there you would see: 
  1137.  
  1138.  ?                                  [ would require R!  (or R?)
  1139.  c ve5abo-3                         [               SC ve5abo-3
  1140.  
  1141.       When you  use the 'R' command you can specify some context expected on
  1142.  the  line  such as the 'R###LINK' I have used here. It is useful to do this
  1143.  rather  than  'R!'  for  the  'LINK' or 'CONNECTED' messages because if the
  1144.  link  fails then the ka-node will send a message such as '###RETRIED OUT AT
  1145.  NODE  VE5ABO-3'. This does not match the specified '###LINK' and so the 'R'
  1146.  command  will  fail  and  your BBS will disconnect the forward attempt.  If
  1147.  you  had  specified  'R!'  instead of 'R###LINK' then 'R!' will also accept
  1148.  '###RETRIED  OUT'  and  then  your script will hang until the process times
  1149.  out.   However,  you  don't  need to specify a context for all the lines so
  1150.  that  some of them are just read with 'R!'. The 'R' command will search for
  1151.  its  given string anywhere on the line so that you could check for '###LINK
  1152.  MADE'  by  specifying  'RMADE'  as  well as 'R###LINK' or  'R###LINK MADE'.
  1153.  Just  how much context you give is up to you as long as it is sufficient to
  1154.  correctly distinguish the line from any other expected response.  
  1155.  
  1156.       Note also  that  VE5AGA  has  a  much  longer  login message than does
  1157.  VE5OP,  but  that  doesn't  matter. Once your BBS sees [BBS-TYPE-CODES$] it
  1158.  will  look  for  the  prompt  with  the  '>'  symbol  in  it and then start
  1159.  forwarding.  
  1160.  
  1161.       If the  VE5GF  digipeater were between the ka-nodes rather than at the
  1162.  end,  then  the script would not be any more difficult. For example, if the
  1163.  order of the connections were: 
  1164.  
  1165.  
  1166.   VE5VA <-> VE5BAR-3 <-> VE5GF <-> VE5ABO-3 <-> VE5AGA
  1167.    bbs       ka-node      digi      ka-node      bbs
  1168.  
  1169.  
  1170.  The connection process would then be: 
  1171.  
  1172.  c ve5bar-3
  1173.  c ve5abo-3 via ve5gf
  1174.  c ve5aga
  1175.  
  1176.  so  the  basic  script  would  look  like this (with some of the extraneous
  1177.  stuff removed): 
  1178.  
  1179.  CC ve5bar-3
  1180.  R###LINK
  1181.  etc.
  1182.  SC ve5abo-3 via ve5gf
  1183.  R###LINK
  1184.  etc
  1185.  SC ve5aga
  1186.  R###LINK
  1187.  HA0023.....
  1188.  etc.
  1189.  
  1190.  
  1191.       This procedure  for  working out a script can also be used for working
  1192.  through NET/ROM nodes and other types of networking or gatewaying nodes.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.                               The BBS commands
  1200.  
  1201.  
  1202.       The BBS  commands  (as  opposed  to  commands  used  for  storing  and
  1203.  forwarding  mail) are fairly easy to use. The primary use of these commands
  1204.  is  to  store information of local interest that you would not want to mail
  1205.  to  everyone.  Rather, you can store the information in a file area and let
  1206.  users  read  the  information  if they are interested. For example, on this
  1207.  BBS  I  have  put a file area for QRP related information. Other file areas
  1208.  could  be  for  AMSAT  information,  and another for a swap'n shop file. If
  1209.  someone  is  interested  in  QRP stuff but not in AMSAT info  they can look
  1210.  through  the  QRP area and not have to read a lot of mail or bulletins that
  1211.  don't interest them.  
  1212.  
  1213.       I'm going  to  use  my  local BBS VE5OP as an example here to show how
  1214.  the commands work.  
  1215.  
  1216.       The first  command  to  give  to the BBS is the 'w' command which asks
  1217.  what  are  the  major  areas  in  the BBS. If I type 'w' on the VE5OP BBS I
  1218.  receive this info: 
  1219.  
  1220.  Use W and directory ID:
  1221.  WA --> Amsat / Oscar                 WB --> General information           
  1222.  WC ---> ARRL/ Newsletters            WD --> Hamfests and Related EVENTS   
  1223.  WE --> Packet Meetings-Minutes,ect.  WF --> Packet LISTS                  
  1224.  WG --> Swap 'n Shop                  WH --> Local Users - Equipment       
  1225.  WI --> NEW Uploads To Here Please    
  1226.  If  I want to see what is in the 'General information' area then I type the
  1227.  'WB'  command  as  shown beside the name of the area. The 'WB' command will
  1228.  print out: 
  1229.  
  1230.  AA4RE           4k | Q.BAS           3k | README.R95     16k
  1231.  CONFIG.MB       4k | README.DOC     12k | WOOD1.INF       2k
  1232.  
  1233.  41k of 31834k used, 27348k free.
  1234.  
  1235.       Now let's look at the AMSAT area by typing the 'WA' command: 
  1236.  
  1237.  AO-13.SKD       2k | MIR.QSL         1k | O13.OCT         3k
  1238.  MIR.BCN         1k | MIR89.FEB       4k | O13.SEP         5k
  1239.  MIR.MAR         8k | MISC.021        2k | WEATHER.021     5k
  1240.  MIR.OPR         4k | O13-1.OCT       4k | WOOD1.INF       2k
  1241.  
  1242.  41k of 31834k used, 27348k free.
  1243.  
  1244.       And also  let's  see  what's  in  the  swap'n  shop area with the 'WG'
  1245.  command: 
  1246.  
  1247.  890416.SWP      7k | SWAP04.DEC      7k | SWAP20.FEB      7k
  1248.  890523.SWP      7k | SWAP12.MAR      8k | SWAP29.JAN      6k
  1249.  SWAP0122.89     6k | SWAP2.NOV       8k | VE5BBL.SEL      1k
  1250.  
  1251.  57k of 31834k used, 27348k free.
  1252.  
  1253.       Now, I  decide  that  I want to look at what is in the file mir.qsl in
  1254.  the  amsat area. To do this I must Download the file and tell the BBS which
  1255.  area it is in ('a') and it's name. So I type the command: 
  1256.  
  1257.  da mir.qsl
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  and receive the following info: 
  1263.  
  1264.  ARRL BULLETIN 140  ARLB140
  1265.  
  1266.  MIR SPACE STATION COSMONAUTS U1MIR AND U2MIR ARE NOW REPORTED TO BE
  1267.  OPERATING ON 145.400 MHZ.  QSL CARDS SHOULD BE SENT VIA USSR, MOSCOW,
  1268.  107207, P.O. BOX 679, B. STEPANOV.
  1269.  
  1270.  WA2ILB @ NN2Z>
  1271.  
  1272.       In this  case  the  file  contains  an  ARRL  bulletin but it could be
  1273.  anything.  
  1274.  
  1275.       If a  user  wants  to  send  a  file  to the BBS then the file must be
  1276.  Uploaded  into  the  'I'  area and a filename must be specified for it. For
  1277.  example: 
  1278.  
  1279.  ui qrp.info
  1280.  
  1281.       The BBS  will  respond by telling the user to upload the file and then
  1282.  terminate  it  either  with  '^Z' or with '/ex'.  The user should also send
  1283.  mail  to the SYSOP to tell them that the file has been uploaded and what is
  1284.  in it.  
  1285.  
  1286.       The 'W'  commands can also by used by the sysop so you can try them on
  1287.  the  distribution  disk.  But  the SYSOP cannot use the upload and download
  1288.  commands. They mean something different when the SYSOP uses them.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.                          Summary of Changed Commands
  1328.  
  1329.  
  1330.  
  1331.       This section  briefly  summarizes  the  changes  I  have  made  to the
  1332.  standard CBBS commands.  
  1333.  
  1334.  - The A, AH, AI commands have been removed.  
  1335.  
  1336.  - The  user  C commands have been removed. And the SYSOP 'C' command to set
  1337.     the  clock  has  also  been  removed.   This  leaves only the sysop 'CM'
  1338.     command.  
  1339.  
  1340.  - The J command also prints the date along with the time.  
  1341.  
  1342.  - The  L<,  L>  and  L@  commands will now allow a wildcard in the callsign
  1343.     argument.  
  1344.  
  1345.  - Any  L  command  can  have  a  quoted string appended to it to list those
  1346.     messages that contain the string in their title.  
  1347.  
  1348.  - A KL command has been added for the sysop only. A command such as: 
  1349.  
  1350.     KL 107 115
  1351.  
  1352.          will Kill  all  messages  numbered  from 107 TO 115 inclusive.  The
  1353.     command  will  NOT  kill  traffic  messages.  In the standard IBM V5 and
  1354.     later  releases  the  'K'  command  has also been modified from previous
  1355.     releases  so  that  it  will  allow  you  to  specify up to four message
  1356.     numbers to be killed by the one 'K' command.  
  1357.  
  1358.  
  1359.  - Several  minor  changes  have been made to the 'S' command (and therefore
  1360.     to   the   'M'  command  also).  First,  CBBS  will  accept  a  lifetime
  1361.     specification  as  the  very last item on the command line. Second, if a
  1362.     message  type  is  not  specified  then if the message is addressed to a
  1363.     valid  callsign  then  the  message  will  be  stored as a Personal one,
  1364.     otherwise it will be stored as a Bulletin.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.       Good Luck.  
  1390.  
  1391.       If you   have   problems  getting  CBBS  to  work  either  because  my
  1392.  instructions  aren't clear or I've left out something important, please let
  1393.  me  know.  If you want help or have questions I'll be glad to help IF I can
  1394.  but you must take note of two things.  
  1395.  
  1396.     - I  will  not  answer  mailed  queries unless you also send me a proper
  1397.       SASE.  U.S.  hams  PLEASE  note  that  putting  a  U.S.  stamp on your
  1398.       envelope  won't do me any good. Canada Post expects me to use Canadian
  1399.       stamps.   However,  I  will  take  a  LOOSE  U.S.  stamp (30 cents) in
  1400.       exchange  (NO  IRCs please - I have plenty right now).  If you send me
  1401.       a  disk  and  expect  it  back, that will require correspondingly more
  1402.       stamps (about one dollar).  
  1403.  
  1404.     - I  have  been  ill  since  Sept  1984  with  Chronic  Fatigue Syndrome
  1405.       (Myalgic  Encephalomyelitis  to  you  Brits ... I'm one myself) and am
  1406.       always  tired.  I  put  this BBS together over many months (it took me
  1407.       six  months to find a simple bug in my amiga code!) . So if I'm having
  1408.       a  bad  spell  I  may  not  get  around  to answering for a while.  Be
  1409.       patient.  
  1410.  
  1411.     (This is my new mailing address as of October 1990)
  1412.     Pete Hardie VE5VA
  1413.     567 Delaronde Road,
  1414.     SASKATOON
  1415.     SASK   S7J 4A7
  1416.     CANADA
  1417.  
  1418.  or HF packet
  1419.     VE5VA@VE5DA (14.107) or VE5VA@VE5RF (7.103)
  1420.  
  1421.  or BITNET
  1422.     hardie@skyfox.usask.ca
  1423.  
  1424.  or USENET
  1425.     alberta!herald!hardie
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  There  are  a  few  hams who also can supply you with the latest version of
  1452.  C-BBS. If they are closer to you than I am then try them first.  
  1453.  
  1454.  
  1455.  Frank Schmitt  DF3UM@DB0IE
  1456.  Barlachstr 4,
  1457.  WD-6908 Wieslach
  1458.  GERMANY
  1459.  
  1460.  Grisandi Giampaolo  IW4CEA@IW4CEA
  1461.  Via Lago Di Garda 39
  1462.  48100 Ravenna
  1463.  ITALY
  1464.  
  1465.  Crauwels Walter   ON1AOT@ON6AR
  1466.  Heirbaan 31
  1467.  2510 Mortsel
  1468.  BELGIUM
  1469.  
  1470.  Rene van Stipriaan  PE1KBJ
  1471.  Dovenetelweg 94
  1472.  NL-1508 CJ  Zaandam
  1473.  HOLLAND
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.