Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
TRAPNAL with TMOUT problem
- X-seq: zsh-users 3385
 
- From: Paul Lew <paullew@xxxxxxxxx>
 
- To: zsh-users@xxxxxxxxxxxxxx
 
- Subject: TRAPNAL with TMOUT problem
 
- Date: Sun, 20 Aug 2000 22:58:59 -0700 (PDT)
 
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
 
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author