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: 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: <5000e530$0$29995$c3e8da3$5496439d@news.astraweb.com> <87ipdq8bz6.fsf@handshake.de> <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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Sun, Jul 15, 2012 at 10:39 AM, Hans Mulder 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