Differences From Artifact [77366d9cfb]:
- File unix/pty.c — part of check-in [e6e6127715] at 2004-12-17 08:25:53 on branch trunk — Jacob has pointed out why SIGCHLD was blocked, so I've updated the comment when I unblock it in pty.c to reflect reality. Also I've moved block_signal() out of pterm.c into signal.c, so I can conveniently use it for unblocking SIGCHLD rather than having to reinvent it in pty.c. (user: simon size: 20222)
To Artifact [6b4b6f4978]:
- File unix/pty.c — part of check-in [8cec6d493a] at 2004-12-29 06:32:25 on branch trunk — Loose end from r5031: the Kex panel should only be displayed in mid-session if we are not using SSHv1. I've done this by introducing a generic `cfg_info' function which every back end can use to communicate an int's worth of data to setup_config_box; in SSH that's the protocol version in use, and in everything else it's currently zero. (user: simon size: 20297)
| ︙ | |||
799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 | 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 | + + + + + + |
static int pty_exitcode(void *handle)
{
if (!pty_finished)
return -1; /* not dead yet */
else
return pty_exit_code;
}
static int pty_cfg_info(void *handle)
{
return 0;
}
Backend pty_backend = {
pty_init,
pty_free,
pty_reconfig,
pty_send,
pty_sendbuffer,
pty_size,
pty_special,
pty_get_specials,
pty_socket,
pty_exitcode,
pty_sendok,
pty_ldisc,
pty_provide_ldisc,
pty_provide_logctx,
pty_unthrottle,
pty_cfg_info,
1
};
|