diff options
author | phk <phk@FreeBSD.org> | 2004-11-02 18:10:01 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-11-02 18:10:01 +0000 |
commit | e721e7f566d0976e5aa50c84608fdb16fc0ae783 (patch) | |
tree | a5065ae4d6d5c036b134724623680b0fc743ec16 /bin/stty | |
parent | 2db191c4fec119597f76b66174d2613bce9e6de6 (diff) | |
download | FreeBSD-src-e721e7f566d0976e5aa50c84608fdb16fc0ae783.zip FreeBSD-src-e721e7f566d0976e5aa50c84608fdb16fc0ae783.tar.gz |
stty sane should set the echo bits.
PR: 73423
Submitted by: Michiel Boland <michiel@boland.org>
Overlooked by: phk
Diffstat (limited to 'bin/stty')
-rw-r--r-- | bin/stty/key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stty/key.c b/bin/stty/key.c index 413f4d5..99c0749 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; } |