Unix Shell - long beep?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > December 2007 > long beep?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author long beep?
Junmin H.

2007-12-23, 1:38 am

Hello all,

$ echo -e "\a" # this will get a beep sound.

if i want a long beep non-stop sound???


thanks.

Junmin

--
Posted via a free Usenet account from http://www.teranews.com

Bill Marcum

2007-12-23, 1:38 am

On 2007-12-23, Junmin H. <tienchi@gmail.com> wrote:
>
>
> Hello all,
>
> $ echo -e "\a" # this will get a beep sound.
>
> if i want a long beep non-stop sound???
>
>
> thanks.
>
> Junmin
>

The only portable shell solution would be to use more "\a"s. If you are
using X11, "xset b" can set the duration and pitch of the beep. On a
Linux console, "setterm" does the same.
Tony Winslow

2007-12-23, 7:31 am

Bill Marcum wrote:
> On 2007-12-23, Junmin H. <tienchi@gmail.com> wrote:
> The only portable shell solution would be to use more "\a"s. If you are
> using X11, "xset b" can set the duration and pitch of the beep. On a
> Linux console, "setterm" does the same.


I can't hear the beep sound using 'echo -e "\a\a\a\a"'.
james19390@yahoo.com

2007-12-24, 1:23 pm

On Dec 23, 7:18 am, Tony Winslow <tonywinslow1...@gmail.com> wrote:
> Bill Marcum wrote:
>
>
>
>
>
>
>
> I can't hear the beep sound using 'echo -e "\a\a\a\a"'.


Maybe this:

for ((i=1;i<=30;i++)); do

echo -e "\a"

sleep .01

done
jellybean stonerfish

2007-12-25, 1:38 am

On Sun, 23 Dec 2007 05:33:11 +0000, Junmin H. wrote:

> Hello all,
>
> $ echo -e "\a" # this will get a beep sound.
>
> if i want a long beep non-stop sound???
>
>
> thanks.
>
> Junmin
>


Try beep. A nice little program for beeping with adjustable pitches and
lengths.

If you can compile, try: http://www.johnath.com/beep/

If you can't compile there may be an rpm here

ftp://ftp.falsehope.com/pub/beep/

or

ftp://ftp.freshmeat.net/pub/rpms/beep/

stonerfish
franzi

2007-12-25, 1:24 pm

On 25 Dic, 04:00, jellybean stonerfish <stonerf...@geocities.com>
wrote:
> On Sun, 23 Dec 2007 05:33:11 +0000, Junmin H. wrote:
>
>
>
>
>
> Try beep. =A0A nice little program for beeping with adjustable pitches and=


> lengths.
>
> If you can compile, try: =A0 =A0http://www.johnath.com/beep/
>
> If you can't compile there may be an rpm here
>
> ftp://ftp.falsehope.com/pub/beep/
>
> or
>
> ftp://ftp.freshmeat.net/pub/rpms/beep/
>
> stonerfish


are those posix solution?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com