config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/pty.pyc

³ò
h”Rc@s¶dZddklZddkZddkZdddgZdZdZd	ZdZd
„Z	d„Z
d„Zd
„Zd„Z
d„Zd„Zeed„Zeed„ZdS(sPseudo terminal utilities.iÿÿÿÿ(tselectNtopenptytforktspawniiicCsOytiƒSWnttfj
onXtƒ\}}t|ƒ}||fS(sdopenpty() -> (master_fd, slave_fd)
    Open a pty master/slave pair, using os.openpty() if possible.(tosRtAttributeErrortOSErrort_open_terminalt
slave_open(t	master_fdt
slave_nametslave_fd((s/usr/local/lib/python2.5/pty.pyRscCs_ytiƒ\}}Wnttfj
on(Xti|ƒ}ti|ƒ||fStƒS(s›master_open() -> (master_fd, slave_name)
    Open a pty master and return the fd, and the filename of the slave end.
    Deprecated, use openpty() instead.(RRRRtttynametcloseR(R	RR
((s/usr/local/lib/python2.5/pty.pytmaster_open!s

cCsýyddk}Wntj
onRXy"|itiddƒ\}}Wn!tj
o}ti|‚nX||fSxtdD]l}xcdD][}d||}yti|tiƒ}Wntij
o
qŠnX|d||fSqŠWq}Wtid	‚dS(
slOpen pty master and return (master_fd, tty_name).
    SGI and generic BSD version, for when openpty() fails.iÿÿÿÿNi¶itpqrstuvwxyzPQRSTt0123456789abcdefs/dev/ptys/dev/ttysout of pty devices(tsgitImportErrort_getptyRtO_RDWRtIOErrorterrortopen(Rttty_nameR	tmsgtxtytpty_nametfd((s/usr/local/lib/python2.5/pty.pyR1s("
cCs‡ti|tiƒ}yddkl}l}Wntj
o|SnXy$|||dƒ|||dƒWntj
onX|S(s©slave_open(tty_name) -> slave_fd
    Open the pty slave and acquire the controlling terminal, returning
    opened filedescriptor.
    Deprecated, use openpty() instead.iÿÿÿÿ(tioctltI_PUSHtptemtldterm(RRRtfcntlRRRR(RtresultRR((s/usr/local/lib/python2.5/pty.pyRHs	c	CsDytiƒ\}}Wnttfj
onAX|tjo(ytiƒWqgtj
oqgXn||fStƒ\}}tiƒ}|tjo”tiƒti|ƒti	|t
ƒti	|tƒti	|tƒ|tjoti|ƒnti
titƒtiƒ}ti|ƒnti|ƒ||fS(sdfork() -> (pid, master_fd)
    Fork and make the child a session leader with a controlling terminal.(RtforkptyRRtCHILDtsetsidRRR
tdup2tSTDIN_FILENOt
STDOUT_FILENOt
STDERR_FILENORRR(tpidRR	Rttmp_fd((s/usr/local/lib/python2.5/pty.pyRZs0
	





cCs5x.|djo ti||ƒ}||}qWdS(s#Write all the data to a descriptor.tN(Rtwrite(Rtdatatn((s/usr/local/lib/python2.5/pty.pyt_writen‚s
cCsti|dƒS(sDefault read function.i(Rtread(R((s/usr/local/lib/python2.5/pty.pyt_readˆscCs‚x{t|tgggƒ\}}}||jo ||ƒ}tit|ƒnt|jo|tƒ}t||ƒqqdS(sParent copy loop.
    Copies
            pty master -> standard output   (master_read)
            standard input -> pty master    (stdin_read)N(RR(RR.R)R1(R	tmaster_readt
stdin_readtrfdstwfdstxfdsR/((s/usr/local/lib/python2.5/pty.pyt_copyŒs

c
Cst|ƒtdƒjo
|f}ntƒ\}}|tjoti|d|Œny&titƒ}titƒd}Wnti	j
o
d}nXyt
|||ƒWn:ttfj
o(|oti
tti|ƒqðnXti|ƒdS(sCreate a spawned process.R-iiN(ttypeRR%Rtexeclptttyt	tcgetattrR(tsetrawRR9RRt	tcsetattrt	TCSAFLUSHR
(targvR4R5R+R	tmodetrestore((s/usr/local/lib/python2.5/pty.pyR›s"



(t__doc__RRR<t__all__R(R)R*R%RRRRRR1R3R9R(((s/usr/local/lib/python2.5/pty.pys<module>s"					(		

Man Man