(class server_session): New attribute helper_fd.
(make_server_session): Made static. New argument helper_fd. (class open_session): New attribute helper_fd. (do_open_session): Pass helper_fd to make_server_session. (make_open_session): New argument helper_fd. (do_exit_shell): Updated calls of channel_send_request. Cosmetic change to verbose message. (make_pty): Dup the master fd for both stdin and stdout, and leave the fd in the pty_info object intact. (spawn_process): Pass helper_fd to spawn_shell. If we're using a pty, set ignored_error = EIO on the read state correspondign to stdout. If we don't have a separate stderr channel, set channel->sources to 1, not 2. Rev: src/server_session.c:126.96.36.199 Rev: src/server_session.h:188.8.131.52