home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 11068 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.6 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!news.tufts.edu!news.tufts.edu!rdorich
  2. From: rdorich@jade.tufts.edu (Rob)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: Want to know if fingered
  5. Message-ID: <RDORICH.92Sep14203739@jade.tufts.edu>
  6. Date: 15 Sep 92 00:47:57 GMT
  7. References: <1992Sep14.212435.20411@cmcl2.nyu.edu>
  8. Sender: news@news.tufts.edu (USENET News System)
  9. Organization: Tufts University - Medford, MA
  10. Lines: 30
  11. In-Reply-To: memco@cns.nyu.edu's message of 14 Sep 92 21:24:35 GMT
  12.  
  13. This is actually mentioned somewhere in a FAQ to some extent.  What
  14. you have to do is to make your .plan file into a socket file try man
  15. mknod for this (and use mknod file p).
  16.  
  17. Then all you have to do is have another file trying to write to this
  18. socket, followed by anything you'd like to do... this could be an
  19. example:
  20.  
  21. #.plan is a socket
  22. echo a >> .plan
  23. echo Yout were paged at `date` by `w | grep $user | awk '{print $1}' |
  24. grep -v $user` >> $home/log
  25.  
  26.    Oh, this method is not fully portable, it varies between systems...
  27. I have experienced the following experiences:
  28.  
  29.    mknod is out of my reach;
  30.    finger will only read .plan if it's a text file.
  31.  
  32.  
  33. Good luck
  34.  
  35.  
  36. --
  37.  
  38. -------------------------------------------------------------------------------
  39. Roberto Dorich           |           /~~  \ /  ~~/~~ /~~/  /~~  /|  /    /~~
  40.                          |    SKI   /--    X    /   /__/  /--  / |/ |   /--
  41. rdorich@jade.tufts.edu   |         /__    / \  /   /\    /__  /     |  /__
  42. -------------------------------------------------------------------------------
  43.