From: SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 5-JAN-1994 15:28:58.90 To: EVERHART CC: Subj: Re: was (RE: How to get termianl) Non-terminals receive brdcst? X-Newsgroups: comp.os.vms Subject: Re: was (RE: How to get termianl) Non-terminals receive brdcst? Message-ID: From: robin_goldstone@macgate.csuchico.edu (Robin, Girl Wonder) Date: Wed, 05 Jan 1994 07:58:55 -0800 Followup-To: comp.os.vms Distribution: world Organization: CSU Chico Computing Services NNTP-Posting-Host: robin.csuchico.edu Lines: 36 To: Info-VAX@CRVAX.SRI.COM X-Gateway-Source-Info: USENET patrick@ess2.dnet.nasa.gov wrote: I have tried several times in the past, without find the right combination, to write an X program that receives broadcast messages. DEC provides Message Window, but it doesn't work they way I want it to... Well, all examples I can find required that you run it from a terminal so it can capture broadcast message that were sent to the terminal. Anyone know how to request broadcast messages without being a terminal? ============================================================================ gavron@hearts.aces.com (Ehud Gavron) wrote: Trivial to patch $BRKTHRU. I already have the code. I'll happily sell it. ============================================================================ don@zl2tnm.gen.nz (Don Stokes) wrote: It's surprisingly trivial given enough privileges... 8-) Personally, I have a routine that grabs broadcast messages off the Message Window's own TWA device. The code to rendezvous with the device is as simple as: $ loop: pid = f$pid(ctx) $ if pid .eqs. "" then exit $ if f$parse(f$getjpi(pid, "IMAGNAME"),,,"NAME") .nes. "DECW$SESSION" - then goto loop $ assign 'f$getjpi(pid, "TT_PHYDEVNAM")' SYS$OUTPUT [...additional code to trap a broadcast deleted... (RG)] ============================================================================ From E-D-U-P-A-G-E 1/4/94: CYBERSPACE-SHIP ENTERPRISE. Though commercial uses of the Internet have been growing rapidly, Educom VP Mike Roberts says that "for every greedy guy who shows up on the network trying to make a buck, there will be people around with something of equal value that's available for free. That will do a lot to thwart the greed." (New York Times Week in Review 1/2/94 p.5)