Re: beep unconditionally

2002-06-22 Thread Dan Jacobson
 Do you mean something like this:
 
 --- thing.sh ---
 sleep 3
 echo -e \\a
 --- thing.sh ---
 
 # nohup ./thing.sh 

No I mean something like
$ echo ./thing.sh|at 2:12 pm
and having it ring a bell instead of sending a flashing/beeping
letter bomb, and all with standard tools of course.
-- 
http://jidanni.org/ Taiwan(04)25854780


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: beep unconditionally

2002-06-21 Thread Dan Jacobson
How kind of you all to offer your beep and ditty solutions, I will
have to try them next time I break out the 8 woody CDs.

However your suggestions of print(1) and echo(1) do not fill the bill
as I want a way to get the little speaker to beep due to #2:
1. with standard tools
2. from a batch script not connected to any terminal
3. don't have to be root, however yes, a running X as a regular user

Dan I used to do the below, but now:
Dan $ echo -e \\a  /dev/console 
Dan bash: /dev/console: Permission denied
-- 
http://jidanni.org/ Taiwan(04)25854780


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: beep unconditionally

2002-06-21 Thread Tom Cook
On  0, Dan Jacobson [EMAIL PROTECTED] wrote:
 How kind of you all to offer your beep and ditty solutions, I will
 have to try them next time I break out the 8 woody CDs.
 
 However your suggestions of print(1) and echo(1) do not fill the bill
 as I want a way to get the little speaker to beep due to #2:
 1. with standard tools
 2. from a batch script not connected to any terminal
 3. don't have to be root, however yes, a running X as a regular user
 
 Dan I used to do the below, but now:
 Dan $ echo -e \\a  /dev/console 
 Dan bash: /dev/console: Permission denied

Do you mean something like this:

--- thing.sh ---
sleep 3
echo -e \\a
--- thing.sh ---

# nohup ./thing.sh 

?

Tom
-- 
Tom Cook
Information Technology Services, The University of Adelaide

If it weren't for electricity we'd all be watching television by candlelight.
- George Gobol

Get my GPG public key: 
https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au


pgpuPiIQH3tpR.pgp
Description: PGP signature


beep unconditionally

2002-06-20 Thread Dan Jacobson
How does one get a beep unconditionally from that little speaker be it
from a batch job or whatever.  Assume I can give a valid $XAUTHORITY.

I used to do the below, but now:
$ echo -e \\a  /dev/console 
bash: /dev/console: Permission denied
Now only root can make it beep.  Without resorting to root powers,
what can one do?
-- 
http://jidanni.org/ Taiwan(04)25854780


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: beep unconditionally

2002-06-20 Thread Alex Malinovich
On Thu, 2002-06-20 at 00:39, Dan Jacobson wrote:
 How does one get a beep unconditionally from that little speaker be it
 from a batch job or whatever.  Assume I can give a valid $XAUTHORITY.
 
 I used to do the below, but now:
 $ echo -e \\a  /dev/console 
 bash: /dev/console: Permission denied
 Now only root can make it beep.  Without resorting to root powers,
 what can one do?

apt-cache show beep

Sound like what you're looking for? No pun intended... oh hell who am
I kidding, of course it was intended! :)

-Alex


signature.asc
Description: This is a digitally signed message part


Re: beep unconditionally

2002-06-20 Thread Tom Cook
On  0, Dan Jacobson [EMAIL PROTECTED] wrote:
 How does one get a beep unconditionally from that little speaker be it
 from a batch job or whatever.  Assume I can give a valid $XAUTHORITY.
 
 I used to do the below, but now:
 $ echo -e \\a  /dev/console 
 bash: /dev/console: Permission denied
 Now only root can make it beep.  Without resorting to root powers,
 what can one do?

echo -e \\a

works for me, both in a shell and a script.

Tom
-- 
Tom Cook
Information Technology Services, The University of Adelaide

Other people's priorities are endlessly odd.
- Kingsley Amis

Get my GPG public key: 
https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au


pgpplhNVRsVCt.pgp
Description: PGP signature


Re: beep unconditionally

2002-06-20 Thread Steve Juranich
 How does one get a beep unconditionally from that little speaker be it
 from a batch job or whatever.  Assume I can give a valid $XAUTHORITY.
 
 I used to do the below, but now:
 $ echo -e \\a  /dev/console 
 bash: /dev/console: Permission denied
 Now only root can make it beep.  Without resorting to root powers,
 what can one do?
 -- 
 http://jidanni.org/ Taiwan(04)25854780

Try:

printf \a

HTH

--
Stephen W. Juranich [EMAIL PROTECTED]
Electrical Engineering http://students.washington.edu/sjuranic
University of Washingtonhttp://ssli.ee.washington.edu/ssli





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: beep unconditionally

2002-06-20 Thread James Cameron
On Thu, 2002-06-20 at 17:13, Alex Malinovich wrote:
 apt-cache show beep

And then there's apt-cache show morse for when you really what the
machine to tell you what's wrong through the speaker.  ;-)

Friends of mine have an ip-up.d script for their 56k modem that lets
them know it is time to hit the net.

-- 
James Cameron ([EMAIL PROTECTED])

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/


signature.asc
Description: This is a digitally signed message part


Re: beep unconditionally

2002-06-20 Thread Karl E. Jorgensen
On Thu, Jun 20, 2002 at 02:13:07AM -0500, Alex Malinovich wrote:
 On Thu, 2002-06-20 at 00:39, Dan Jacobson wrote:
  How does one get a beep unconditionally from that little speaker be it
  from a batch job or whatever.  Assume I can give a valid $XAUTHORITY.
  
  I used to do the below, but now:
  $ echo -e \\a  /dev/console 
  bash: /dev/console: Permission denied
  Now only root can make it beep.  Without resorting to root powers,
  what can one do?
 
 apt-cache show beep

Or if you're into silly little tunes:

$ apt-cache show ditty

(I use it on my firewall to tell me the dialup connection is going
up/down. Cute)

 Sound like what you're looking for? No pun intended... oh hell who am
 I kidding, of course it was intended! :)

:-)

-- 
Karl E. Jørgensen
[EMAIL PROTECTED]
www.karl.jorgensen.com
 Today's fortune:
The herd instinct among economists makes sheep look like independent thinkers.


pgpmXVioHWilH.pgp
Description: PGP signature