Add sccs, copyrights.
[unix-history] / usr / src / usr.bin / tn3270 / distribution / utilities / tnrecv.c
index e1673a9..b54b784 100644 (file)
@@ -1,19 +1,43 @@
+/*
+ *     Copyright (c) 1984-1987 by the Regents of the
+ *     University of California and by Gregory Glenn Minshall.
+ *
+ *     Permission to use, copy, modify, and distribute these
+ *     programs and their documentation for any purpose and
+ *     without fee is hereby granted, provided that this
+ *     copyright and permission appear on all copies and
+ *     supporting documentation, the name of the Regents of
+ *     the University of California not be used in advertising
+ *     or publicity pertaining to distribution of the programs
+ *     without specific prior permission, and notice be given in
+ *     supporting documentation that copying and distribution is
+ *     by permission of the Regents of the University of California
+ *     and by Gregory Glenn Minshall.  Neither the Regents of the
+ *     University of California nor Gregory Glenn Minshall make
+ *     representations about the suitability of this software
+ *     for any purpose.  It is provided "as is" without
+ *     express or implied warranty.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)tnrecv.c   1.10 (Berkeley) %G%";
+#endif /* not lint */
+
 #include <stdio.h>
 
 #include <stdio.h>
 
-#include <apilib/apilib.h>
+#include <api/apilib.h>
 
 #include "tncomp.h"
 
 
 
 #include "tncomp.h"
 
 
-#include "../api/api.h"
-
+#include "../ctlr/api.h"
 #include "../ctlr/function.h"
 #include "../ctlr/hostctlr.h"
 #include "../ctlr/oia.h"
 #include "../ctlr/screen.h"
 
 #include "../ctlr/function.h"
 #include "../ctlr/hostctlr.h"
 #include "../ctlr/oia.h"
 #include "../ctlr/screen.h"
 
-#include "../apilib/disp_asc.h"
-#include "../apilib/astosc.h"
+#include "../api/disp_asc.h"
+#include "../api/astosc.h"
 
 #include "../general/general.h"
 
 
 #include "../general/general.h"
 
@@ -531,7 +555,7 @@ char        *argv[];
        return -1;
     }
     data_length = strlen(data_array);
        return -1;
     }
     data_length = strlen(data_array);
-    if ((i = find_input_area()) == -1) {               /* Get an input area */
+    if ((i = find_input_area(0)) == -1) {              /* Get an input area */
        if (send_key(clear_index) == -1) {
            return -1;
        }
        if (send_key(clear_index) == -1) {
            return -1;
        }