Sindbad~EG File Manager
�
%ٜg
� �~ � d dl Z ddiZdZddiZdZddiZdZe j j d� d Zd� Z d� Z
d� Zy) � N�OpenVMS�vms_connect�unix_connect�-c � � t j t t � }t |t � d�� }|j
| � S )af dname, host, dno, screen = get_display(display)
Parse DISPLAY into its components. If DISPLAY is None, use
the default display. The return values are:
DNAME -- the full display name (string)
HOST -- the host name (string, possibly empty)
DNO -- display number (integer)
SCREEN -- default screen number (integer)
� ��level)�
_display_mods�get�platform�_default_display_mod�
__import__�globals�get_display)�display�modname�mods �?/usr/local/lib/python3.12/site-packages/Xlib/support/connect.pyr r 0 s6 � � ����*>�?�G�
�W�g�i�a�
0�C��?�?�7�#�#� c � � t j t t � }t |t � d�� }|j
| ||� S )z�socket = get_socket(dname, host, dno)
Connect to the display specified by DNAME, HOST and DNO, which
are the corresponding values from a previous call to get_display().
Return SOCKET, a new socket object connected to the X server.
r r )�_socket_modsr r
�_default_socket_modr r �
get_socket)�dname�host�dnor r s r r r A s: � � ���x�)<�=�G�
�W�g�i�a�
0�C��>�>�%��s�+�+r c � � t j t t � }t |t � d�� }|j
| |||� S )a auth_name, auth_data = get_auth(sock, dname, host, dno)
Return authentication data for the display on the other side of
SOCK, which was opened with DNAME, HOST and DNO.
Return AUTH_NAME and AUTH_DATA, two strings to be used in the
connection setup request.
r r )�
_auth_modsr r
�_default_auth_modr r �get_auth)�sockr r r r r s r r! r! O s: � � �n�n�X�'8�9�G�
�W�g�i�a�
0�C��<�<��e�T�3�/�/r )�sysr r r r r r r
�splitr r r! � r r �<module>r&