|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Bill Marcum wrote:
> 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. I can't hear the beep sound using 'echo -e "\a\a\a\a"'. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Dec 23, 7:18 am, Tony Winslow <tonywinslow1...@gmail.com> wrote:
> Bill Marcum wrote: > > On 2007-12-23, Junmin H. <tien...@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. > > 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 |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On 25 Dic, 04:00, jellybean stonerfish <stonerf...@geocities.com>
wrote: > 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 are those posix solution? |
|
![]() |
| Outils de la discussion | |
|
|