Index: [thread] [date] [subject] [author]
  From: Christoph Egger <Christoph_Egger@t-online.de>
  To  : ggi-develop@eskimo.com
  Date: Fri, 20 Aug 1999 15:31:05 +0200 (MEST)

Re: beep

On Thu, 19 Aug 1999, Peter I Amstutz wrote:

> On Thu, 19 Aug 1999, Erik Thiele wrote:
> 
> > porting my graphics layer from dos to ggi
> > i found a missing function
> > 
> > beep ()
> > 
> > every kind of terminal can do a beep. but how do i beep with ggi ?
> > 
> > i think beeping is not REALLY a job for ggi but then....
> > i cannot use xbell, since i might be on a vcsa.
> > i cannot use esound since i might be on a machine without esound.
> > etc pp
> > 
> > 
> > perhaps a simple beep should be seen as belonging to the terminal
> > and ggi should be able to do a beep ?
> > 
> > is there a solution ?
> 
> printf("\x7"); 
> 
> will echo the "bell" character.

printf("\a"); is more portable!

cheers,

Christoph Egger
E-Mail: Christoph_Egger@t-online.de


Index: [thread] [date] [subject] [author]