PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > long beep?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

long beep?

Réponse
 
LinkBack Outils de la discussion
Vieux 23/12/2007, 05h33   #1
Junmin H.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut long beep?

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

  Réponse avec citation
Vieux 23/12/2007, 07h04   #2
Bill Marcum
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: long beep?

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.
  Réponse avec citation
Vieux 23/12/2007, 12h18   #3
Tony Winslow
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: long beep?

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"'.
  Réponse avec citation
Vieux 24/12/2007, 19h17   #4
james19390@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: long beep?

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
  Réponse avec citation
Vieux 25/12/2007, 03h00   #5
jellybean stonerfish
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: long beep?

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
  Réponse avec citation
Vieux 25/12/2007, 19h03   #6
franzi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: long beep?

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?
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h38.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14257 seconds with 14 queries