tags 606409 + confirmed
retitle 606409 "beep -l 0" shouldn't make any sound
kthxbye 

[email protected] wrote:
> Strictly speaking,
> while :; do beep  -l 0; done
> shouldn't make any sound. But it does.

Confirmed.

Without having looked at the code I'd expect something like

makesound();
sleep(<value of -l>);
stopsound();

So maybe just the manpage needs an update and change from 

       -l N   beep for N milliseconds.

to something like

       -l N   beep and stop the sound again after N milliseconds.

> Same when -r is used.

At least "while :; do beep -l 1 -r 0; done" does make no sound as
at least I expect.

But "beep -l 0 -r 100" makes some sound but very quietly.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to