home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9354 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  2.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!network.ucsd.edu!mvb.saic.com!unogate!noiro.acs.uci.edu!ttinews!metis!reid
  2. From: reid@metis.tti.com (Reid Kneeland)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: Making ``.plan'' EXECUTE a Program ???
  5. Message-ID: <1992Jul23.184801.5551@ttinews.tti.com>
  6. Date: 23 Jul 92 18:48:01 GMT
  7. References: <1992Jul21.200454.3795@ccu.umanitoba.ca> <bharat.711752774@Xenon.Stanford.EDU>
  8. Sender: usenet@ttinews.tti.com (Usenet Admin)
  9. Organization: Transaction Technology Inc.
  10. Lines: 28
  11. Nntp-Posting-Host: metis.tti.com
  12.  
  13. In article <bharat.711752774@Xenon.Stanford.EDU> bharat@Xenon.Stanford.EDU (Bharat Shyam) writes:
  14. >umnoor@ccu.umanitoba.ca (Nasir Ahmed Noor) writes:
  15.  
  16. >>(today I used finger on a userid, it displayed all the info in a pretty
  17. >> standard way nutill it reached the "plan:" line as at this moment this
  18. >> person's plan was displayed in a way that only a program/script could do).
  19. >
  20. >Make your .plan a named pipe. (See "man mknod"). then have a program
  21. >that writes to it. It will sleep until the finger daemon reads from it,
  22. >whence your prog  will be awakened and the finger daemon will read 
  23. >what your program is writing.
  24.  
  25. This works, of course, but you'd be surprised what a plain .plan file
  26. (without program) can do.  You can fill it with all kinds of terminal
  27. control characters, no-op sequences for timing, etc, and get some
  28. remarkable graphic effects without any executable code (other than
  29. finger itself).  When I was in college, someone I knew had a .plan that
  30. used vt-100 graphics to cause a PacMan to run across the screen, eating
  31. characters.  (Mark V., are you out there?)
  32.  
  33. =====================================================================
  34. Reid Kneeland
  35. reid@ttidca.tti.com  (that's MISTER reid@ttidca.tti.com to you!)
  36. {philabs,psivax,pyramid,quad1,rdlvax,retix,rutgers}!ttidca!reid
  37. Transaction Technology Inc., Santa Monica, CA, USA (310) 450-9111 x2499
  38. The opinions expressed above do not necessarily etc etc...
  39.  
  40. Never trust a man who can count to 1,023 on his fingers.
  41.