version 1.256, 2010/06/25 07:20:04 |
version 1.257, 2010/11/13 23:27:50 |
|
|
|
|
s->pid = pid; |
s->pid = pid; |
/* Set interactive/non-interactive mode. */ |
/* Set interactive/non-interactive mode. */ |
packet_set_interactive(s->display != NULL); |
packet_set_interactive(s->display != NULL, |
|
options.ip_qos_interactive, options.ip_qos_bulk); |
|
|
#ifdef USE_PIPES |
#ifdef USE_PIPES |
/* We are the parent. Close the child sides of the pipes. */ |
/* We are the parent. Close the child sides of the pipes. */ |
|
|
|
|
/* Enter interactive session. */ |
/* Enter interactive session. */ |
s->ptymaster = ptymaster; |
s->ptymaster = ptymaster; |
packet_set_interactive(1); |
packet_set_interactive(1, |
|
options.ip_qos_interactive, options.ip_qos_bulk); |
if (compat20) { |
if (compat20) { |
session_set_fds(s, ptyfd, fdout, -1, 1, 1); |
session_set_fds(s, ptyfd, fdout, -1, 1, 1); |
} else { |
} else { |