*ë
‹1™Ac       s¸    d  Z    d Z  d Z  y  e Wn   d d f \ Z Z n X y…  d k Z d k Z d k Z d k Z d k	 Z	   e i
 i e i i e	 i e i ƒ  ƒ d d d g ƒ ƒ ! d	 k l Z l Z WnC " # y $ e i i d
 e ƒ Wn % & e GHn X' ‚  n X* e i d i e i ƒ d Z + e i d ƒ d Z - e i ƒ  d Z 2 d „  Z 6 d k Z 8 d „  Z O e d j o R e i e ƒ  ƒ n U d S(   sž   determine if this computer is not being actively used

   just checks the first 12 ttys and mouse atimes and returns the
   amount of time since last accesseds0  
    quiescent -- how long the computer has been idle
    Copyright (C) 2004  John Comeau <jc@jcomeau.com>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    s5   Not all needed libraries found, upgrade or check pathi   i    Ni   s   libs   python(   s   gpls	   jclicenses   %s
s   .c     s   2 3 t  Sd  S(   N(   s   False(   s   whatever(    (    s   ./quiescent.pys
   DebugPrint2 s   c     s!  8 < > d g }  ? xe t d d ƒ d ? rO } @ y% A |  i t i d | ƒ d ƒ Wn B C t d | ƒ D n Xq' WE y! F |  i t i d ƒ d ƒ Wn G H t d ƒ I n XJ t d	 |  d
 t |  ƒ ƒ K t t	 i	 ƒ  t
 |  ƒ d ƒ } L t d | ƒ M t d | ƒ Sd S(   sš   return how many full minutes since last accessed via tty or mouse
 
    if 63 or over, return 63, as this allows other errorlevel
    ($?) bits to be usedi    i   i   s
   /dev/tty%di   s   failed stat: /dev/tty%ds
   /dev/mouses   failed stat: /dev/mouses   atimes: s	   minimum: i<   s   minutes quiescent: i?   N(   s   atimess   ranges   ttys   appends   oss   stats
   DebugPrints   mins   ints   times   maxs   minutes(   s   atimess   minutess   tty(    (    s   ./quiescent.pys   minutes8 s$    	%!#s   __main__(   s   __doc__s	   Copyrights   errormessages   Trues   Falses   syss   oss   typess   res   pwds   paths   appends   seps   joins   getpwuids   geteuids   com.jcomeaus   gpls	   jclicenses   stderrs   writes   argvs   splits   selfs   commands   originalselfs
   DebugPrints   times   minutess   __name__s   exit(   s   typess   Trues   oss   times   commands	   jclicenses   pwds   res   syss
   DebugPrints   errormessages   selfs   minutess   originalselfs	   Copyrights   Falses   gpl(    (    s   ./quiescent.pys   ? s2   		0;
!