home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 21766 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  2.0 KB

  1. Xref: sparky comp.os.vms:21766 vmsnet.sources.games:495
  2. Newsgroups: comp.os.vms,vmsnet.sources.games
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!kcgl1.eng.ohio-state.edu!JONESD
  4. From: JONESD@kcgl1.eng.ohio-state.edu (David Jones)
  5. Subject: Re: "Beat the Buzzer" Game?
  6. Message-ID: <1993Jan22.205358.1131@magnus.acs.ohio-state.edu>
  7. Sender: news@magnus.acs.ohio-state.edu
  8. Nntp-Posting-Host: kcgl1.eng.ohio-state.edu
  9. Organization: The Ohio State University
  10. References: <1993Jan20.122713.84@iwsd01.itwol.bhp.com.au>
  11. Date: Fri, 22 Jan 1993 20:53:58 GMT
  12. Lines: 36
  13.  
  14. In article <1993Jan20.122713.84@iwsd01.itwol.bhp.com.au>, webosk@iwsd01.itwol.bhp.com.au writes:
  15. >
  16. >I would like ideas to achieve the following:
  17. >- a program which is easily configurable (at runtime) to send messages to
  18. >  my terminal, and *only* my terminal (there will be other users on the
  19. >  system).
  20. >- a way of disabling nuisance messages until I am ready to receive them,
  21. >  and to prevent a user sending multiple messages by holding his finger on
  22. >  the button.
  23. >- ensuring that the first person to press his button really *is* the first
  24. >  to get through to my terminal.
  25. >
  26. >Are there better methods than using $BRKTHRU (e.g. Common Event Flags and
  27. >Global Sections)?
  28.  
  29. Write 2 programs:
  30.  
  31.     Program A creates a mailbox and assigns a system logical names to it.
  32.     It then reads messages from this mailbox and echos it to sys$output.
  33.  
  34.     Program B assigns a channel to the mailbox created by program A and
  35.     sends a message when the button is pushed.  User of program B needs
  36.     no privileges.
  37.  
  38.  
  39. If you want to throttle the rate a which program B sends messages, you
  40. can rig something up with the lock manager.
  41.  
  42.  
  43.  
  44. David L. Jones               |      Phone:    (614) 292-6929
  45. Ohio State Unviversity       |      Internet:
  46. 1971 Neil Ave. Rm. 406       |               jonesd@kcgl1.eng.ohio-state.edu
  47. Columbus, OH 43210           |               jones-d@eng.ohio-state.edu
  48.  
  49. Disclaimer: A repudiation of a claim.
  50.