ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     
Afc           @   s  d  d l  Z  d  d l Z d  d l Z d  d l Z d  d l Td  d l m Z d d g Z d d g Z d Z x/ e D]' Z	 e j
 j e	  ro e	 Z d	 Z qo qo Wd Z x/ e D]' Z	 e j
 j e	  r e	 Z d	 Z q q We s e r\e  j j d
  e sd e  j d Z e  j j d e  n  e sLd e  j d Z e  j j d e  n  e  j d	  n  [ [ d   Z d d d     YZ d   Z e   d S(   iN(   t   *(   t   ManPages   /depot/sundry/man/manns   /usr/local/man/manns   /depot/sundry/man/man3s   /usr/local/man/man3i    i   s   
sg   Failed to find mann directory.
Please add the correct entry to the MANNDIRLIST
at the top of %s script.s   %s

sg   Failed to find man3 directory.
Please add the correct entry to the MAN3DIRLIST
at the top of %s script.c         C   sk   t  j |   } g  } xE | D]= } | d d !d k r | d d k r | j | d   q q W| j   | S(   Niit   .t   ln123456789(   t   ost   listdirt   appendt   sort(   t   mandirt   filest   namest   file(    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyt   listmanpages0   s    #
t   SelectionBoxc           B   s   e  Z d d   Z d   Z d   Z d   Z d   Z d   Z d   Z	 d   Z
 d   Z d	   Z d
   Z d   Z d   Z d   Z RS(   c         C   s  g  |  _  t | d d |  _ |  j j d d d t  |  j j |  _ t |  j d d |  _ |  j j d d d t  t |  j d d |  _ |  j j d	 t d d d t  t |  j d d
 |  _	 |  j	 j d	 t
 d d d t  t |  |  _ t |  j	 d d d d d t d d |  _ |  j j d	 t  t |  j d d |  _ |  j j d d d t d |  j d |  j  |  j j d d d t d |  j d |  j  |  j |  j d <t |  j	 d d d t d d d d d d |  _ |  j j d d d t  t |  j d d d d d |  j |  _ |  j j d	 t  t |  j d d  d t d d d d |  _ |  j j d d d t  t |  j d d! |  _  |  j  j d d d t!  t |  j  d d" d d# d |  j" |  _# |  j# j d	 t  t$   |  _% t& |  j  d d$ d d% d |  j% d t' |  _( |  j( j d	 t  t |  j d d& d t d d d d |  _) |  j) j d d d t  t* |  j d d' d d( |  _+ |  j+ j d	 t,  t- |  j d d d t d d d) t! d d* d+ d, |  _. |  j. j d d d t  |  j j/ d- |  j  |  j) j/ d- |  j"  |  j j/ d. |  j0  |  j j/ d/ |  j1  |  j) j/ d/ |  j2  |  j. j/ d/ |  j3  |  j j4   |  j j5 t  |  j   d  S(0   Nt   namet   framet   expandi   t   fillt   subframei    t   leftsubframet   sidet   rightsubframet   chaptert   textt	   Directoryt   relieft   borderwidthi   t   chaptermenut   labels   C functionst   valuet   variablet   commands   Tcl/Tk functionst   menut   listboxt   widthi   t   heighti   t   l1s   Display manual page named:t   entryt   l2framet   l2s   Search regexp:t	   casesenses   Case sensitivet   searcht   titles   (none)t   wrapiH   t   selectbackgroundt   pinks   <Return>s
   <Double-1>s   <Tab>(6   t   choicest   FrameR   t   packt   BOTHt   masterR   R   t   LEFTR   t   RIGHTt	   StringVart
   chaptervart
   Menubuttont   RAISEDR   t   TOPt   MenuR   t   add_radiobuttont   MAN3DIRt
   newchaptert   MANNDIRt   Listboxt   SUNKENR!   t   Buttont   entry_cbR$   t   EntryR%   t   XR&   t   NONEt	   search_cbR'   t
   BooleanVart   casevart   Checkbuttont   FLATR(   R)   t   LabelR*   t   BOTTOMR   R   t   bindt
   listbox_cbt	   entry_tabt
   search_tabt   text_tabt	   focus_sett   set(   t   selfR2   (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyt   __init__;   s    		
	
	c         C   s/   |  j  j   } g  |  _ |  j t |   d  S(   N(   R6   t   getR.   t   addlistR   (   RT   R   (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyR=      s    	c         C   s=   | |  j  k r/ |  j  j |  |  j  j   n  |  j   d  S(   N(   R.   R   R   t   update(   RT   t   choice(    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyt	   addchoice   s    c         C   s1   | |  j  t |  j   )|  j  j   |  j   d  S(   N(   R.   t   lenR   RX   (   RT   t   list(    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyRW      s    c         G   s   |  j    d  S(   N(   RX   (   RT   t   e(    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyRB      s    c         C   sQ   |  j  j   } | rM t |  d k rM |  j  j | d  } |  j |  n  d  S(   Ni   i    (   R!   t   curselectionR[   RV   t	   show_page(   RT   R]   t	   selectionR   (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyRN      s    c         G   s   |  j  |  j j    d  S(   N(   t   search_stringR)   RV   (   RT   R]   (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyRF      s    c         C   s   |  j  j   d  S(   N(   R)   RR   (   RT   R]   (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyRO      s    c         C   s   |  j  j   d  S(   N(   R%   RR   (   RT   R]   (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyRP      s    c         C   s   |  j  j   d  S(   N(   R%   RR   (   RT   R]   (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyRQ      s    c         C   s   |  j  j   } t | t |  d  |  j  } | sF |  j j   n  |  j j d t	    d } x9 | D]1 } | | k r d } n  |  j j
 t	   |  qi W| r | S|  j j   } | d k r |  j j d  Sd  S(   Nc         S   s   |  |  | k S(   N(    (   R   t   keyt   n(    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyt   <lambda>   t    i    i   (   R%   RV   t   filterR[   R.   R   t   bellR!   t   deletet   AtEndt   insertt   size(   RT   Rb   t   okt
   exactmatcht   itemRc   (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyt
   updatelist   s      	c         C   sF   |  j    } | rB |  j |  |  j j d t    |  j    n  d  S(   Ni    (   Ro   R_   R%   Rh   Ri   (   RT   R   (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyRX      s
    c         C   s]   d |  j  j   | f } t j d | d  } |  j j   | |  j d <|  j j |  d  S(   Ns   %s/%s.?s   nroff -man %s | ul -it   rR   (   R6   RV   R   t   popenR   t   killR*   t	   parsefile(   RT   R   R   t   fp(    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyR_      s
    c         C   s`  | s |  j  j   d GHd  S|  j j   s7 t j } n d  } y. | r[ t j | |  } n t j |  } Wn- t j k
 r } |  j  j   d G| GHd  SX|  j	 j
 t    } t j | t j | d    } |  j	 j
 t    } t j | t j | d    } | }	 d }
 x4| d } | | k rM|	 d k r8Pn  |	 } d } d }	 n  |  j	 j d | d |  } | j |  } | d k rd }
 t d t | j d    } y  |  j	 j d t   t    Wn t k
 rn X|  j	 j d d	 | | f d	 | | | f  |  j	 j t   d	 | | f  |  j	 j t    PqqW|
 s\|  j  j   n  d  S(
   Ns   Empty search strings   Regex error:R   i    i   s   %d.0 linestarts   %d.0 lineendt   sels   %d.%d(   R   Rg   RH   RV   t   ret
   IGNORECASEt   Nonet   compilet   errorR   t   indext   AtInsertt   stringt   atoit   findRi   R)   t   maxR[   t   groupt
   tag_removet
   AtSelFirstt	   AtSelLastt   TclErrort   tag_addt   mark_sett   yview_pickplace(   RT   R)   t   mapt   progt   msgt   heret   linenot   endt	   endlinenot
   wraplinenot   foundt   linet   iRc   (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyRa      sd    	
	N(   t   __name__t
   __module__Rx   RU   R=   RZ   RW   RB   RN   RF   RO   RP   RQ   Ro   RX   R_   Ra   (    (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyR   9   s   M												c          C   sW   t    }  t |   } t j d r9 | j t j d  n  |  j d d  |  j   d  S(   Ni   (   t   TkR   t   syst   argvR_   t   minsizet   mainloop(   t   roott   sb(    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyt   main  s    	(    (   R   R   R}   Rv   t   TkinterR   t   MANNDIRLISTt   MAN3DIRLISTt   foundmanndirt   dirt   patht   existsR>   t   foundman3dirR<   t   stderrt   writeR   R   t   exitR   R   R   (    (    (    s0   /usr/lib64/python2.7/Demo/tkinter/guido/tkman.pyt   <module>   sD   
			