home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / C / CRCBBS.ARC / CRCPC0.C < prev    next >
Encoding:
C/C++ Source or Header  |  1985-10-22  |  898 b   |  34 lines

  1. #include    "crcpchdr.h"
  2.  
  3. main(argc,argv)
  4. int argc;
  5. char *argv[];
  6. {
  7. char c,d,*options;
  8. int quiet;
  9.  
  10. printf("%s %s %s\r\n",SYSNAME,SYSVER,SYSOWNER);
  11.  
  12. if (initialize(argc,argv)==0) forever {
  13.     while(log_on()!=0);
  14.     printf("Time in: %s\r\n",timedate());
  15.     if (debug) printf("Baud: %s WL: %s P: %s\r\n",baud,wordlen,parity);
  16.     if (*wordlen!='8') printf("NOTE: XMODEM disabled; parity not 8,N\r\n");
  17.     if (maxconnect!=defmaxconnect) {
  18.             printf("NOTE: Your session will be limited to %s.\r\n",
  19.             elapsed_time((long)(SECPERMIN*maxconnect)));
  20.         printf("      Please keep an eye on the clock\r\n\r\n");
  21.         }
  22.     if (!nonews) typeifexist(ipath,NEWS_MSG,TRUE);
  23.     message();        /* Type "READ.ME" if exists */
  24.     mail('P',"","Q");     /* Poll for mail    */
  25.     quiet = FALSE;
  26.     options = "";
  27.     c=menu(&options,&quiet);
  28.     log_off(c,options,quiet);
  29.     }
  30. }
  31.  
  32. /* END OF MAIN PROCEDURE */
  33. 
  34.