1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-15 07:33:25 +00:00

The rawer option no longer clears CREAD

This commit is contained in:
Gerhard Rieger 2022-08-13 17:41:12 +02:00
parent 0b1af3703d
commit cf81901fe5
3 changed files with 44 additions and 4 deletions

View file

@ -475,7 +475,7 @@ int xiotermios_spec(int fd, int optcode) {
_xiotermios_data.termarg.c_iflag = 0;
_xiotermios_data.termarg.c_oflag = 0;
_xiotermios_data.termarg.c_lflag = 0;
_xiotermios_data.termarg.c_cflag = (CS8);
_xiotermios_data.termarg.c_cflag = (CREAD|CS8);
_xiotermios_data.termarg.c_cc[VMIN] = 1;
_xiotermios_data.termarg.c_cc[VTIME] = 0;
break;