PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  Ɵ[c@sfdZddlZddlZddlmZmZmZmZddlm Z dZ dZ dS(s<Substitute for the forkpty system call, to support Solaris. iN(t STDIN_FILENOt STDOUT_FILENOt STDERR_FILENOtCHILDi(tPtyProcessErrorcCstj\}}|dks*|dkr9tdntj}|tkrtj|t|tj|ttj|t tj|t n tj|||fS(sThis implements a substitute for the forkpty system call. This should be more portable than the pty.fork() function. Specifically, this should work on Solaris. Modified 10.06.05 by Geoff Marshall: Implemented __fork_pty() method to resolve the issue with Python's pty.fork() not supporting Solaris, particularly ssh. Based on patch to posixmodule.c authored by Noah Spurrier:: http://mail.python.org/pipermail/python-dev/2003-May/035281.html isos.openpty() failed( tostopenptytOSErrortforkRtclosetpty_make_controlling_ttytdup2RRR(t parent_fdtchild_fdtpid((s8/tmp/pip-build-ViqJzN/ptyprocess/ptyprocess/_fork_pty.pytfork_pty s     cCs#tj|}y-tjdtjtjB}tj|Wn+tk ri}|jtjkrjqjnXtj y9tjdtjtjB}tj|t dWn+tk r}|jtjkrqnXtj|tj}tj|tjdtj }tj|dS(sThis makes the pseudo-terminal the controlling tty. This should be more portable than the pty.fork() function. Specifically, this should work on Solaris. s/dev/ttys(OSError of errno.ENXIO should be raised.N( RtttynametopentO_RDWRtO_NOCTTYR RterrnotENXIOtsetsidRtO_WRONLY(ttty_fdt child_nametfdterr((s8/tmp/pip-build-ViqJzN/ptyprocess/ptyprocess/_fork_pty.pyR +s&     ( t__doc__RRtptyRRRRtutilRRR (((s8/tmp/pip-build-ViqJzN/ptyprocess/ptyprocess/_fork_pty.pyts   " "