Re: [Oorexx-devel] An attempt at a real Beep() function on Linux.

2019-02-13 Thread Erich Steinböck
On Ubuntu I'm receiving
Trying to beep at 300 for 300
Test ioctl() call failed, errno=25
ioctl() returned -1, errno = 25
Playing the speaker failed, using a bell character

This might work on a real console, but with ssh-only access to our build
slaves through putty (which is what I use to access them) I don't think
there's a way to get sound (except for an emulated bell) ... but then I may
be wrong ..
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] An attempt at a real Beep() function on Linux.

2019-02-13 Thread Rick McGuire
I just committed an attempt at a real Beep() function for Linux, but so
far, I've not been able to get it to work on my Ubuntu installation. The
beep utility also does not work on my system and I've found a lot of
discussion about problems getting this to work on Ubuntu, so I suspect this
might be a problem with the system I'm running this on rather than
necessarily a bug in the code.

Erich, I wonder if you could try running this on some of the other
distributions. I've left a bunch of debugging printfs() in the function to
we can easily determine how this is failing. Everything I've found about
using ioctl() to produce a sound suggests this should work, but so far,
nothing I've tried has succeeded. Eventually it falls back to the primitive
method of printing out a bell character.

Rick
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel