Add copyright
authorDistribution Folks <dist@ucbvax.Berkeley.EDU>
Sat, 8 Jun 1985 02:34:43 +0000 (18:34 -0800)
committerDistribution Folks <dist@ucbvax.Berkeley.EDU>
Sat, 8 Jun 1985 02:34:43 +0000 (18:34 -0800)
SCCS-vsn: lib/libcurses/addch.c 5.1
SCCS-vsn: lib/libcurses/box.c 5.1
SCCS-vsn: lib/libcurses/clear.c 5.1
SCCS-vsn: lib/libcurses/clrtobot.c 5.1
SCCS-vsn: lib/libcurses/clrtoeol.c 5.1
SCCS-vsn: lib/libcurses/setterm.c 5.1
SCCS-vsn: lib/libcurses/curses.c 5.1
SCCS-vsn: lib/libcurses/delch.c 5.1
SCCS-vsn: lib/libcurses/deleteln.c 5.1
SCCS-vsn: lib/libcurses/delwin.c 5.1
SCCS-vsn: lib/libcurses/endwin.c 5.1
SCCS-vsn: lib/libcurses/erase.c 5.1
SCCS-vsn: lib/libcurses/fullname.c 5.1
SCCS-vsn: lib/libcurses/getch.c 5.1
SCCS-vsn: lib/libcurses/getstr.c 5.1
SCCS-vsn: lib/libcurses/id_subwins.c 5.1
SCCS-vsn: lib/libcurses/idlok.c 5.1
SCCS-vsn: lib/libcurses/initscr.c 5.1
SCCS-vsn: lib/libcurses/insch.c 5.1

19 files changed:
usr/src/lib/libcurses/addch.c
usr/src/lib/libcurses/box.c
usr/src/lib/libcurses/clear.c
usr/src/lib/libcurses/clrtobot.c
usr/src/lib/libcurses/clrtoeol.c
usr/src/lib/libcurses/curses.c
usr/src/lib/libcurses/delch.c
usr/src/lib/libcurses/deleteln.c
usr/src/lib/libcurses/delwin.c
usr/src/lib/libcurses/endwin.c
usr/src/lib/libcurses/erase.c
usr/src/lib/libcurses/fullname.c
usr/src/lib/libcurses/getch.c
usr/src/lib/libcurses/getstr.c
usr/src/lib/libcurses/id_subwins.c
usr/src/lib/libcurses/idlok.c
usr/src/lib/libcurses/initscr.c
usr/src/lib/libcurses/insch.c
usr/src/lib/libcurses/setterm.c

index e823d77..70960fa 100644 (file)
@@ -1,9 +1,18 @@
+/*
+ * 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[] = "@(#)addch.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine adds the character to the current position
  *
 # include      "curses.ext"
 
 /*
  *     This routine adds the character to the current position
  *
- * @(#)addch.c 1.7 (Berkeley) %G%
  */
 waddch(win, c)
 reg WINDOW     *win;
  */
 waddch(win, c)
 reg WINDOW     *win;
index 7cd4800..512c3bc 100644 (file)
@@ -1,10 +1,19 @@
+/*
+ * 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[] = "@(#)box.c      5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine draws a box around the given window with "vert"
  * as the vertical delimiting char, and "hor", as the horizontal one.
  *
 # include      "curses.ext"
 
 /*
  *     This routine draws a box around the given window with "vert"
  * as the vertical delimiting char, and "hor", as the horizontal one.
  *
- * @(#)box.c   1.3 (Berkeley) %G%
  */
 box(win, vert, hor)
 reg WINDOW     *win;
  */
 box(win, vert, hor)
 reg WINDOW     *win;
