From: Aurelien Jarno Date: Wed, 22 Apr 2009 07:34:10 +0000 (+0200) Subject: agetty: IUCLC and OLCUC are Linux extensions X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee5190416921537b9747bdbdad496b11d737bd81;p=util-linux 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 --- diff --git a/login-utils/agetty.c b/login-utils/agetty.c index 29ce1499..90a64b33 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 */