From owner-freebsd-questions@FreeBSD.ORG Fri Dec 25 19:02:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F55A106566B for ; Fri, 25 Dec 2009 19:02:03 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 15D1B8FC1D for ; Fri, 25 Dec 2009 19:02:02 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so2250421eyf.9 for ; Fri, 25 Dec 2009 11:02:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ra8RDA9uSwC6MU3UPO5/qMj0Ju326qKocqeVC/2LjCs=; b=DHXSL85GL1lvtbhy/ZfDHaeT/irHnRo/VXHIvR3CKTXxF7vIiAFoFUimIC2bCL7FiW 8lHnkPEO8JtO/6eNgE89vg61px7nVGGSzZECXtW/ZkZokqJo6RZIbmcJkFHIHzRWg5do R+YQIOfUadl4jFIV8gqVfRiylne8SfqAMh6pg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=SAVVrkbwrQWfcYy71AOAcb0FczoLxVHGKJqaEQ2AzM/J2XvTxV5VBHzncEawnpk6oU v7WonIPIRL4CtyHLLM8f+64H3tdCQqrmLq3LZGUToMX9QsdCItQt1zn8QdXb5R7DIZzE t3BNiQ1S6nHkHqaaYXJk6jDGKWylvSUSA/Ue4= MIME-Version: 1.0 Received: by 10.216.90.195 with SMTP id e45mr4279207wef.189.1261767721776; Fri, 25 Dec 2009 11:02:01 -0800 (PST) In-Reply-To: <20091225185826.GA82073@mech-cluster241.men.bris.ac.uk> References: <20091225185826.GA82073@mech-cluster241.men.bris.ac.uk> Date: Fri, 25 Dec 2009 14:02:01 -0500 Message-ID: From: Aryeh Friedman To: Anton Shterenlikht , FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: example c program that does "beep" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 19:02:03 -0000 printf("\007"); /* assumes that your using a console/terminal that will beep on ctl-g */ On Fri, Dec 25, 2009 at 1:58 PM, Anton Shterenlikht wrote: > How can I get a beep from c? > I looked at curses and syscons.c, but > still not clear. > Could somebody send me an example. > I'd be soooooo grateful. > > many thanks > anton > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >