zsh-workers
 help / color / mirror / code / Atom feed
From: Dave Sainty <David.Sainty@Comp.VUW.AC.NZ>
To: zsh-workers@math.gatech.edu
Subject: Re: "Watch" function?
Date: Wed, 11 Oct 1995 09:07:26 +1300	[thread overview]
Message-ID: <199510102007.JAA22029@lido.comp.vuw.ac.nz> (raw)
In-Reply-To: Your message of "Tue, 10 Oct 1995 15:53:13 EDT." <9510101953.AA08115@offenbach.sbi.com>

daemonboy writes:

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

Yeah, I would probably use it....

> My thought is to pop up a Perl/Tk window when someone logged in, rather than
> just printing it in the xterm.

....I just wouldn't use it like that... :-) If you're simply going to
call a perl script with it, it would seem more sensible to write the
whole thing in perl, scan utmp or wtmp yourself.

But I would quite like to customise the messages more based on who
logged in/out from where....

Dave.


  reply	other threads:[~1995-10-10 20:47 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 [this message]
1995-10-18  5:24 ` Richard Coleman
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=199510102007.JAA22029@lido.comp.vuw.ac.nz \
    --to=david.sainty@comp.vuw.ac.nz \
    --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).