Skip to content

Does cat("\a") ring a bell?

5 messages · stefano iacus, Friedrich Leisch, John Fox +1 more

#
Under GUIs other than Windows (Mac OS X, ESS, etc.) does 

 cat("\a") 

still make a bell (or some other) sound?  If so, I'll add a "bell()"
function to utils.

Duncan Murdoch
#
no, on Mac OS X, but could be easily implemented.
stefano
On 07/mar/05, at 21:02, Duncan Murdoch wrote:

            
#
> no, on Mac OS X, but could be easily implemented.
  > stefano
> On 07/mar/05, at 21:02, Duncan Murdoch wrote:
>> Under GUIs other than Windows (Mac OS X, ESS, etc.) does
  >> 
  >> cat("\a")
  >> 
  >> still make a bell (or some other) sound?  If so, I'll add a "bell()"
  >> function to utils.
  >> 

On Linux:

xterm/gnome-terminal:	yes
ESS			no

.f
#
Dear Duncan et al.,

Actually, it doesn't work under ESS on Windows either.

Regards,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
--------------------------------
#
I've now added a function called "alarm()" to ring a bell.  It's
documented to work on some platforms, but not all.

If it truly is easy to support this, you might as well, but I can't
see this as a high priority.

Duncan Murdoch

On Mon, 7 Mar 2005 21:12:17 +0100, stefano iacus
<stefano.iacus@unimi.it> wrote :