zsh-workers
 help / color / mirror / code / Atom feed
From: Richard Coleman <coleman@math.gatech.edu>
To: mcampbel@schubert.sbi.com
Cc: zsh-workers@math.gatech.edu
Subject: Re: "Watch" function?
Date: Wed, 18 Oct 1995 01:24:38 -0400	[thread overview]
Message-ID: <9510180524.AA24737@redwood.skiles.gatech.edu> (raw)
In-Reply-To: Your message of "Tue, 10 Oct 1995 15:53:13 EDT." <9510101953.AA08115@offenbach.sbi.com>

> 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.)

I meant to reply to this earlier but got sidetracked.  Having zsh execute
a shell function at this point is easy.  The hard part is passing all the
information that you can access in WATCHFMT to this shell function.  We
would probably have to create more special parameters to do this.  I'm
not sure if it is worth it.

Richard Coleman
coleman@math.gatech.edu


  parent reply	other threads:[~1995-10-18  5:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-10 19:53 daemonboy
1995-10-10 20:07 ` Dave Sainty
1995-10-18  5:24 ` Richard Coleman [this message]
1995-10-18 12:26   ` Zoltan Hidvegi
1995-10-18 12:50   ` Dave Sainty

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=9510180524.AA24737@redwood.skiles.gatech.edu \
    --to=coleman@math.gatech.edu \
    --cc=mcampbel@schubert.sbi.com \
    --cc=zsh-workers@math.gatech.edu \
    /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).