[comp.unix.wizards] Help with watch in tcsh

yosi@cisunx.UUCP (David Heyman) (03/28/88)

I can't seem to get the watch in tcsh to work.

I set the watch as = (5 userid any) and it does nothing.

The only time it seems to do anything is when I type log.


-- 
David L. Heyman     "Rotzim shalom,  VMS:  (peacenow or yosi)@pittvms.Bitnet
  University         salam, shalom,        (peacenow or yosi)@cisvm2.CCnet
      of             sharim, sharim  Unix: ...!pitt!cisunx!(peacenow or yosi)
  Pittsburgh         shalom...."           (peacenow or yosi)@cisunx.UUCP

karl@triceratops.cis.ohio-state.edu (Karl Kleinpaste) (03/28/88)

yosi@cisunx.UUCP writes:
   I can't seem to get the watch in tcsh to work.
   I set the watch as = (5 userid any) and it does nothing.
   The only time it seems to do anything is when I type log.

The time value in $watch[1] is in minutes.  You have set a 5-minute
watch interval period.  Set it to 1 and you'll probably get behavior
closer to what you want.  If you set it to zero, you'll get immediate
updates every time you get a command prompt...but you'll also
completely re-read and re-parse /etc/utmp every time you get a command
prompt, which is NOT desirable.

--Karl