plottoa.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.
*/
/*
* Convert the standard plot input into a readable form for debugging.
*/
#include <stdio.h>
float deltx;
float delty;
char **argv;
{
int std=1;
while(argc-- > 1) {
case 'l':
break;
case 'w':
break;
}
else {
std = 0;
exit(1);
}
}
argv++;
}
if (std)
exit(0);
}
{
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':
break;
}
}
closepl();
}
/* get an integer stored in 2 ascii bytes. */
{
short a, b;
return(EOF);
return(EOF);
a = a<<8;
return(a|b);
}
char *s;
{
if(*s == '\n')
break;
*s = '\0';
}
/* Print out the arguments to plot routines. */
{
}
openpl()
{
}
closepl()
{
}
erase()
{
printf( "e\n" );
}
{
}
{
}
{
}
{
}
label(s)
char *s;
{
printf( "t%s\n\n", s );
}
{
}
{
}
char *line;
{
}
/* don't know what this should do */
char *pat;
{
}