comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL- terminal beep on win95
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL- terminal beep on win95 [message #14980] Wed, 14 April 1999 00:00 Go to next message
isojoern is currently offline  isojoern
Messages: 6
Registered: April 1999
Junior Member
How can send a beep to a win95 terminal in IDL ?

Thanks, joern




-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: IDL- terminal beep on win95 [message #15039 is a reply to message #14980] Sat, 17 April 1999 00:00 Go to previous message
Waleed is currently offline  Waleed
Messages: 9
Registered: March 1999
Junior Member
print, string(7b) doesn't work for me for some reason.
But there's an IDL command 'beep' that seem to do it.

Waleed
waleed@lycosmail.com


--

Re: IDL- terminal beep on win95 [message #15054 is a reply to message #14980] Thu, 15 April 1999 00:00 Go to previous message
wbiagiot is currently offline  wbiagiot
Messages: 59
Registered: January 1999
Member
>
>> How can send a beep to a win95 terminal in IDL ?
>
> print, string( 7b ) should do it.
>


I have IDL 5.2 running on Win95 and printing the above string gives me a funny
looking box without any sound. The 'beep' function does the trick though. Can
anyone else with Win95 verify this?

I've always wanted some IDL sound feedback. As long as we are on this, is
there anything out there in IDL (simple) for playing a 'wav' file?

Thanks,

Bill B.


-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: IDL- terminal beep on win95 [message #15063 is a reply to message #14980] Wed, 14 April 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Robert S. Mallozzi (mallors@msfc.nasa.gov) writes:

>>> I don't have win95 but on win NT I use the undocumented beep

> It also works under
>
> { x86 linux unix 5.2 Oct 30 1998}
> { mipseb IRIX unix 5.2 Oct 30 1998}
>
> Neat! But should we use it in code, if it's undocumented...
> That begs the question - why isn't it documented? Does
> it work on all platforms?

I'm thinking we should have a contest to see who can
find the most undocumented features in IDL. How about
this one:

Contour, peak, NLEVELS=12, /Really

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: IDL- terminal beep on win95 [message #15065 is a reply to message #14980] Wed, 14 April 1999 00:00 Go to previous message
mallors is currently offline  mallors
Messages: 76
Registered: November 1997
Member
In article <MPG.117e6f975a48a21598976a@news.frii.com>,
davidf@dfanning.com (David Fanning) writes:
> R.Bauer (R.Bauer@fz-juelich.de) writes:
>
>> I don't have win95 but on win NT I use the undocumented beep
>
> Well, now. *THAT* works!
>
> I'm going to write that up as a tip before I forget it. :-)
>
> Cheers,
>
> David

It also works under

{ x86 linux unix 5.2 Oct 30 1998}
{ mipseb IRIX unix 5.2 Oct 30 1998}

Neat! But should we use it in code, if it's undocumented...
That begs the question - why isn't it documented? Does
it work on all platforms?


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
Robert S. Mallozzi 256-544-0887
Mail Code ES 84
Work: http://www.batse.msfc.nasa.gov/ Marshall Space Flight Center
Play: http://cspar.uah.edu/~mallozzir/ Huntsville, AL 35812
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
Re: IDL- terminal beep on win95 [message #15069 is a reply to message #14980] Wed, 14 April 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
R.Bauer (R.Bauer@fz-juelich.de) writes:

> I don't have win95 but on win NT I use the undocumented beep

Well, now. *THAT* works!

I'm going to write that up as a tip before I forget it. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: IDL- terminal beep on win95 [message #15070 is a reply to message #14980] Wed, 14 April 1999 00:00 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
isojoern@my-dejanews.com wrote:

> How can send a beep to a win95 terminal in IDL ?
>
> Thanks, joern
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

I don't have win95 but on win NT I use the undocumented beep

IDL > beep

R.Bauer
Re: IDL- terminal beep on win95 [message #15075 is a reply to message #14980] Wed, 14 April 1999 00:00 Go to previous message
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
isojoern@my-dejanews.com wrote:

> How can send a beep to a win95 terminal in IDL ?

print, string( 7b ) should do it.

Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: keyword_set() NullObject and NullPointer
Next Topic: No subject was specified.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:03:32 PDT 2025

Total time taken to generate the page: 0.01175 seconds