HP3000-L Archives

March 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Michael D. Hensley" <[log in to unmask]>
Reply To:
Date:
Sun, 7 Mar 1999 19:54:47 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
Michael Hone asked:

> Using MPE 5.5 , Windows 9.x workstations and Reflections 7.0
>
> How do you do any of the following:
>
> 1. Send a "beep" from a stream job to the speaker on !hpuser's PC.
> 2. Send a signal from a stream job to !hpuser's PC that will make the
> Reflections terminal window come to the top. 3. Send a signal from a
> stream job to !hpuser's PC that will make the Reflections icon in the
> Taskbar flash or turn color.

Tough question!

There is an escape sequence you can send to Reflection to make it execute a
reflection script.  Forget the boring beep, you could get it to play a wav
file!

The official supported way to send a message from a batch job to a user's
terminal is the "TELL" command.  Unfortunately, for important security
reasons, it strips out most escape sequences.

I can think of two alternatives.

1. Write a PM program to send the escape sequence.  Hard to do.  If you don't
do it write, you can open up security holes galore (details withheld).

2. Start a second copy of Reflection.  In that copy, run a script which
monitors anything sent to it from the HP.  Forget the escape sequence, and
send a specially formatted message which will cause the monitoring script to
do whatever you want (play a wav file, launch a program that makes a little
dog run around the screen, whatever).

I'm going to have to leave the details as an excercise for the reader...

---
Michael D. Hensley       | mailto:[log in to unmask]
Allegro Consultants Inc. | Visit scenic http://www.allegro.com
408/252-2330             | "Support Bill of Rights Enforcement"

ATOM RSS1 RSS2