summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/termios.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-06-06 08:03:45 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-06-07 12:57:39 +0200
commit93531e9b08b2c641abc4bf5e53c5ebcd754c7d55 (patch)
tree8f3826ecf432eeeeb97830b674e037102a9c5b66 /cpukit/libcsupport/src/termios.c
parentDo not use deprecated <sys/termios.h> (diff)
downloadrtems-93531e9b08b2c641abc4bf5e53c5ebcd754c7d55.tar.bz2
Move RTEMS-specific Termios API content
Remove obsolete support for OFILL, OFDEL, NLDLY, CRDLY, BSDLY, VTDLY, and FFDLY which is not present on FreeBSD and not implemented in Linux. Update #2833.
Diffstat (limited to 'cpukit/libcsupport/src/termios.c')
-rw-r--r--cpukit/libcsupport/src/termios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c
index 2fb9d4f483..f310cb05ba 100644
--- a/cpukit/libcsupport/src/termios.c
+++ b/cpukit/libcsupport/src/termios.c
@@ -577,7 +577,7 @@ rtems_termios_open_tty(
* Set default parameters
*/
tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;
- tty->termios.c_oflag = OPOST | ONLCR | XTABS;
+ tty->termios.c_oflag = OPOST | ONLCR | OXTABS;
tty->termios.c_cflag = CS8 | CREAD | CLOCAL;
tty->termios.c_lflag =
ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
@@ -1188,7 +1188,7 @@ oproc (unsigned char c, rtems_termios_tty *tty, bool wait)
case '\t':
columnAdj = 8 - (oldColumn & 7);
- if ((tty->termios.c_oflag & TABDLY) == XTABS) {
+ if ((tty->termios.c_oflag & TABDLY) == OXTABS) {
int i;
len = (size_t) columnAdj;