add banner since getty.h is about to go away
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Wed, 6 Jul 1983 15:24:51 +0000 (07:24 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Wed, 6 Jul 1983 15:24:51 +0000 (07:24 -0800)
SCCS-vsn: libexec/telnetd/telnetd.c 4.24

usr/src/libexec/telnetd/telnetd.c

index 5ef7c0d..42d1239 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)telnetd.c  4.23 (Berkeley) 83/07/02";
+static char sccsid[] = "@(#)telnetd.c  4.24 (Berkeley) 83/07/06";
 #endif
 
 /*
 #endif
 
 /*
@@ -18,9 +18,9 @@ static char sccsid[] = "@(#)telnetd.c 4.23 (Berkeley) 83/07/02";
 #include <errno.h>
 #include <sgtty.h>
 #include <netdb.h>
 #include <errno.h>
 #include <sgtty.h>
 #include <netdb.h>
-#include <getty.h>
 
 
-#define        BELL            '\07'
+#define        BELL    '\07'
+#define BANNER "\r\n\r\n4.2 BSD UNIX (%s)\r\n\r\r\n\r%s"
 
 char   hisopts[256];
 char   myopts[256];
 
 char   hisopts[256];
 char   myopts[256];