written by Bill Joy; add Berkeley specific copyright
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 4 Jan 1989 13:17:57 +0000 (05:17 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 4 Jan 1989 13:17:57 +0000 (05:17 -0800)
SCCS-vsn: lib/libterm/Makefile 5.4
SCCS-vsn: lib/libterm/TEST/tc1.c 5.2
SCCS-vsn: lib/libterm/TEST/tc2.c 5.2
SCCS-vsn: lib/libterm/TEST/tc3.c 5.2
SCCS-vsn: lib/libterm/termcap.c 5.3
SCCS-vsn: lib/libterm/tgoto.c 5.2
SCCS-vsn: lib/libterm/tputs.c 5.2

usr/src/lib/libterm/Makefile
usr/src/lib/libterm/TEST/tc1.c
usr/src/lib/libterm/TEST/tc2.c
usr/src/lib/libterm/TEST/tc3.c
usr/src/lib/libterm/termcap.c
usr/src/lib/libterm/tgoto.c
usr/src/lib/libterm/tputs.c

index 0d30533..ed76f11 100644 (file)
@@ -1,9 +1,20 @@
 #
 #
-# Copyright (c) 1987 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
+# Copyright (c) 1987 The Regents of the University of California.
+# All rights reserved.
 #
 #
-#      @(#)Makefile    5.3     (Berkeley)      %G%
+# Redistribution and use in source and binary forms are permitted
+# provided that the above copyright notice and this paragraph are
+# duplicated in all such forms and that any documentation,
+# advertising materials, and other materials related to such
+# distribution and use acknowledge that the software was developed
+# by the University of California, Berkeley.  The name of the
+# University may not be used to endorse or promote products derived
+# from this software without specific prior written permission.
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
+#      @(#)Makefile    5.4 (Berkeley) %G%
 #
 CFLAGS=        -O -DCM_N -DCM_GT -DCM_B -DCM_D
 LIBC=  /lib/libc.a
 #
 CFLAGS=        -O -DCM_N -DCM_GT -DCM_B -DCM_D
 LIBC=  /lib/libc.a
@@ -29,13 +40,16 @@ test:
        ${CC} ${CFLAGS} -o tc2 tc2.c termcap.a
        ${CC} ${CFLAGS} -o tc3 tc3.c termcap.a
 
        ${CC} ${CFLAGS} -o tc2 tc2.c termcap.a
        ${CC} ${CFLAGS} -o tc3 tc3.c termcap.a
 
-clean: FRC
+clean:
        rm -f ${OBJS} core profiled/*.o termcap.a termcap_p.a
 
        rm -f ${OBJS} core profiled/*.o termcap.a termcap_p.a
 
-depend: FRC
+cleandir: clean
+       rm -f ${MAN} tags .depend
+
+depend:
        mkdep ${CFLAGS} ${SRCS}
 
        mkdep ${CFLAGS} ${SRCS}
 
-install: FRC
+install:
        install -o bin -g bin -m 644 termcap.a ${DESTDIR}/usr/lib/libtermcap.a
        rm -f ${DESTDIR}/usr/lib/libtermlib.a
        ln ${DESTDIR}/usr/lib/libtermcap.a ${DESTDIR}/usr/lib/libtermlib.a
        install -o bin -g bin -m 644 termcap.a ${DESTDIR}/usr/lib/libtermcap.a
        rm -f ${DESTDIR}/usr/lib/libtermlib.a
        ln ${DESTDIR}/usr/lib/libtermcap.a ${DESTDIR}/usr/lib/libtermlib.a
@@ -45,21 +59,8 @@ install: FRC
        ln ${DESTDIR}/usr/lib/libtermcap_p.a ${DESTDIR}/usr/lib/libtermlib_p.a
        ranlib ${DESTDIR}/usr/lib/libtermcap_p.a
 
        ln ${DESTDIR}/usr/lib/libtermcap_p.a ${DESTDIR}/usr/lib/libtermlib_p.a
        ranlib ${DESTDIR}/usr/lib/libtermcap_p.a
 
-lint: FRC
+lint:
        lint ${CFLAGS} ${SRCS}
 
        lint ${CFLAGS} ${SRCS}
 
-tags: FRC
+tags:
        ctags ${SRCS}
        ctags ${SRCS}
-
-FRC:
-
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-termcap.o: termcap.c /usr/include/ctype.h
-tgoto.o: tgoto.c
-tputs.o: tputs.c /usr/include/sgtty.h /usr/include/sys/ioctl.h
-tputs.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h
-tputs.o: /usr/include/ctype.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 12ed3dd..e90dcb7 100644 (file)
@@ -1,12 +1,29 @@
 /*
 /*
- * 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) 1980 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)tc1.c      5.1 (Berkeley) %G%";
-#endif not lint
+char copyright[] =
+"@(#) Copyright (c) 1980 The Regents of the University of California.\n\
+ All rights reserved.\n";
+#endif /* not lint */
+
+#ifndef lint
+static char sccsid[] = "@(#)tc1.c      5.2 (Berkeley) %G%";
+#endif /* not lint */
 
 /*
  * tc1 [term]
 
 /*
  * tc1 [term]
index 48da509..7ff0cbf 100644 (file)
@@ -1,12 +1,29 @@
 /*
 /*
- * 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) 1980 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)tc2.c      5.1 (Berkeley) %G%";
-#endif not lint
+char copyright[] =
+"@(#) Copyright (c) 1980 The Regents of the University of California.\n\
+ All rights reserved.\n";
+#endif /* not lint */
+
+#ifndef lint
+static char sccsid[] = "@(#)tc2.c      5.2 (Berkeley) %G%";
+#endif /* not lint */
 
 /*
  * tc2 [term]
 
 /*
  * tc2 [term]
index c756144..a7d1e24 100644 (file)
@@ -1,12 +1,29 @@
 /*
 /*
- * 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) 1980 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)tc3.c      5.1 (Berkeley) %G%";
-#endif not lint
+char copyright[] =
+"@(#) Copyright (c) 1980 The Regents of the University of California.\n\
+ All rights reserved.\n";
+#endif /* not lint */
+
+#ifndef lint
+static char sccsid[] = "@(#)tc3.c      5.2 (Berkeley) %G%";
+#endif /* not lint */
 
 /*
  * tc3 [term]
 
 /*
  * tc3 [term]
index 6f794c9..b3ae0fe 100644 (file)
@@ -1,12 +1,23 @@
 /*
 /*
- * 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) 1980 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)termcap.c  5.2 (Berkeley) %G%";
-#endif not lint
+static char sccsid[] = "@(#)termcap.c  5.3 (Berkeley) %G%";
+#endif /* not lint */
 
 #define        BUFSIZ          1024
 #define MAXHOP         32      /* max number of tc= indirections */
 
 #define        BUFSIZ          1024
 #define MAXHOP         32      /* max number of tc= indirections */
index 99714d8..87ed779 100644 (file)
@@ -1,12 +1,23 @@
 /*
 /*
- * 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) 1980 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)tgoto.c    5.1 (Berkeley) %G%";
-#endif not lint
+static char sccsid[] = "@(#)tgoto.c    5.2 (Berkeley) %G%";
+#endif /* not lint */
 
 #define        CTRL(c) ('c' & 037)
 
 
 #define        CTRL(c) ('c' & 037)
 
index 105d421..03dbdba 100644 (file)
@@ -1,12 +1,23 @@
 /*
 /*
- * 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) 1980 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)tputs.c    5.1 (Berkeley) %G%";
-#endif not lint
+static char sccsid[] = "@(#)tputs.c    5.2 (Berkeley) %G%";
+#endif /* not lint */
 
 #include <sgtty.h>
 #include <ctype.h>
 
 #include <sgtty.h>
 #include <ctype.h>