SCCS-vsn: old/lib2648/drawbox.c 5.1
SCCS-vsn: old/lib2648/dumpmat.c 5.1
SCCS-vsn: old/lib2648/emptyrow.c 5.1
SCCS-vsn: old/lib2648/error.c 5.1
SCCS-vsn: old/lib2648/escseq.c 5.1
SCCS-vsn: old/lib2648/gdefault.c 5.1
SCCS-vsn: old/lib2648/gon.c 5.1
SCCS-vsn: old/lib2648/kon.c 5.1
SCCS-vsn: old/lib2648/line.c 5.1
SCCS-vsn: old/lib2648/mat.c 5.1
SCCS-vsn: old/lib2648/message.c 5.1
SCCS-vsn: old/lib2648/minmax.c 5.1
SCCS-vsn: old/lib2648/motion.c 5.1
SCCS-vsn: old/lib2648/move.c 5.1
SCCS-vsn: lib/Makefile 5.1
SCCS-vsn: usr.bin/tip/vars.c 5.1
SCCS-vsn: usr.bin/tip/value.c 5.1
SCCS-vsn: usr.bin/tip/uucplock.c 5.1
SCCS-vsn: usr.bin/tip/tipout.c 5.1
SCCS-vsn: usr.bin/tip/tip.h 5.1
SCCS-vsn: usr.bin/tip/tip.c 5.1
SCCS-vsn: usr.bin/tip/remote.c 5.1
SCCS-vsn: usr.bin/tip/remcap.c 5.1
SCCS-vsn: usr.bin/tip/partab.c 5.1
SCCS-vsn: usr.bin/tip/log.c 5.1
SCCS-vsn: usr.bin/tip/hunt.c 5.1
SCCS-vsn: usr.bin/tip/cu.c 5.1
SCCS-vsn: usr.bin/tip/cmdtab.c 5.1
SCCS-vsn: usr.bin/tip/cmds.c 5.1
SCCS-vsn: usr.bin/tip/acutab.c 5.1
SCCS-vsn: usr.bin/tip/aculib/ventel.c 5.1
SCCS-vsn: usr.bin/tip/aculib/dn11.c 5.1
SCCS-vsn: usr.bin/tip/aculib/hayes.c 5.1
SCCS-vsn: usr.bin/tip/aculib/v3451.c 5.1
SCCS-vsn: usr.bin/tip/aculib/v831.c 5.1
SCCS-vsn: libexec/getNAME/getNAME.c 5.1
SCCS-vsn: lib/libmp/gcd.c 5.1
SCCS-vsn: lib/libmp/madd.c 5.1
SCCS-vsn: lib/libmp/mdiv.c 5.1
SCCS-vsn: lib/libmp/mout.c 5.1
SCCS-vsn: lib/libmp/msqrt.c 5.1
SCCS-vsn: lib/libmp/mult.c 5.1
SCCS-vsn: lib/libmp/pow.c 5.1
SCCS-vsn: lib/libmp/util.c 5.1
44 files changed:
-# Makefile 4.12 85/04/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.
+#
+# @(#)Makefile 5.1 (Berkeley) %G%
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)gcd.c 5.1 (Berkeley) %G%";
+#endif not lint
#include <mp.h>
gcd(a,b,c) MINT *a,*b,*c;
#include <mp.h>
gcd(a,b,c) MINT *a,*b,*c;
-/* @(#)madd.c 4.1 %G% */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)madd.c 5.1 (Berkeley) %G%";
+#endif not lint
#include <mp.h>
m_add(a,b,c) struct mint *a,*b,*c;
#include <mp.h>
m_add(a,b,c) struct mint *a,*b,*c;
-/* @(#)mdiv.c 4.2 %G% */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)mdiv.c 5.1 (Berkeley) %G%";
+#endif not lint
#include <mp.h>
mdiv(a,b,q,r) MINT *a,*b,*q,*r;
#include <mp.h>
mdiv(a,b,q,r) MINT *a,*b,*q,*r;
-/* @(#)mout.c 4.2 %G% */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)mout.c 5.1 (Berkeley) %G%";
+#endif not lint
#include <stdio.h>
#include <mp.h>
#include <stdio.h>
#include <mp.h>
-/* @(#)msqrt.c 4.1 %G% */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)msqrt.c 5.1 (Berkeley) %G%";
+#endif not lint
#include <mp.h>
msqrt(a,b,r) MINT *a,*b,*r;
#include <mp.h>
msqrt(a,b,r) MINT *a,*b,*r;
-/* @(#)mult.c 4.1 %G% */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)mult.c 5.1 (Berkeley) %G%";
+#endif not lint
#include <mp.h>
mult(a,b,c) struct mint *a,*b,*c;
#include <mp.h>
mult(a,b,c) struct mint *a,*b,*c;
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)pow.c 5.1 (Berkeley) %G%";
+#endif not lint
#include <mp.h>
pow(a,b,c,d) MINT *a,*b,*c,*d;
#include <mp.h>
pow(a,b,c,d) MINT *a,*b,*c,*d;
-/* @(#)util.c 4.1 %G% */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)util.c 5.1 (Berkeley) %G%";
+#endif not lint
char *malloc();
#ifdef lint
char *malloc();
#ifdef lint
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char *sccsid = "@(#)getNAME.c 4.3 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)getNAME.c 5.1 (Berkeley) %G%";
+#endif not lint
/*
* Get name sections from manual pages.
/*
* Get name sections from manual pages.
-/* drawbox.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)drawbox.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* Draw a box around a window. The lower left corner of the box is at (r, c).
* Color is 1 for drawing a box, 0 for erasing.
/*
* Draw a box around a window. The lower left corner of the box is at (r, c).
* Color is 1 for drawing a box, 0 for erasing.
-/* dumpmat.c 4.2 83/06/10 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)dumpmat.c 5.1 (Berkeley) %G%";
+#endif not lint
-/* emptyrow.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)emptyrow.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* emptyrow: returns true if row r of m is all zeros.
*
/*
* emptyrow: returns true if row r of m is all zeros.
*
-/* error.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)error.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* error: default handling of errors.
*/
/*
* error: default handling of errors.
*/
-/* escseq.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)escseq.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* escseq: get us out of any escape sequence we are in the middle of
* and put us into the requested kind of escape sequence.
/*
* escseq: get us out of any escape sequence we are in the middle of
* and put us into the requested kind of escape sequence.
-/* gdefault.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)gdefault.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* reset terminal to default graphics state
*/
/*
* reset terminal to default graphics state
*/
-/* gon.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)gon.c 5.1 (Berkeley) %G%";
+#endif not lint
-/* kon.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)kon.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* Turn on keypad, so it sends codes instead of doing them in local.
*/
/*
* Turn on keypad, so it sends codes instead of doing them in local.
*/
-/* line.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)line.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* line: draw a line from point 1 to point 2.
*/
/*
* line: draw a line from point 1 to point 2.
*/
-/* mat.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)mat.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* mat: retrieve the value in m[r, c].
* rows and cols are the size of the matrix in all these routines.
/*
* mat: retrieve the value in m[r, c].
* rows and cols are the size of the matrix in all these routines.
-/* message.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)message.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* message: print str on the screen in the message area.
*/
/*
* message: print str on the screen in the message area.
*/
-/* minmax.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)minmax.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* minmax: find the 4 edges of the glyph within a window.
*/
/*
* minmax: find the 4 edges of the glyph within a window.
*/
-/* motion.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)motion.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* Move the pen to x, y. We assume we are already in ESCP mode.
*/
/*
* Move the pen to x, y. We assume we are already in ESCP mode.
*/
-/* move.c 4.1 83/03/09 */
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)move.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* move to (x, y). Both the _pen and cursor are supposed to be moved.
* We really just remember it for later, in case we move again.
/*
* move to (x, y). Both the _pen and cursor are supposed to be moved.
* We really just remember it for later, in case we move again.
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)dn11.c 4.14 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)dn11.c 5.1 (Berkeley) %G%";
+#endif not lint
/*
* Routines for dialing up on DN-11
/*
* Routines for dialing up on DN-11
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)hayes.c 1.1 (Berkeley) 85/04/11 ";
-#endif
+static char sccsid[] = "@(#)hayes.c 5.1 (Berkeley) %G%";
+#endif not lint
/*
* Routines for calling up on a Hayes Modem
/*
* Routines for calling up on a Hayes Modem
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)v3451.c 4.4 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)v3451.c 5.1 (Berkeley) %G%";
+#endif not lint
/*
* Routines for calling up on a Vadic 3451 Modem
/*
* Routines for calling up on a Vadic 3451 Modem
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)v831.c 4.5 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)v831.c 5.1 (Berkeley) %G%";
+#endif not lint
/*
* Routines for dialing up on Vadic 831
/*
* Routines for dialing up on Vadic 831
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)ventel.c 1.7 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)ventel.c 5.1 (Berkeley) %G%";
+#endif not lint
/*
* Routines for calling up on a Ventel Modem
/*
* Routines for calling up on a Ventel Modem
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)acutab.c 4.8 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)acutab.c 5.1 (Berkeley) %G%";
+#endif not lint
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)cmds.c 4.14 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)cmds.c 5.1 (Berkeley) %G%";
+#endif not lint
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)cmdtab.c 4.6 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)cmdtab.c 5.1 (Berkeley) %G%";
+#endif not lint
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)cu.c 4.6 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)cu.c 5.1 (Berkeley) %G%";
+#endif not lint
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)hunt.c 4.8 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)hunt.c 5.1 (Berkeley) %G%";
+#endif not lint
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)log.c 4.6 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)log.c 5.1 (Berkeley) %G%";
+#endif not lint
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)partab.c 4.2 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)partab.c 5.1 (Berkeley) %G%";
+#endif not lint
/*
* Even parity table for 0-0177
/*
* Even parity table for 0-0177
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)remcap.c 4.8 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)remcap.c 5.1 (Berkeley) %G%";
+#endif not lint
/*
* remcap - routines for dealing with the remote host data base
/*
* remcap - routines for dealing with the remote host data base
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)remote.c 4.7 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)remote.c 5.1 (Berkeley) %G%";
+#endif not lint
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+char copyright[] =
+"@(#) Copyright (c) 1983 Regents of the University of California.\n\
+ All rights reserved.\n";
+#endif not lint
+
-static char sccsid[] = "@(#)tip.c 4.18 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)tip.c 5.1 (Berkeley) %G%";
+#endif not lint
/*
* tip - UNIX link to other systems
/*
* tip - UNIX link to other systems
-/* tip.h 4.11 83/06/25 */
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ * @(#)tip.h 5.1 (Berkeley) %G%
+ */
/*
* tip - terminal interface program
/*
* tip - terminal interface program
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)tipout.c 4.10 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)tipout.c 5.1 (Berkeley) %G%";
+#endif not lint
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)uucplock.c 4.6 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)uucplock.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* defs that come from uucp.h
*/
/*
* defs that come from uucp.h
*/
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)value.c 4.5 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)value.c 5.1 (Berkeley) %G%";
+#endif not lint
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
-static char sccsid[] = "@(#)vars.c 4.6 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)vars.c 5.1 (Berkeley) %G%";
+#endif not lint