HP3000-L Archives

February 2010, Week 4

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:
Tracy Pierce <[log in to unmask]>
Reply To:
Tracy Pierce <[log in to unmask]>
Date:
Mon, 22 Feb 2010 09:24:58 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (120 lines)
> > I would just like to know if there is other sound we could send to
> > System to play a wav sound file other than "beep" for "Default Beep"?

assuming you're running Reflection terminal emulator on a Windows PC.  In response to a ^G (BEL) character received from the HP3000 host, Reflection invokes Windows DefaultBeep.  

You can change the sound file invoked by that function via ControlPanel,Sounds(etc).  or you can just rename another .wav file atop Windows XP Ding.wav.  

also see WRQ Reflection Programming Reference, look at BEEP aka TerminalSound: yes, you can invoke any .wav file you can name.
 

> -----Original Message-----
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf Of Tony
> Summers
> Sent: Monday, February 22, 2010 8:49 AM
> To: [log in to unmask]
> Subject: Re: Cobol: Sound other than beep?
> 
> Using your favourite terminal emulator you can do the following ....
> 
> One of our team has developped a script that allows the HP to create a
> PDF file, then FTP it to our file servers and then automatically open
> the PDF file using acrobat...
> 
> Here's a simpler example where a file is opened via wordpad..
> 
> <clip>
> 
> #         TERM = hp          <-- REFLECTION
> #         TERM = 70092       <-- MINISOFT
> 
> if TERM = "hp" then
>    # Using REFLECTION, so we open the file directly. NOTE, if '.txt'
> file types
>    # are not associated with WORDPAD on the users PC, then the result
> will be
>    # unpredictable. NOTEPAD, for example will have a problem reading
> some
>    # file types accurately.
>    setvar INVOKE_TEXT "SHELL START !V_FTP_TARGET"
> else
>    # Using MINISOFT, so we'll explicitly run WORDPAD, and open the file.
> As
>    # noted at the top of this script, we 'assume' the location of
> WORDPAD on
>    # the users PC.
>    setvar INVOKE_TEXT "run C:\Program Files\Windows
> NT\Accessories\wordpad.exe !V_FTP_TARGET"
> endif
> 
> # This bit does the work, causing WORDPAD to open with the requested
> file
> setvar INVOKE_START "![CHR(27)]"+"&oF"
> echo !INVOKE_START !INVOKE_TEXT
> 
> Hope this helps.
> 
> -----Original Message-----
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
> Behalf Of Michael
> Sent: 22 February 2010 16:43
> To: [log in to unmask]
> Subject: Re: [HP3000-L] Cobol: Sound other than beep?
> 
> The closest I ever came to play a wav file on the HP3000 was using a US
> Robotics Voice Modem. This allowed me to dial a number an play a sound
> file message, and it didn't work very well. Later because of MPE
> hardware compatibility issues I moved the voice modem to a Linux box,
> sent the modem request from the HP3000 to the Linux box using IPC calls,
> that worked very well!
> 
> In a normal HP3000 application environment you are limited to terminal
> base applications, and terminals only know one sound, <cntrl-G>, or %7,
> and that's it. Now with terminal emulators running on machines that can
> listen and talk back to you, their is a way from the HP3000 to tell the
> host machine to play a sound file. Look at QCTerm for Windows, by AICS
> Research. It is still available at
> http://www.aics-research.com/qcterm/index.html
> 
> Using Cobol, Basic, Fortran, SPL, C/iX, Speedware, Cognos Quick, even
> perl on MPE, language is irrelevant. QCTerm has a scripting language and
> similar to a web browser allows you to execute multi-media objects
> (sound, video, pictures) on the client machine, from the host server
> (terminal based application on the HP3000).
> 
> I still want a native GUI environment for MPE/iX:
> 
> Mike.
> 
> 
> SUBSCRIBE HP3000-L Anonymous wrote:
> > Hi,
> >
> > I would just like to know if there is other sound we could send to
> > System to play a wav sound file other than "beep" for "Default Beep"?
> >
> > Thanks!
> >
> > * To join/leave the list, search archives, change list settings, *
> > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
> >
> >
> 
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
> 
> The contents of this email are confidential to the intended recipient and may not
> be disclosed. Although it is believed that this email and any attachments are virus
> free, it is the responsibility of the recipient to confirm this.
> 
> Details of Smith & Williamson group companies and Nexia Smith & Williamson Audit
> Limited and their regulators (where applicable), can be found at this URL
> 
> http://www.smith.williamson.co.uk/disclosure
> 
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2