ó
[³XMc           @   s\   d  Z  d d l m Z d d l m Z d d l m Z d e j f d     YZ d   Z d S(	   s8   
Support module for making a telnet server with twistd.
i˙˙˙˙(   t   telnet(   t   usage(   t   strportst   Optionsc           B   sT   e  Z d  Z d Z d d d d g d d d d	 g d
 d d d g g Z i d d 6Z RS(   s	   [options]s(   Makes a telnet server to a Python shell.t   usernamet   ut   admins   set the login usernamet   passwordt   wt   changemes   set the passwordt   portt   pt   4040s   port to listen ont   _users(   t   __name__t
   __module__t   synopsist   longdesct   optParameterst   zsh_actions(    (    (    s6   /usr/lib/python2.7/dist-packages/twisted/tap/telnet.pyR      s   c         C   sN   t  j   } |  d |  d | _ | _ t j |  d |  } | j |  | S(   NR   R   R
   (   R    t   ShellFactoryR   R   R   t   servicet
   setService(   t   configt   tt   s(    (    s6   /usr/lib/python2.7/dist-packages/twisted/tap/telnet.pyt   makeService   s
    N(	   t   __doc__t   twisted.manholeR    t   twisted.pythonR   t   twisted.applicationR   R   R   (    (    (    s6   /usr/lib/python2.7/dist-packages/twisted/tap/telnet.pyt   <module>   s
   
