zsh-users
 help / color / mirror / code / Atom feed
From: Paul Lew <paullew@cisco.com>
To: zsh-users@sunsite.auc.dk
Subject: TRAPNAL with TMOUT problem
Date: Sun, 20 Aug 2000 22:58:59 -0700 (PDT)	[thread overview]
Message-ID: <14752.50467.89781.100331@paullew-ultra.cisco.com> (raw)

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.


             reply	other threads:[~2000-08-21 17:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-21  5:58 Paul Lew [this message]
2000-08-21 17:48 ` Bart Schaefer
     [not found]   ` <14754.42242.721509.918727@paullew-ultra.cisco.com>
2000-08-22 18:24     ` Bart Schaefer
     [not found]       ` <14757.19686.238318.996093@paullew-ultra.cisco.com>
2000-08-24 17:27         ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14752.50467.89781.100331@paullew-ultra.cisco.com \
    --to=paullew@cisco.com \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).