Lines Matching full:ptycommand
147 char *ptycommand = NULL; /* Command to run on other side of pty */
194 { "pty", o_string, &ptycommand,
418 using_pty = notty || ptycommand != NULL || pty_socket != NULL;
436 * ptycommand, pty_socket, notty or devnam.
457 if (demand && connect_script == 0 && ptycommand == NULL
472 if (ptycommand != NULL && notty) {
476 if (pty_socket != NULL && (ptycommand != NULL || notty)) {
629 if (ptycommand != NULL) {
636 /* don't leak these to the ptycommand */
640 ok = device_script(ptycommand, opipe[0], ipipe[1], 1) == 0
649 if (device_script(ptycommand, pty_master, pty_master, 1) < 0)
756 if (connector != NULL || ptycommand != NULL || pty_socket != NULL)