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:
+/*
+ * 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;
+/*
+ * 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;
+/*
+ * 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; {
+/*
+ * 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; {
+/*
+ * 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; {
+/*
+ * 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%
+/*
+ * 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; {
+/*
+ * 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;
+/*
+ * 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; {
+/*
+ * 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"
+/*
+ * 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; {
+/*
+ * 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)
+/*
+ * 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; {
+/*
+ * 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;
+/*
+ * 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;
+/*
+ * 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"
/*
* 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;
+/*
+ * 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>
/*
* This routine initializes the current and standard screen.
*
/*
* This routine initializes the current and standard screen.
*
- * @(#)initscr.c 1.6 (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[] = "@(#)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;
+/*
+ * 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"