From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16384 invoked from network); 21 Aug 2000 17:22:25 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 21 Aug 2000 17:22:25 -0000 Received: (qmail 22218 invoked by alias); 21 Aug 2000 17:21:12 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3385 Received: (qmail 22198 invoked from network); 21 Aug 2000 17:21:11 -0000 X-Authentication-Warning: paullew-ultra.cisco.com: paullew set sender to paullew@cisco.com using -f From: Paul Lew Message-ID: <14752.50467.89781.100331@paullew-ultra.cisco.com> Date: Sun, 20 Aug 2000 22:58:59 -0700 (PDT) To: zsh-users@sunsite.auc.dk Subject: TRAPNAL with TMOUT problem X-Mailer: VM 6.74 under Emacs 20.7.1 Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII I have been setting the TMOUT value and defining TRAPALRM function to perform some background operation. However, there is a side-effect I did not expect: The 'idle' time for command 'w' is now affected by the invocation of TRAPALRM function, i.e., if I defined TMOUT to be 3600, zsh will never show idle more than 60 minutes. This is not good because I have been using this to track co-worker's activity so we can roughly know if a user is logining on. Now this information is no longer useful. Any idea what's the best solution to this? Thanks. BTW, I am using zsh-3.1.9 on Solaris 2.6 with /usr/ucb/w command.