summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-11-02 18:10:01 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-11-02 18:10:01 +0000
commit9372ddf0d17312e999f21aa35c13be15bf42a629 (patch)
treea5065ae4d6d5c036b134724623680b0fc743ec16 /bin
parentc6eea898792b63bc27ee10f84450fd6ea5ca9397 (diff)
Notes
Diffstat (limited to 'bin')
-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 413f4d58dfa9b..99c0749ac7b4a 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 | (ip->t.c_lflag & LKEEP);
+ ip->t.c_lflag = TTYDEF_LFLAG_ECHO | (ip->t.c_lflag & LKEEP);
ip->t.c_oflag = TTYDEF_OFLAG;
ip->set = 1;
}