home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1
/
HamRadio.cdr
/
misc
/
monax2
/
rmain.c
< prev
next >
Wrap
Text File
|
1987-10-18
|
1KB
|
59 lines
/* rmain.c - Report tool for use with STATS AX.25 monitor program.
This module is part of report.exe
Language = Microsoft C version 4.0
This source is distributed freely and may be copied and
redistributed with the following provisos:
You may not sell it, nor may you charge for making
copies beyond the actual cost of mailing and media.
Written by Skip Hansen WB6YMH and Harold Price NK6K.
Feedback is desired.
RCP/M (213) 541-2503 300/1200/2400 baud
or via packet WB6YMH @ WB6YMH-2 or
NK6K @ NK6K
Modification history:
8/10/87 NK6K: Initial release.
ver 1.0
10/18/87 NK6K: First general release.
ver 1.1
*/
/* Main program for report.exe */
main (argc, argv)
int argc;
char *argv[];
{
int i,j;
char s[128];
cprintf("REPORT - Version 1.1 \r\n");
cprintf("October 1987, written by NK6K and WB6YMH\r\n");
if (argc>1) { /* package up command line args for parser */
j=0;
for (i=1;i<argc;i++) {
while(*argv[i]!='\0') {
s[j]=*argv[i];
j++;
*argv[i]++;
}
s[j++]=' ';
}
s[j-1]='\0';
parse(1,s);
}
for(;;){
cprintf("cmd:");
parse(0,s);
}
}