From: Barry Margolin
Subject: Re: how to ring the bell?
Date: 
Message-ID: <Y91D5.9$Uc7.154@burlma1-snr2>
In article <···························@news.uni-ulm.de>,
kp gores  <·····@sip.medizin.uni-ulm.de> wrote:
>hi,
>to get extra attention i want my lisp program to ring the bell.
>the obvious (print (code-char 7)) or (print #\Bell) don'T work.

You should use PRINC, not PRINT.  The latter prints the printed
representation, i.e. #\something.

-- 
Barry Margolin, ······@genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

From: lyle borg-graham
Subject: Re: how to ring the bell?
Date: 
Message-ID: <39DDAD83.E8F31FD4@cogni.iaf.cnrs-gif.fr>
kp gores wrote:

> In article <···············@burlma1-snr2>, Barry Margolin
> <······@genuity.net> wrote:
>
> > You should use PRINC, not PRINT.  The latter prints the printed
> > representation, i.e. #\something.
>
> thanks. this doesnt work correctly under my setup (X server eXodus on a
> mac, lisp runing under emacs+ilisp on a sun).
> it *does* work when lisp is envoked from a plain terminal (rxvt).
>
> it looks like there is a problem with ilisp? Marco Antoniotti?
>
> ciao
>   kp
>
> --
> superegos talker

Another data point: This also doesn't work when running CMUCL from a shell
buffer under Emacs. Therefore the problem is probably not with ilisp.

Lyle
From: Barry Margolin
Subject: Re: how to ring the bell?
Date: 
Message-ID: <7ElD5.58$Uc7.826@burlma1-snr2>
In article <·················@cogni.iaf.cnrs-gif.fr>,
lyle borg-graham  <····@cogni.iaf.cnrs-gif.fr> wrote:
>kp gores wrote:
>
>> In article <···············@burlma1-snr2>, Barry Margolin
>> <······@genuity.net> wrote:
>>
>> > You should use PRINC, not PRINT.  The latter prints the printed
>> > representation, i.e. #\something.
>>
>> thanks. this doesnt work correctly under my setup (X server eXodus on a
>> mac, lisp runing under emacs+ilisp on a sun).

When displaying in an X window, you have to use an X-specific function --
whatever is equivalent to Xlib's XBell().  This is no different from
programming GUI applications in any other language.

>> it *does* work when lisp is envoked from a plain terminal (rxvt).
>>
>> it looks like there is a problem with ilisp? Marco Antoniotti?
>
>Another data point: This also doesn't work when running CMUCL from a shell
>buffer under Emacs. Therefore the problem is probably not with ilisp.

There's no way to ring the bell from any application running in a shell
buffer under Emacs.  And ilisp makes use of the same underlying mechanism
as shell buffers.

-- 
Barry Margolin, ······@genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.