mirror of
https://github.com/3cky/mbusd.git
synced 2024-09-26 03:43:04 +02:00
Force set tty CLOCAL mode flag (trying to address #41)
This commit is contained in:
parent
a3a6530eed
commit
076120bf6c
@ -135,8 +135,8 @@ tty_set_attr(ttydata_t *mod)
|
||||
mod->tios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON);
|
||||
mod->tios.c_oflag &= ~OPOST;
|
||||
mod->tios.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
|
||||
mod->tios.c_cflag |= CREAD | CLOCAL ;
|
||||
#endif
|
||||
mod->tios.c_cflag |= (CREAD | CLOCAL);
|
||||
mod->tios.c_cflag &= ~(CSIZE | CSTOPB | PARENB | PARODD | CRTSCTS);
|
||||
switch (cfg.ttymode[0])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user