projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more ANSI fixes
[unix-history]
/
usr
/
src
/
libexec
/
getty
/
init.c
diff --git
a/usr/src/libexec/getty/init.c
b/usr/src/libexec/getty/init.c
index
01b2404
..
2514058
100644
(file)
--- a/
usr/src/libexec/getty/init.c
+++ b/
usr/src/libexec/getty/init.c
@@
-1,6
+1,13
@@
+/*
+ * Copyright (c) 1983 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ */
+
#ifndef lint
#ifndef lint
-static char sccsid[] = "@(#)init.c
4.1 (Berkeley) 83/07/06
";
-#endif
+static char sccsid[] = "@(#)init.c
5.5 (Berkeley) %G%
";
+#endif
/* not lint */
/*
* Getty table initializations.
/*
* Getty table initializations.
@@
-9,6
+16,7
@@
static char sccsid[] = "@(#)init.c 4.1 (Berkeley) 83/07/06";
*/
#include <sgtty.h>
#include "gettytab.h"
*/
#include <sgtty.h>
#include "gettytab.h"
+#include "pathnames.h"
extern struct sgttyb tmode;
extern struct tchars tc;
extern struct sgttyb tmode;
extern struct tchars tc;
@@
-16,7
+24,7
@@
extern struct ltchars ltc;
extern char hostname[];
struct gettystrs gettystrs[] = {
extern char hostname[];
struct gettystrs gettystrs[] = {
- { "nx"
, "default" },
/* next table */
+ { "nx"
},
/* next table */
{ "cl" }, /* screen clear characters */
{ "im" }, /* initial message */
{ "lm", "login: " }, /* login message */
{ "cl" }, /* screen clear characters */
{ "im" }, /* initial message */
{ "lm", "login: " }, /* login message */
@@
-26,7
+34,7
@@
struct gettystrs gettystrs[] = {
{ "pc", "" }, /* pad character */
{ "tt" }, /* terminal type */
{ "ev" }, /* enviroment */
{ "pc", "" }, /* pad character */
{ "tt" }, /* terminal type */
{ "ev" }, /* enviroment */
- { "lo",
"/bin/login" },
/* login program */
+ { "lo",
_PATH_LOGIN },
/* login program */
{ "hn", hostname }, /* host name */
{ "he" }, /* host name edit */
{ "in", &tc.t_intrc }, /* interrupt char */
{ "hn", hostname }, /* host name */
{ "he" }, /* host name edit */
{ "in", &tc.t_intrc }, /* interrupt char */
@@
-56,6
+64,7
@@
struct gettynums gettynums[] = {
{ "f0" }, /* output flags */
{ "f1" }, /* input flags */
{ "f2" }, /* user mode flags */
{ "f0" }, /* output flags */
{ "f1" }, /* input flags */
{ "f2" }, /* user mode flags */
+ { "pf" }, /* delay before flush at 1st prompt */
{ 0 }
};
{ 0 }
};
@@
-77,6
+86,9
@@
struct gettyflags gettyflags[] = {
{ "uc", 0 }, /* terminal has no lower case */
{ "ig", 0 }, /* ignore garbage */
{ "ps", 0 }, /* do port selector speed select */
{ "uc", 0 }, /* terminal has no lower case */
{ "ig", 0 }, /* ignore garbage */
{ "ps", 0 }, /* do port selector speed select */
- { "hc", 1 }, /* set hangup on close */
+ { "hc", 1 }, /* don't set hangup on close */
+ { "ub", 0 }, /* unbuffered output */
+ { "ab", 0 }, /* auto-baud detect with '\r' */
+ { "dx", 0 }, /* set decctlq */
{ 0 }
};
{ 0 }
};