
 Ŀ
   Chuck Seyboldt's COMMO Macro     CS-MAC09:ADAPT
 

        The mail and file fetching power of the CS-MAC series may be
harnessed with minimal additions to your COMMO.MAC and COMMO.FON
files.  The additions fall into three categories:

          Setting general use variables
          Add BBS specific information to your .FON directory
          Add .FON links to your COMMO.MAC


  Setting general use variables.  This is done with the {setv }
   macro function.  Example; {setv name,Jack Kern}.  These are the
   variables necessary for logon, mail, and file fetching.

Variable      Where set
  name        in CS-MAC       Description

%z_prog%      .SET            Drive:\dir\progname for Z protocol

%name%        Startup  .CFG   Your logon name
%v_ph%        Startup  .CFG   Your voice phone number
%d_ph%        Startup  .CFG   Your data phone number
%b_day%       Startup  .CFG   Your birthdate
%grafix%      Startup  .CFG   sent to a BBS at "Graphics?" prompt
%rflag%       Startup         %rflag typically = "aln"

%dldir%       .SET            The drive:\dir to put dl'd files
%uldir%       .SET            The drive:\dir for file uploads
%qwkdr%       Startup  .CFG   The drive:\dir for mail download
%repdr%       Startup  .CFG   The drive:\dir for reps to upload
%ramdr%       Startup  .CFG   A temporary working dir (RAMDisk!)
%savedir%     Startup  .CFG   Where you save .LOGS
%mprot%       Startup  .CFG   Mail fetching protocol (x, y, or z)
%prot%        Startup  .CFG   File fetching protocol (x, y, or z)
%pk_un%       Startup  .CFG   The drive:\dir\filname for "pkunzip"

%qrdr%        Startup  .CFG   Name your .QWKmail reader (optional)
%zdr%         Startup  .CFG   Name your ZIPMail reader  (optional)
%skip%        COMMO.MAC       Flag to skip mail d/l (not required)


  Adding BBS specific information to your .FON directory.
   Add each of these to an entry in your .FON.  Make the called macro
   name = {qwk} for mail and file fetching.  An example .FON entry:
{761-4565}{_pas}{qwk}{}{bbsid,nlbbs}{abbr,nl}{dorno,qmail|}{mail,qm4}{bbs,pcb}

%_pas%        .FON            Your password for this BBS
%bbsid%       .FON            BBS mail packet name
%abbr%        .FON            First two chars of %bbsid
%dorno%       .FON            Command to get to mail door
%mail%        .FON            Mail door type at host
%bbs%         .FON            BBS software type

%flag%        .FON            Get newfiles list?  (optional)
%door2%       .FON            Open two maildoors? (optional)


  Adding .FON links to your COMMO.MAC
   Copy the material below to the end of your COMMO.MAC file.
   No editing is required.

 Ŀ     Ŀ
   Links from COMMO.FON         Generic Logon Alone  
      
  *  By using these three character linked macro names in your .FON
  *  directory, you will be able to logon automatically to each of
  *  these BBS types.  These logons will get you as far as the
  *  "Main Board Command?" prompt (No mail fetching will occur).
  *  COMMO.MAC gets some prompt information from CS-TABLE.CSM then
  *  jumps to the generic logon routine (:glr) in CS-LOGON.CSM.

 {:pcb}  {macl cs-table.csm,pcb}        ;PCBoard v14.5
 {:rma}  {macl cs-table.csm,rma}        ;Remote Access
 {:tag}  {macl cs-table.csm,tag}        ;T.A.G.
 {:s-f}  {macl cs-table.csm,s-f}        ;Spitfire
 {:gap}  {macl cs-table.csm,gap}        ;GAP
 {:wc!}  {macl cs-table.csm,wc!}        ;Wildcat!
 {:mac}  {macl cs-table.csm,mac}        ;MacroBBS
 {:max}  {macl cs-table.csm,max}        ;Maximus BBS
 {:maj}  {macl cs-table.csm,maj}        ;Major BBS
 {:vir}  {macl cs-table.csm,vir}        ;Virtual BBS
 {:exc}  {macl cs-table.csm,exc}        ;EXEC-PC BBS

 Ŀ
   .FON -> COMMO.MAC -> CS-TABLE.CSM -> CS-LOGON.CSM  
 

  *  :qwk is the standard mailrun link in your .FON directory.

 {:qwk}  {macl cs-table.csm,qwk}           ;fetch BBS particulars

  *  The two subroutines below are called from CS-LOGON.CSM

 {:chm}  {capt} {}
 {:aln}  {dial-c 45,}  {retu}
