driver.c revision b7d62af5b42f0da2eb668e8d33d24d2f4fdd98a8
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
float deltx;
float delty;
int PlotRes;
int
{
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)
return (0);
}
static void
{
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. */
static int
{
short a, b;
return(EOF);
return(EOF);
a = a<<8;
return(a|b);
}
static void
{
if(*s == '\n')
break;
*s = '\0';
}