aboutsummaryrefslogtreecommitdiff
path: root/libexec/getty/init.c
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2003-06-18 13:22:44 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2003-06-18 13:22:44 +0000
commitb19ab1ce699c9fe531bd599a552136b47e52c238 (patch)
tree43904aecaae777f88f3e22dd6f8e48642d6b1573 /libexec/getty/init.c
parentdff7225a0854f087213f5abbfe1c522fb733d215 (diff)
Notes
Diffstat (limited to 'libexec/getty/init.c')
-rw-r--r--libexec/getty/init.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/libexec/getty/init.c b/libexec/getty/init.c
index 274e418b7b42..c83a83e487c0 100644
--- a/libexec/getty/init.c
+++ b/libexec/getty/init.c
@@ -59,26 +59,26 @@ struct gettystrs gettystrs[] = {
{ "cl" }, /* screen clear characters */
{ "im" }, /* initial message */
{ "lm", loginmsg }, /* login message */
- { "er", &tmode.c_cc[VERASE] }, /* erase character */
- { "kl", &tmode.c_cc[VKILL] }, /* kill character */
- { "et", &tmode.c_cc[VEOF] }, /* eof chatacter (eot) */
+ { "er", &omode.c_cc[VERASE] }, /* erase character */
+ { "kl", &omode.c_cc[VKILL] }, /* kill character */
+ { "et", &omode.c_cc[VEOF] }, /* eof chatacter (eot) */
{ "pc", nullstr }, /* pad character */
{ "tt" }, /* terminal type */
{ "ev" }, /* enviroment */
{ "lo", loginprg }, /* login program */
{ "hn", hostname }, /* host name */
{ "he" }, /* host name edit */
- { "in", &tmode.c_cc[VINTR] }, /* interrupt char */
- { "qu", &tmode.c_cc[VQUIT] }, /* quit char */
- { "xn", &tmode.c_cc[VSTART] }, /* XON (start) char */
- { "xf", &tmode.c_cc[VSTOP] }, /* XOFF (stop) char */
- { "bk", &tmode.c_cc[VEOL] }, /* brk char (alt \n) */
- { "su", &tmode.c_cc[VSUSP] }, /* suspend char */
- { "ds", &tmode.c_cc[VDSUSP] }, /* delayed suspend */
- { "rp", &tmode.c_cc[VREPRINT] },/* reprint char */
- { "fl", &tmode.c_cc[VDISCARD] },/* flush output */
- { "we", &tmode.c_cc[VWERASE] }, /* word erase */
- { "ln", &tmode.c_cc[VLNEXT] }, /* literal next */
+ { "in", &omode.c_cc[VINTR] }, /* interrupt char */
+ { "qu", &omode.c_cc[VQUIT] }, /* quit char */
+ { "xn", &omode.c_cc[VSTART] }, /* XON (start) char */
+ { "xf", &omode.c_cc[VSTOP] }, /* XOFF (stop) char */
+ { "bk", &omode.c_cc[VEOL] }, /* brk char (alt \n) */
+ { "su", &omode.c_cc[VSUSP] }, /* suspend char */
+ { "ds", &omode.c_cc[VDSUSP] }, /* delayed suspend */
+ { "rp", &omode.c_cc[VREPRINT] },/* reprint char */
+ { "fl", &omode.c_cc[VDISCARD] },/* flush output */
+ { "we", &omode.c_cc[VWERASE] }, /* word erase */
+ { "ln", &omode.c_cc[VLNEXT] }, /* literal next */
{ "Lo" }, /* locale for strftime() */
{ "pp" }, /* ppp login program */
{ "if" }, /* sysv-like 'issue' filename */