Init
This commit is contained in:
26
lib/libplot/plot/Makefile
Executable file
26
lib/libplot/plot/Makefile
Executable file
@@ -0,0 +1,26 @@
|
||||
#
|
||||
#ident "@(#)Makefile 1.5 92/12/16 SMI"
|
||||
#
|
||||
# Copyright (c) 1989 by Sun Microsystems, Inc.
|
||||
#
|
||||
# lib/libplot/plot/Makefile
|
||||
#
|
||||
LIBRARY= libplot.a
|
||||
|
||||
OBJECTS= \
|
||||
arc.o box.o circle.o close.o cont.o dot.o erase.o label.o \
|
||||
line.o linmod.o move.o open.o point.o putsi.o space.o
|
||||
|
||||
# include library definitions
|
||||
include ../../Makefile.lib
|
||||
|
||||
# TXTS allows the AT&T makefile to be bootstrapped into the NSE.
|
||||
|
||||
.KEEP_STATE:
|
||||
|
||||
all: $(LIBS)
|
||||
|
||||
install: $(ROOTLIBS)
|
||||
|
||||
# include library targets
|
||||
include ../../Makefile.targ
|
||||
19
lib/libplot/plot/arc.c
Executable file
19
lib/libplot/plot/arc.c
Executable file
@@ -0,0 +1,19 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)arc.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
arc(xi,yi,x0,y0,x1,y1){
|
||||
putc('a',stdout);
|
||||
putsi(xi);
|
||||
putsi(yi);
|
||||
putsi(x0);
|
||||
putsi(y0);
|
||||
putsi(x1);
|
||||
putsi(y1);
|
||||
}
|
||||
18
lib/libplot/plot/box.c
Executable file
18
lib/libplot/plot/box.c
Executable file
@@ -0,0 +1,18 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)box.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
box(x0, y0, x1, y1)
|
||||
{
|
||||
move(x0, y0);
|
||||
cont(x0, y1);
|
||||
cont(x1, y1);
|
||||
cont(x1, y0);
|
||||
cont(x0, y0);
|
||||
move(x1, y1);
|
||||
}
|
||||
16
lib/libplot/plot/circle.c
Executable file
16
lib/libplot/plot/circle.c
Executable file
@@ -0,0 +1,16 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)circle.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
circle(x,y,r){
|
||||
putc('c',stdout);
|
||||
putsi(x);
|
||||
putsi(y);
|
||||
putsi(r);
|
||||
}
|
||||
16
lib/libplot/plot/close.c
Executable file
16
lib/libplot/plot/close.c
Executable file
@@ -0,0 +1,16 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)close.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
closevt(){
|
||||
fflush(stdout);
|
||||
}
|
||||
closepl(){
|
||||
fflush(stdout);
|
||||
}
|
||||
15
lib/libplot/plot/cont.c
Executable file
15
lib/libplot/plot/cont.c
Executable file
@@ -0,0 +1,15 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)cont.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
cont(xi,yi){
|
||||
putc('n',stdout);
|
||||
putsi(xi);
|
||||
putsi(yi);
|
||||
}
|
||||
21
lib/libplot/plot/dot.c
Executable file
21
lib/libplot/plot/dot.c
Executable file
@@ -0,0 +1,21 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)dot.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
dot(xi,yi,dx,n,pat)
|
||||
int pat[];
|
||||
{
|
||||
int i;
|
||||
putc('d',stdout);
|
||||
putsi(xi);
|
||||
putsi(yi);
|
||||
putsi(dx);
|
||||
putsi(n);
|
||||
for(i=0; i<n; i++)putsi(pat[i]);
|
||||
}
|
||||
13
lib/libplot/plot/erase.c
Executable file
13
lib/libplot/plot/erase.c
Executable file
@@ -0,0 +1,13 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)erase.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
erase(){
|
||||
putc('e',stdout);
|
||||
}
|
||||
18
lib/libplot/plot/label.c
Executable file
18
lib/libplot/plot/label.c
Executable file
@@ -0,0 +1,18 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)label.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
label(s)
|
||||
char *s;
|
||||
{
|
||||
int i;
|
||||
putc('t',stdout);
|
||||
for(i=0;s[i];)putc(s[i++],stdout);
|
||||
putc('\n',stdout);
|
||||
}
|
||||
17
lib/libplot/plot/line.c
Executable file
17
lib/libplot/plot/line.c
Executable file
@@ -0,0 +1,17 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)line.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
line(x0,y0,x1,y1){
|
||||
putc('l',stdout);
|
||||
putsi(x0);
|
||||
putsi(y0);
|
||||
putsi(x1);
|
||||
putsi(y1);
|
||||
}
|
||||
18
lib/libplot/plot/linmod.c
Executable file
18
lib/libplot/plot/linmod.c
Executable file
@@ -0,0 +1,18 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)linmod.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
linemod(s)
|
||||
char *s;
|
||||
{
|
||||
int i;
|
||||
putc('f',stdout);
|
||||
for(i=0;s[i];)putc(s[i++],stdout);
|
||||
putc('\n',stdout);
|
||||
}
|
||||
15
lib/libplot/plot/move.c
Executable file
15
lib/libplot/plot/move.c
Executable file
@@ -0,0 +1,15 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)move.c 1.6 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
move(xi,yi){
|
||||
putc('m',stdout);
|
||||
putsi(xi);
|
||||
putsi(yi);
|
||||
}
|
||||
13
lib/libplot/plot/open.c
Executable file
13
lib/libplot/plot/open.c
Executable file
@@ -0,0 +1,13 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)open.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
openvt(){
|
||||
}
|
||||
openpl(){
|
||||
}
|
||||
15
lib/libplot/plot/point.c
Executable file
15
lib/libplot/plot/point.c
Executable file
@@ -0,0 +1,15 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)point.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
point(xi,yi){
|
||||
putc('p',stdout);
|
||||
putsi(xi);
|
||||
putsi(yi);
|
||||
}
|
||||
14
lib/libplot/plot/putsi.c
Executable file
14
lib/libplot/plot/putsi.c
Executable file
@@ -0,0 +1,14 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)putsi.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
putsi(a){
|
||||
putc((char)a,stdout);
|
||||
putc((char)(a>>8),stdout);
|
||||
}
|
||||
17
lib/libplot/plot/space.c
Executable file
17
lib/libplot/plot/space.c
Executable file
@@ -0,0 +1,17 @@
|
||||
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
||||
/* All Rights Reserved */
|
||||
|
||||
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
||||
/* The copyright notice above does not evidence any */
|
||||
/* actual or intended publication of such source code. */
|
||||
|
||||
#ident "@(#)space.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
||||
|
||||
#include <stdio.h>
|
||||
space(x0,y0,x1,y1){
|
||||
putc('s',stdout);
|
||||
putsi(x0);
|
||||
putsi(y0);
|
||||
putsi(x1);
|
||||
putsi(y1);
|
||||
}
|
||||
Reference in New Issue
Block a user