diff options
author | Sverker Eriksson <[email protected]> | 2019-02-26 17:52:06 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-02-26 17:52:06 +0100 |
commit | b52d1866987e0b6a5b15ff0cb1289c91d276c884 (patch) | |
tree | 89be3d322e96a466282445d8e6af2ae7ccbdafd3 /erts/etc/unix/to_erl.c | |
parent | 934f9974eb6bec43cd9445ec0f5019a4d1389428 (diff) | |
download | otp-b52d1866987e0b6a5b15ff0cb1289c91d276c884.tar.gz otp-b52d1866987e0b6a5b15ff0cb1289c91d276c884.tar.bz2 otp-b52d1866987e0b6a5b15ff0cb1289c91d276c884.zip |
erts: Remove 7-bit ASCII limitation in to_erl
Symptom: to_erl garbles anything beyond 7-bit ASCII received on STDIN
Solution: Remove setting of ISTRIP flag on input terminal.
"man tcsetattr" says:
ISTRIP Strip off eighth bit.
Diffstat (limited to 'erts/etc/unix/to_erl.c')
-rw-r--r-- | erts/etc/unix/to_erl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/etc/unix/to_erl.c b/erts/etc/unix/to_erl.c index afff8f7e54..ed4fe12e8b 100644 --- a/erts/etc/unix/to_erl.c +++ b/erts/etc/unix/to_erl.c @@ -245,7 +245,6 @@ int main(int argc, char **argv) tty_smode.c_iflag = 1*BRKINT |/*Signal interrupt on break.*/ 1*IGNPAR |/*Ignore characters with parity errors.*/ - 1*ISTRIP |/*Strip character.*/ 0; #if 0 |