index 9308d4c..0aa12f1 100644 (file)
@@ -1,9 +1,18 @@
+/*
+ * 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[] = "@(#)clear.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine clears the window.
  *
 # include      "curses.ext"
 
 /*
  *     This routine clears the window.
  *
- * @(#)clear.c 1.2 (Berkeley) %G%
  */
 wclear(win)
 reg WINDOW     *win; {
  */
 wclear(win)
 reg WINDOW     *win; {
index cfc416c..373d180 100644 (file)
@@ -1,9 +1,18 @@
+/*
+ * 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[] = "@(#)clrtobot.c 5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine erases everything on the window.
  *
 # include      "curses.ext"
 
 /*
  *     This routine erases everything on the window.
  *
- * @(#)clrtobot.c      1.2 (Berkeley) %G%
  */
 wclrtobot(win)
 reg WINDOW     *win; {
  */
 wclrtobot(win)
 reg WINDOW     *win; {
index 2fd9451..f527186 100644 (file)
@@ -1,9 +1,18 @@
+/*
+ * 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[] = "@(#)clrtoeol.c 5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine clears up to the end of line
  *
 # include      "curses.ext"
 
 /*
  *     This routine clears up to the end of line
  *
- * @(#)clrtoeol.c      1.3 (Berkeley) %G%
  */
 wclrtoeol(win)
 reg WINDOW     *win; {
  */
 wclrtoeol(win)
 reg WINDOW     *win; {
index 82dc0a5..e733fd6 100644 (file)
@@ -1,7 +1,16 @@
+/*
+ * 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[] = "@(#)curses.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Define global variables
  *
 /*
  * Define global variables
  *
- * @(#)curses.c        1.4 (Berkeley) %G%
  */
 # include      "curses.h"
 
  */
 # include      "curses.h"
 
index c633db6..ceaec8c 100644 (file)
@@ -1,10 +1,19 @@
+/*
+ * 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[] = "@(#)delch.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine performs an insert-char on the line, leaving
  * (_cury,_curx) unchanged.
  *
 # include      "curses.ext"
 
 /*
  *     This routine performs an insert-char on the line, leaving
  * (_cury,_curx) unchanged.
  *
- * @(#)delch.c 1.3 (Berkeley) %G%
  */
 wdelch(win)
 reg WINDOW     *win; {
  */
 wdelch(win)
 reg WINDOW     *win; {
index 9ece3d9..b217ca3 100644 (file)
@@ -1,10 +1,19 @@
+/*
+ * 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[] = "@(#)deleteln.c 5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine deletes a line from the screen.  It leaves
  * (_cury,_curx) unchanged.
  *
 # include      "curses.ext"
 
 /*
  *     This routine deletes a line from the screen.  It leaves
  * (_cury,_curx) unchanged.
  *
- * @(#)deleteln.c      1.5 (Berkeley) %G%
  */
 wdeleteln(win)
 reg WINDOW     *win;
  */
 wdeleteln(win)
 reg WINDOW     *win;
index 9d75701..d58a240 100644 (file)
@@ -1,9 +1,18 @@
+/*
+ * 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[] = "@(#)delwin.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine deletes a window and releases it back to the system.
  *
 # include      "curses.ext"
 
 /*
  *     This routine deletes a window and releases it back to the system.
  *
- * @(#)delwin.c        1.6 (Berkeley) %G%
  */
 delwin(win)
 reg WINDOW     *win; {
  */
 delwin(win)
 reg WINDOW     *win; {
index 730bb9f..033dc99 100644 (file)
@@ -1,7 +1,16 @@
+/*
+ * 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[] = "@(#)endwin.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Clean things up before exiting
  *
 /*
  * Clean things up before exiting
  *
- * @(#)endwin.c        1.2 (Berkeley) %G%
  */
 
 # include      "curses.ext"
  */
 
 # include      "curses.ext"
index c5ad32b..023b651 100644 (file)
@@ -1,9 +1,18 @@
+/*
+ * 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[] = "@(#)erase.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine erases everything on the window.
  *
 # include      "curses.ext"
 
 /*
  *     This routine erases everything on the window.
  *
- * @(#)erase.c 1.3 (Berkeley) %G%
  */
 werase(win)
 reg WINDOW     *win; {
  */
 werase(win)
 reg WINDOW     *win; {
index e8fd3c6..514dc85 100644 (file)
@@ -1,10 +1,19 @@
+/*
+ * 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[] = "@(#)fullname.c 5.1 (Berkeley) %G%";
+#endif not lint
+
 # define       reg     register
 
 /*
  *     This routine fills in "def" with the full name of the terminal.
  * This is assumed to be the last name in the list of aliases.
  *
 # define       reg     register
 
 /*
  *     This routine fills in "def" with the full name of the terminal.
  * This is assumed to be the last name in the list of aliases.
  *
- * @(#)fullname.c      1.1 (Berkeley) %G%
  */
 char *
 fullname(bp, def)
  */
 char *
 fullname(bp, def)
index cff857f..1dddae8 100644 (file)
@@ -1,9 +1,18 @@
+/*
+ * 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[] = "@(#)getch.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine reads in a character from the window.
  *
 # include      "curses.ext"
 
 /*
  *     This routine reads in a character from the window.
  *
- * @(#)getch.c 1.3 (Berkeley) %G%
  */
 wgetch(win)
 reg WINDOW     *win; {
  */
 wgetch(win)
 reg WINDOW     *win; {
index d488552..972e301 100644 (file)
@@ -1,9 +1,18 @@
+/*
+ * 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[] = "@(#)getstr.c   5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine gets a string starting at (_cury,_curx)
  *
 # include      "curses.ext"
 
 /*
  *     This routine gets a string starting at (_cury,_curx)
  *
- * @(#)getstr.c        1.5 (Berkeley) %G%
  */
 wgetstr(win,str)
 reg WINDOW     *win; 
  */
 wgetstr(win,str)
 reg WINDOW     *win; 
index ebd25c4..59c237b 100644 (file)
@@ -1,10 +1,19 @@
+/*
+ * 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[] = "@(#)id_subwins.c       5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  * _id_subwins:
  *     Re-sync the pointers to _y for all the subwindows.
  *
 # include      "curses.ext"
 
 /*
  * _id_subwins:
  *     Re-sync the pointers to _y for all the subwindows.
  *
- * @(#)id_subwins.c    1.1 (Berkeley) %G%
  */
 _id_subwins(orig)
 register WINDOW        *orig;
  */
 _id_subwins(orig)
 register WINDOW        *orig;
index 886fe9b..0970bce 100644 (file)
@@ -1,3 +1,13 @@
+/*
+ * 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[] = "@(#)idlok.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
 # include      "curses.ext"
 
 /*
@@ -5,7 +15,6 @@
  *     Turn on and off using insert/deleteln sequences for the given
  *     window.
  *
  *     Turn on and off using insert/deleteln sequences for the given
  *     window.
  *
- * @(#)idlok.c 1.1 (Berkeley) %G%
  */
 idlok(win, bf)
 register WINDOW        *win;
  */
 idlok(win, bf)
 register WINDOW        *win;
index bec3007..15539b6 100644 (file)
@@ -1,3 +1,13 @@
+/*
+ * 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[] = "@(#)initscr.c  5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 # include      <signal.h>
 
 # include      "curses.ext"
 # include      <signal.h>
 
@@ -6,7 +16,6 @@ extern char    *getenv();
 /*
  *     This routine initializes the current and standard screen.
  *
 /*
  *     This routine initializes the current and standard screen.
  *
- * @(#)initscr.c       1.6 (Berkeley) %G%
  */
 WINDOW *
 initscr() {
  */
 WINDOW *
 initscr() {
index 3a0c886..0d8fd3f 100644 (file)
@@ -1,10 +1,19 @@
+/*
+ * 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[] = "@(#)insch.c    5.1 (Berkeley) %G%";
+#endif not lint
+
 # include      "curses.ext"
 
 /*
  *     This routine performs an insert-char on the line, leaving
  * (_cury,_curx) unchanged.
  *
 # include      "curses.ext"
 
 /*
  *     This routine performs an insert-char on the line, leaving
  * (_cury,_curx) unchanged.
  *
- * @(#)insch.c 1.3 (Berkeley) %G%
  */
 winsch(win, c)
 reg WINDOW     *win;
  */
 winsch(win, c)
 reg WINDOW     *win;
index 2ff70d5..4801356 100644 (file)
@@ -1,7 +1,16 @@
+/*
+ * 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[] = "@(#)setterm.c  5.1 (Berkeley) %G%";
+#endif not lint
+
 /*
  * Terminal initialization routines.
  *
 /*
  * Terminal initialization routines.
  *
- * @(#)setterm.c       1.17 (Berkeley) %G%
  */
 
 # include      "curses.ext"
  */
 
 # include      "curses.ext"