summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2004-11-06 13:56:18 +0000
committerache <ache@FreeBSD.org>2004-11-06 13:56:18 +0000
commit0c2935739d1378279de4ed6f321032c6e44e82f8 (patch)
treef0096e4662a8c8d5533bb671937fc986dc4eca26
parent4a9db323b172e3e8c0b889f1b7c0befda39c1a86 (diff)
downloadFreeBSD-src-0c2935739d1378279de4ed6f321032c6e44e82f8.zip
FreeBSD-src-0c2935739d1378279de4ed6f321032c6e44e82f8.tar.gz
Back out recent TTYDEF_LFLAG_ECHO invention.
This change is NOP, because TTYDEF_LFLAG = TTYDEF_LFLAG_ECHO now, but to minimize diffs with other BSDs.
-rw-r--r--bin/stty/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stty/key.c b/bin/stty/key.c
index 99c0749..413f4d5 100644
--- a/bin/stty/key.c
+++ b/bin/stty/key.c
@@ -263,7 +263,7 @@ f_sane(struct info *ip)
ip->t.c_iflag |= ICRNL;
/* preserve user-preference flags in lflag */
#define LKEEP (ECHOKE|ECHOE|ECHOK|ECHOPRT|ECHOCTL|ALTWERASE|TOSTOP|NOFLSH)
- ip->t.c_lflag = TTYDEF_LFLAG_ECHO | (ip->t.c_lflag & LKEEP);
+ ip->t.c_lflag = TTYDEF_LFLAG | (ip->t.c_lflag & LKEEP);
ip->t.c_oflag = TTYDEF_OFLAG;
ip->set = 1;
}
OpenPOWER on IntegriCloud