HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/boto/mashups/__pycache__/interactive.cpython-310.pyc
o

ckF[�
�@shddlmZddlZddlZzddlZddlZdZWney%dZYnwdd�Zdd�Z	d	d
�Z
dS)�)�print_functionNTFcCstrt|�dSt|�dS)N)�has_termios�posix_shell�
windows_shell)�chan�r�:/usr/lib/python3/dist-packages/boto/mashups/interactive.py�interactive_shell sr	cCs.ddl}t�tj�}z�t�tj���t�tj���|�	d�	|�|tjggg�\}}}||vr]z |�
d�}t|�dkrFtddd�Wn/tj
�|�tj
��Wn
tjy\Ynwtj|vrttj�d�}t|�dkron|�|�q!Wt�tjtj|�dSWt�tjtj|�dSt�tjtj|�w)	NrgTiz
*** EOF
� )�end�)�select�termios�	tcgetattr�sys�stdin�tty�setraw�fileno�	setcbreak�
settimeout�recv�len�print�stdout�write�flush�socket�timeout�read�send�	tcsetattr�	TCSADRAIN)rr
�oldtty�r�w�e�xrrrr's:

�

��*rcCsnddl}tj�d�dd�}|j||fd�}|��z	tj�d�}|s'WdS|�|�qt	y6YdSw)NrzALine-buffered terminal emulation. Press F6 or ^Z to send EOF.

cSsB	|�d�}|stj�d�tj��dStj�|�tj��q)NT�z
*** EOF ***

)rrrrr)�sock�datarrr�writeallLs


�zwindows_shell.<locals>.writeall)�target�argsTr)
�	threadingrrr�Thread�startrrr �EOFError)rr.r+�writer�drrrrGs

��r)�
__future__rrrrrr�ImportErrorr	rrrrrr�<module>s