driver.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
/*
* Copyright (c) 1983, 1984 1985, 1986, 1987, 1988, Sun Microsystems, Inc.
* All Rights Reserved.
*/
#include <stdio.h>
float deltx;
float delty;
int PlotRes;
int argc;
char *argv[];
{
int std = 1;
char *progname;
if (argv[0][0] == '-') {
switch (argv[0][1]) {
case 'l':
break;
case 'w':
break;
case 'r':
break;
}
continue;
}
std = 0;
argv[0]);
exit(1);
}
}
if (std)
exit(0);
}
{
register int c;
char s[256];
int pat[256];
openpl();
switch(c) {
case 'm':
break;
case 'l':
break;
case 't':
label(s);
break;
case 'e':
erase();
break;
case 'p':
break;
case 'n':
break;
case 's':
break;
case 'a':
break;
case 'c':
break;
case 'f':
linemod(s);
break;
case 'd':
for(i=0; i<n; i++)
break;
}
}
closepl();
}
/* get an integer stored in 2 ascii bytes. */
{
short a, b;
return(EOF);
return(EOF);
a = a<<8;
return(a|b);
}
register char *s;
{
if(*s == '\n')
break;
*s = '\0';
}