|
Lines 1654-1659
channel_handle_wfd(Channel *c, fd_set *r
Link Here
|
| 1654 |
return -1; |
1654 |
return -1; |
| 1655 |
} |
1655 |
} |
| 1656 |
if (compat20 && c->isatty && dlen >= 1 && buf[0] != '\r') { |
1656 |
if (compat20 && c->isatty && dlen >= 1 && buf[0] != '\r') { |
|
|
1657 |
#ifndef BROKEN_TCGETATTR_ICANON |
| 1657 |
if (tcgetattr(c->wfd, &tio) == 0 && |
1658 |
if (tcgetattr(c->wfd, &tio) == 0 && |
| 1658 |
!(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) { |
1659 |
!(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) { |
| 1659 |
/* |
1660 |
/* |
|
Lines 1665-1670
channel_handle_wfd(Channel *c, fd_set *r
Link Here
|
| 1665 |
packet_send_ignore(4 + len); |
1666 |
packet_send_ignore(4 + len); |
| 1666 |
packet_send(); |
1667 |
packet_send(); |
| 1667 |
} |
1668 |
} |
|
|
1669 |
#endif |
| 1668 |
} |
1670 |
} |
| 1669 |
buffer_consume(&c->output, len); |
1671 |
buffer_consume(&c->output, len); |
| 1670 |
if (compat20 && len > 0) { |
1672 |
if (compat20 && len > 0) { |