SCCS-vsn: lib/libcurses/insertln.c 5.1
SCCS-vsn: lib/libcurses/longname.c 5.1
SCCS-vsn: lib/libcurses/move.c 5.1
SCCS-vsn: lib/libcurses/mvprintw.c 5.1
SCCS-vsn: lib/libcurses/mvscanw.c 5.1
SCCS-vsn: lib/libcurses/mvwin.c 5.1
SCCS-vsn: lib/libcurses/newwin.c 5.1
SCCS-vsn: lib/libcurses/overlay.c 5.1
SCCS-vsn: lib/libcurses/overwrite.c 5.1
SCCS-vsn: lib/libcurses/printw.c 5.1
SCCS-vsn: lib/libcurses/putchar.c 5.1
SCCS-vsn: lib/libcurses/scanw.c 5.1
SCCS-vsn: lib/libcurses/scroll.c 5.1
SCCS-vsn: lib/libcurses/standout.c 5.1
SCCS-vsn: lib/libcurses/toucholap.c 5.1
SCCS-vsn: lib/libcurses/touchwin.c 5.1
SCCS-vsn: lib/libcurses/curses.h 5.1
SCCS-vsn: lib/libcurses/curses.ext 5.1
18 files changed:
-/* curses.ext 1.3 83/07/02 */
+/*
+ * 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.ext 5.1 (Berkeley) %G%";
+#endif not lint
/*
* External variables for the curses library
/*
* External variables for the curses library
-/* %G% (Berkeley) @(#)curses.h 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.
+ *
+ * @(#)curses.h 5.1 (Berkeley) %G%
+ */
+
# ifndef WINDOW
# include <stdio.h>
# ifndef WINDOW
# include <stdio.h>
+/*
+ * 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[] = "@(#)insertln.c 5.1 (Berkeley) %G%";
+#endif not lint
+
# include "curses.ext"
/*
* This routine performs an insert-line on the window, leaving
* (_cury,_curx) unchanged.
*
# include "curses.ext"
/*
* This routine performs an insert-line on the window, leaving
* (_cury,_curx) unchanged.
*
- * @(#)insertln.c 1.5 (Berkeley) %G%
*/
winsertln(win)
reg WINDOW *win; {
*/
winsertln(win)
reg WINDOW *win; {
+/*
+ * 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[] = "@(#)longname.c 5.1 (Berkeley) %G%";
+#endif not lint
+
# define reg register
/*
* This routine fills in "def" with the long name of the terminal.
*
# define reg register
/*
* This routine fills in "def" with the long name of the terminal.
*
- * @(#)longname.c 1.2 (Berkeley) %G%
*/
char *
longname(bp, def)
*/
char *
longname(bp, def)
+/*
+ * 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
+
# include "curses.ext"
/*
* This routine moves the cursor to the given point
*
# include "curses.ext"
/*
* This routine moves the cursor to the given point
*
- * @(#)move.c 1.1 (Berkeley) %G%
*/
wmove(win, y, x)
reg WINDOW *win;
*/
wmove(win, y, x)
reg WINDOW *win;
+/*
+ * 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[] = "@(#)mvprintw.c 5.1 (Berkeley) %G%";
+#endif not lint
+
# include "curses.ext"
/*
* implement the mvprintw commands. Due to the variable number of
* arguments, they cannot be macros. Sigh....
*
# include "curses.ext"
/*
* implement the mvprintw commands. Due to the variable number of
* arguments, they cannot be macros. Sigh....
*
- * @(#)mvprintw.c 1.2 (Berkeley) %G%
*/
mvprintw(y, x, fmt, args)
*/
mvprintw(y, x, fmt, args)
+/*
+ * 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[] = "@(#)mvscanw.c 5.1 (Berkeley) %G%";
+#endif not lint
+
# include "curses.ext"
/*
* implement the mvscanw commands. Due to the variable number of
* arguments, they cannot be macros. Another sigh....
*
# include "curses.ext"
/*
* implement the mvscanw commands. Due to the variable number of
* arguments, they cannot be macros. Another sigh....
*
- * @(#)mvscanw.c 1.3 (Berkeley) %G%
*/
mvscanw(y, x, fmt, args)
*/
mvscanw(y, x, fmt, args)
+/*
+ * 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[] = "@(#)mvwin.c 5.1 (Berkeley) %G%";
+#endif not lint
+
# include "curses.ext"
/*
* relocate the starting position of a window
*
# include "curses.ext"
/*
* relocate the starting position of a window
*
- * @(#)mvwin.c 1.2 (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[] = "@(#)newwin.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* allocate space for and set up defaults for a new window
*
/*
* allocate space for and set up defaults for a new window
*
- * @(#)newwin.c 1.7 (Berkeley) %G%
*/
# include "curses.ext"
*/
# include "curses.ext"
+/*
+ * 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[] = "@(#)overlay.c 5.1 (Berkeley) %G%";
+#endif not lint
+
# include "curses.ext"
# include <ctype.h>
# include "curses.ext"
# include <ctype.h>
/*
* This routine writes win1 on win2 non-destructively.
*
/*
* This routine writes win1 on win2 non-destructively.
*
- * @(#)overlay.c 1.6 (Berkeley) %G%
*/
overlay(win1, win2)
reg WINDOW *win1, *win2; {
*/
overlay(win1, win2)
reg WINDOW *win1, *win2; {
+/*
+ * 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[] = "@(#)overwrite.c 5.1 (Berkeley) %G%";
+#endif not lint
+
# include "curses.ext"
# include <ctype.h>
# include "curses.ext"
# include <ctype.h>
/*
* This routine writes win1 on win2 destructively.
*
/*
* This routine writes win1 on win2 destructively.
*
- * @(#)overwrite.c 1.4 (Berkeley) %G%
*/
overwrite(win1, win2)
reg WINDOW *win1, *win2; {
*/
overwrite(win1, win2)
reg WINDOW *win1, *win2; {
+/*
+ * 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[] = "@(#)printw.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* printw and friends
*
/*
* printw and friends
*
- * @(#)printw.c 1.2 (Berkeley) %G%
*/
# include "curses.ext"
*/
# include "curses.ext"
-# include "curses.ext"
-
- * @(#)putchar.c 1.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[] = "@(#)putchar.c 5.1 (Berkeley) %G%";
+#endif not lint
+
+# include "curses.ext"
+
char
_putchar(c)
reg char c; {
char
_putchar(c)
reg char 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[] = "@(#)scanw.c 5.1 (Berkeley) %G%";
+#endif not lint
+
- * @(#)scanw.c 1.2 (Berkeley) %G%
*/
# include "curses.ext"
*/
# include "curses.ext"
+/*
+ * 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[] = "@(#)scroll.c 5.1 (Berkeley) %G%";
+#endif not lint
+
# include "curses.ext"
/*
* This routine scrolls the window up a line.
*
# include "curses.ext"
/*
* This routine scrolls the window up a line.
*
- * @(#)scroll.c 1.6 (Berkeley) %G%
*/
scroll(win)
register WINDOW *win;
*/
scroll(win)
register WINDOW *win;
+/*
+ * 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[] = "@(#)standout.c 5.1 (Berkeley) %G%";
+#endif not lint
+
/*
* routines dealing with entering and exiting standout mode
*
/*
* routines dealing with entering and exiting standout mode
*
- * @(#)standout.c 1.2 (Berkeley) %G%
*/
# include "curses.ext"
*/
# include "curses.ext"
+/*
+ * 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[] = "@(#)toucholap.c 5.1 (Berkeley) %G%";
+#endif not lint
+
# include "curses.ext"
# define min(a,b) (a < b ? a : b)
# include "curses.ext"
# define min(a,b) (a < b ? a : b)
/*
* Touch, on win2, the part that overlaps with win1.
*
/*
* Touch, on win2, the part that overlaps with win1.
*
- * @(#)toucholap.c 1.1 (Berkeley) %G%
*/
touchoverlap(win1, win2)
reg WINDOW *win1, *win2; {
*/
touchoverlap(win1, win2)
reg WINDOW *win1, *win2; {
+/*
+ * 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[] = "@(#)touchwin.c 5.1 (Berkeley) %G%";
+#endif not lint
+
# include "curses.ext"
/*
* make it look like the whole window has been changed.
*
# include "curses.ext"
/*
* make it look like the whole window has been changed.
*
- * @(#)touchwin.c 1.3 (Berkeley) %G%
*/
touchwin(win)
register WINDOW *win;
*/
touchwin(win)
register WINDOW *win;