|
Lines 204-211
Link Here
|
| 204 |
else |
204 |
else |
| 205 |
ios.c_cflag |= CLOCAL; |
205 |
ios.c_cflag |= CLOCAL; |
| 206 |
|
206 |
|
| 207 |
if (p->type != PHYS_DEDICATED) |
207 |
if (p->type != PHYS_DEDICATED) { |
| 208 |
ios.c_cflag |= HUPCL; |
208 |
ios.c_cflag |= HUPCL; |
|
|
209 |
ios.c_cflag &= ~CLOCAL; |
| 210 |
} |
| 209 |
|
211 |
|
| 210 |
tcsetattr(p->fd, TCSANOW, &ios); |
212 |
tcsetattr(p->fd, TCSANOW, &ios); |
| 211 |
} |
213 |
} |
|
Lines 410-417
Link Here
|
| 410 |
ios.c_iflag |= IXOFF; |
412 |
ios.c_iflag |= IXOFF; |
| 411 |
} |
413 |
} |
| 412 |
ios.c_iflag |= IXON; |
414 |
ios.c_iflag |= IXON; |
| 413 |
if (p->type != PHYS_DEDICATED) |
415 |
if (p->type != PHYS_DEDICATED) { |
| 414 |
ios.c_cflag |= HUPCL; |
416 |
ios.c_cflag |= HUPCL; |
|
|
417 |
ios.c_cflag &= ~CLOCAL; |
| 418 |
} |
| 415 |
|
419 |
|
| 416 |
if (p->type != PHYS_DIRECT) { |
420 |
if (p->type != PHYS_DIRECT) { |
| 417 |
/* Change tty speed when we're not in -direct mode */ |
421 |
/* Change tty speed when we're not in -direct mode */ |