From: Keith Bostic Date: Wed, 4 Jan 1989 13:17:57 +0000 (-0800) Subject: written by Bill Joy; add Berkeley specific copyright X-Git-Tag: BSD-4_3_Net_1^2^3~1264 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/31a14b658ecd0e1dcb718f63dbdc872a145e1a04 written by Bill Joy; add Berkeley specific copyright 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 --- diff --git a/usr/src/lib/libterm/Makefile b/usr/src/lib/libterm/Makefile index 0d30533c0a..ed76f1184c 100644 --- a/usr/src/lib/libterm/Makefile +++ b/usr/src/lib/libterm/Makefile @@ -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 @@ -29,13 +40,16 @@ test: ${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 -depend: FRC +cleandir: clean + rm -f ${MAN} tags .depend + +depend: 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 @@ -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 -lint: FRC +lint: lint ${CFLAGS} ${SRCS} -tags: FRC +tags: 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 diff --git a/usr/src/lib/libterm/TEST/tc1.c b/usr/src/lib/libterm/TEST/tc1.c index 12ed3dde95..e90dcb7e5b 100644 --- a/usr/src/lib/libterm/TEST/tc1.c +++ b/usr/src/lib/libterm/TEST/tc1.c @@ -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 -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] diff --git a/usr/src/lib/libterm/TEST/tc2.c b/usr/src/lib/libterm/TEST/tc2.c index 48da509b4a..7ff0cbfb5e 100644 --- a/usr/src/lib/libterm/TEST/tc2.c +++ b/usr/src/lib/libterm/TEST/tc2.c @@ -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 -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] diff --git a/usr/src/lib/libterm/TEST/tc3.c b/usr/src/lib/libterm/TEST/tc3.c index c756144973..a7d1e241b7 100644 --- a/usr/src/lib/libterm/TEST/tc3.c +++ b/usr/src/lib/libterm/TEST/tc3.c @@ -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 -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] diff --git a/usr/src/lib/libterm/termcap.c b/usr/src/lib/libterm/termcap.c index 6f794c97f6..b3ae0fe220 100644 --- a/usr/src/lib/libterm/termcap.c +++ b/usr/src/lib/libterm/termcap.c @@ -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 -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 */ diff --git a/usr/src/lib/libterm/tgoto.c b/usr/src/lib/libterm/tgoto.c index 99714d85fc..87ed77904e 100644 --- a/usr/src/lib/libterm/tgoto.c +++ b/usr/src/lib/libterm/tgoto.c @@ -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 -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) diff --git a/usr/src/lib/libterm/tputs.c b/usr/src/lib/libterm/tputs.c index 105d421473..03dbdba9ae 100644 --- a/usr/src/lib/libterm/tputs.c +++ b/usr/src/lib/libterm/tputs.c @@ -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 -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 #include