Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25327

Re: howto do a robust simple cross platform beep

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'ascii': 0.07; 'python': 0.09; 'if,': 0.09; 'received:mail-vc0-f174.google.com': 0.09; 'subject:howto': 0.09; 'sure,': 0.09; 'emulator': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'otoh,': 0.16; 'prerequisite': 0.16; 'subject:simple': 0.16; 'terminal).': 0.16; 'wrote:': 0.17; 'network,': 0.18; '15,': 0.23; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'received:209.85.220.174': 0.29; 'running.': 0.29; "i'm": 0.29; 'file': 0.32; 'could': 0.32; 'print': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'protocol': 0.35; 'received:209.85.220': 0.35; 'too.': 0.35; "won't": 0.35; 'received:209.85': 0.35; 'but': 0.36; 'received:209': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'attention.': 0.65; 'jul': 0.65; 'sound': 0.65; 'do:': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xxKrEcG71nvxSPwFNCOaCi5AJJC3kO3YUhCL75cAzJ0=; b=fN1fO6777bcJ2l2QCuEwVZFCUreaZsocnkcLDN3SIEbzHwtDPwlBwlQX8Q4mU56DlQ CRafsofc14XX2QIilKiRiTghvI8rqcq4L/QOWWlo4jWpd4bBejsBGtpLkzUEZWyOTXRe 8gkDnZdh931f8eGo4wjEdwUNR/7EC+hUuYnyoXZz7FTXzMtgbOvm58r794eO6Xb3I7Va VNlFJ7K99bstuQzvJmhp3XqYCVyKyTwuIMVU2c4yymwNuEVvjC+g5/+h4tDvWCSPMihO QBRBGJym+5p1fmJ+PmSK/HqrKldC+fY9W41OXPoYWreR8ejzr02YAzicvkQyWPZ80R0J 1vLw==
MIME-Version 1.0
In-Reply-To <50021151$0$6858$e4fe514c@news2.news.xs4all.nl>
References <mailman.2110.1342227619.4697.python-list@python.org> <5000e530$0$29995$c3e8da3$5496439d@news.astraweb.com> <87ipdq8bz6.fsf@handshake.de> <mailman.2119.1342291754.4697.python-list@python.org> <50021151$0$6858$e4fe514c@news2.news.xs4all.nl>
Date Sun, 15 Jul 2012 11:07:24 +1000
Subject Re: howto do a robust simple cross platform beep
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2124.1342314447.4697.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1342314448 news.xs4all.nl 6935 [2001:888:2000:d::a6]:58864
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:25327

Show key headers only | View raw


On Sun, Jul 15, 2012 at 10:39 AM, Hans Mulder <hansmu@xs4all.nl> wrote:
> The other prerequisite is that the use is physically near the
> compueter where your Python process is running.
>
> If, for exmple, I'm ssh'ed into my webserver, then sending a sound
> file to the server's speaker may startle someone in the data centre,
> but it won't attract my attention.  If, OTOH, you do:
>
>     print "\7"
>
> , then an ASCII bell will be sent across the network, and my
> terminal emulator will beep.
>

Sure, though other of the OP's ideas preclude that too. But you could
use any network protocol that acknowledges sound (MUDs use \7
following the terminal).

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

howto do a robust simple  cross platform  beep Gelonida N <gelonida@gmail.com> - 2012-07-14 03:00 +0200
  Re: howto do a robust simple  cross platform  beep Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-14 03:19 +0000
    Re: howto do a robust simple  cross platform  beep Dieter Maurer <dieter@handshake.de> - 2012-07-14 19:54 +0200
    Re: howto do a robust simple cross platform beep Chris Angelico <rosuav@gmail.com> - 2012-07-15 04:49 +1000
      Re: howto do a robust simple cross platform beep Hans Mulder <hansmu@xs4all.nl> - 2012-07-15 02:39 +0200
        Re: howto do a robust simple cross platform beep Chris Angelico <rosuav@gmail.com> - 2012-07-15 11:07 +1000
  Re: howto do a robust simple  cross platform  beep Miki Tebeka <miki.tebeka@gmail.com> - 2012-07-14 11:43 -0700
  Re: howto do a robust simple  cross platform  beep Miki Tebeka <miki.tebeka@gmail.com> - 2012-07-14 11:43 -0700
  Re: howto do a robust simple  cross platform  beep rantingrickjohnson@gmail.com - 2012-07-14 18:15 -0700
    Re: howto do a robust simple  cross platform  beep Gelonida N <gelonida@gmail.com> - 2012-07-24 23:39 +0200
    Re: howto do a robust simple cross platform beep Chris Angelico <rosuav@gmail.com> - 2012-07-25 07:52 +1000
  Re: howto do a robust simple  cross platform  beep rantingrickjohnson@gmail.com - 2012-07-14 18:15 -0700

csiph-web