From ee5190416921537b9747bdbdad496b11d737bd81 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Wed, 22 Apr 2009 09:34:10 +0200 Subject: agetty: IUCLC and OLCUC are Linux extensions IUCLC and OLCUC are Linux extensions to termios. The same way it is already done for XCASE, they can be ignored if not supported. Signed-off-by: Aurelien Jarno --- login-utils/agetty.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'login-utils/agetty.c') diff --git a/login-utils/agetty.c b/login-utils/agetty.c index 29ce14990..90a64b33b 100644 --- a/login-utils/agetty.c +++ b/login-utils/agetty.c @@ -1146,11 +1146,15 @@ termio_final(op, tp, cp) /* Account for upper case without lower case. */ if (cp->capslock) { +#ifdef IUCLC tp->c_iflag |= IUCLC; +#endif #ifdef XCASE tp->c_lflag |= XCASE; #endif +#ifdef OLCUC tp->c_oflag |= OLCUC; +#endif } /* Optionally enable hardware flow control */ -- cgit v1.2.3-55-g7522