From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.net.au (8.7/8.7) with SMTP id FAA06589 for ; Wed, 11 Oct 1995 05:54:26 +1000 (EST) Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA26015 (5.65c/Gatech-10.0-IDA for ); Tue, 10 Oct 1995 15:53:02 -0400 Received: by math (5.x/SMI-SVR4) id AA28734; Tue, 10 Oct 1995 15:49:40 -0400 Resent-Date: Tue, 10 Oct 1995 15:53:13 -0400 Old-Return-Path: Date: Tue, 10 Oct 1995 15:53:13 -0400 Message-Id: <9510101953.AA08115@offenbach.sbi.com> To: zsh-workers@math.gatech.edu Subject: "Watch" function? From: mcampbel@schubert.sbi.com (daemonboy) Organization: Salomon Bros. Inc X-Attribution: MC Reply-To: mcampbel@schubert.sbi.com Resent-Message-Id: <"OoeR11.0.r07.JviUm"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/438 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I asked about this a *long* time ago, and heard nothing, so I'll forward the idea again and see if it flies. Instead of/in addition to being able to specify a format string for the "watch" facility, how hard would it be to have a special function which, if defined, would be called whenever the "watch" facility "saw" someone login/logout? (Akin to precmd(), periodic(), chpwd(), etc.) My thought is to pop up a Perl/Tk window when someone logged in, rather than just printing it in the xterm. Does this sound do-able? Would anyone even use it? (Other than me, of course.) +-----------------------------------------------------------------------------+ | Michael Campbell - mcampbel@offenbach.sbi.com :: I speak only for myself :: | | Send me mail w/subject "send me pgp key" for my public PGP key. | +-----------------------------------------------------------------------------+