home *** CD-ROM | disk | FTP | other *** search
- #include "crcpchdr.h"
-
- main(argc,argv)
- int argc;
- char *argv[];
- {
- char c,d,*options;
- int quiet;
-
- printf("%s %s %s\r\n",SYSNAME,SYSVER,SYSOWNER);
-
- if (initialize(argc,argv)==0) forever {
- while(log_on()!=0);
- printf("Time in: %s\r\n",timedate());
- if (debug) printf("Baud: %s WL: %s P: %s\r\n",baud,wordlen,parity);
- if (*wordlen!='8') printf("NOTE: XMODEM disabled; parity not 8,N\r\n");
- if (maxconnect!=defmaxconnect) {
- printf("NOTE: Your session will be limited to %s.\r\n",
- elapsed_time((long)(SECPERMIN*maxconnect)));
- printf(" Please keep an eye on the clock\r\n\r\n");
- }
- if (!nonews) typeifexist(ipath,NEWS_MSG,TRUE);
- message(); /* Type "READ.ME" if exists */
- mail('P',"","Q"); /* Poll for mail */
- quiet = FALSE;
- options = "";
- c=menu(&options,&quiet);
- log_off(c,options,quiet);
- }
- }
-
- /* END OF MAIN PROCEDURE */
-