Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/sys/lib/python2.7/tty.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�`^c@sbdZddlTddgZdZdZdZdZd	Zd
ZdZ	e
d�Ze
d
�ZdS(sTerminal utilities.i�(t*tsetrawt	setcbreakiiiiiiicCs�t|�}|tttBtBtBtB@|t<|tt@|t<|t	t
tB@|t	<|t	tB|t	<|t
ttBtBtB@|t
<d|tt<d|tt<t|||�dS(sPut terminal into a raw mode.iiN(t	tcgetattrtIFLAGtBRKINTtICRNLtINPCKtISTRIPtIXONtOFLAGtOPOSTtCFLAGtCSIZEtPARENBtCS8tLFLAGtECHOtICANONtIEXTENtISIGtCCtVMINtVTIMEt	tcsetattr(tfdtwhentmode((s/sys/lib/python2.7/tty.pyRs#cCsSt|�}|tttB@|t<d|tt<d|tt<t|||�dS(s Put terminal into a cbreak mode.iiN(RRRRRRRR(RRR((s/sys/lib/python2.7/tty.pyRs
N(
t__doc__ttermiost__all__RR
RRtISPEEDtOSPEEDRt	TCSAFLUSHRR(((s/sys/lib/python2.7/tty.pyt<module>s


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.