Menu

#272 Beeping

v1.0_(example)
open
nobody
None
5
2016-06-03
2016-06-03
kalpha
No

If dosemu is installed on a unit without an internal speaker but has external speakers, should the FreeDOS cmd Beep still emit a sound?
The FreeDOS cmd Beep works on units I have with internal speaker/buzzer but not on those without.
from a terminal I tried
echo -e "\007"
this does nothing, but as per a google suggestion if you do (if you have permission)
echo -e "\007" > /dev/tty5
it does beep ... not sure why ... and apparently it does rely on knowing a tty is available and unused?
Is it possible to do via a config setting change to allow the above or redirect to the external speakers somehow... maybe making use of the (debian) beep package?

or would it require hacking the speaker.c function
static void dumb_speaker_on(void * gp, unsigned ms, unsigned short period)
{
putchar('\007');
}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.