Back out the last patch. I'm too tired to apply patches.
This commit is contained in:
parent
b3409b1e8c
commit
d69ca183f0
@ -204,10 +204,8 @@ tty_Raw(struct physical *p)
|
||||
else
|
||||
ios.c_cflag |= CLOCAL;
|
||||
|
||||
if (p->type != PHYS_DEDICATED) {
|
||||
if (p->type != PHYS_DEDICATED)
|
||||
ios.c_cflag |= HUPCL;
|
||||
ios.c_cflag &= ~CLOCAL;
|
||||
}
|
||||
|
||||
tcsetattr(p->fd, TCSANOW, &ios);
|
||||
}
|
||||
@ -412,10 +410,8 @@ tty_Create(struct physical *p)
|
||||
ios.c_iflag |= IXOFF;
|
||||
}
|
||||
ios.c_iflag |= IXON;
|
||||
if (p->type != PHYS_DEDICATED) {
|
||||
if (p->type != PHYS_DEDICATED)
|
||||
ios.c_cflag |= HUPCL;
|
||||
ios.c_cflag &= ~CLOCAL;
|
||||
}
|
||||
|
||||
if (p->type != PHYS_DIRECT) {
|
||||
/* Change tty speed when we're not in -direct mode */
|
||||
|
Loading…
Reference in New Issue
Block a user