aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2004-11-06 13:56:18 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2004-11-06 13:56:18 +0000
commitb56bffc41b68c46d3c29ad97bd317865e8dfd1af (patch)
treef0096e4662a8c8d5533bb671937fc986dc4eca26
parent1313b9ea59566037c29546be106e4addd0603eae (diff)
downloadsrc-b56bffc41b68c46d3c29ad97bd317865e8dfd1af.tar.gz
src-b56bffc41b68c46d3c29ad97bd317865e8dfd1af.zip
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.
Notes
Notes: svn path=/head/; revision=137314
-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 99c0749ac7b4..413f4d58dfa9 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;
}