Skip to content
Snippets Groups Projects
Commit ab3f0971 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Set the unused VTIME/VMIN values too.

Be sure to set them first though, since they may overlay with
other ICANON entries.
parent 4badae30
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4331 failed
......@@ -395,6 +395,12 @@ pty_connect(struct bbslist *bbs)
ts.c_oflag = TTYDEF_OFLAG;
ts.c_lflag = TTYDEF_LFLAG;
ts.c_cflag = TTYDEF_CFLAG;
#ifdef VTIME
ts.c_cc[VTIME] = CTIME;
#endif
#ifdef VMIN
ts.c_cc[VMIN] = CMIN;
#endif
#ifdef VEOF
ts.c_cc[VEOF] = CEOF;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment