[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script



On Mon, 3 Jun 2002, Chris Albertson wrote:

>
> Print the ASCII "bell" charater to standard out.  This will
> work even over a telnet session as the sound will be generated
> by the local terminal.
>
> Many newer terminal emulators allow you to control the volume
> of the emulated bell or turn it off.  So look in whatever you
> use.
>
> >From the command line you can type "printf '\a'"
> or possibly (depending on which shell you use) "echo \a".

Under bash, I use "echo ^G" (where ^G is typed by pressing Ctrl-V then
Ctrl-G. This sequence works also in vi, but emacs it's Ctrl-Q Ctrl-G).

eject sometimes does an implicit umount, but I tend to do the umount
myself before eject for completeness.

Peter

>
> >From a program simply write the bell character to standard out.
>
>
> --- Dirk Terrell <terrell@boulder.swri.edu> wrote:
> > On Mon, 03 Jun 2002 15:32:55 -0500, Tom Droege wrote:
> >
> > >1) Make the speaker beep.  I want the lowest level beep - no sound
> > card
> > >2) Make the CDROM open it's door after I unmount it.
> >
> > Not sure about beeps, but "eject" will spit out the CD.
> >
> > Dirk
> >
> >
> >
>
>
> =====
> Chris Albertson
>   Home:   310-376-1029  chrisalbertson90278@yahoo.com
>   Cell:   310-990-7550
>   Office: 310-336-5189  Christopher.J.Albertson@aero.org
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>

-- 
Peter T Mount
peter@retep.org.uk
http://www.retep.org.uk