From owner-freebsd-questions@FreeBSD.ORG Sun Apr 13 08:01:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31CCA37B401 for ; Sun, 13 Apr 2003 08:01:47 -0700 (PDT) Received: from rrcs-se-24-73-205-166.biz.rr.com (rrcs-se-24-73-205-166.biz.rr.com [24.73.205.166]) by mx1.FreeBSD.org (Postfix) with SMTP id 48DE143F85 for ; Sun, 13 Apr 2003 08:01:46 -0700 (PDT) (envelope-from wade@ezri.org) Received: (qmail 50027 invoked from network); 13 Apr 2003 15:01:45 -0000 Received: from unknown (HELO ezri.org) (192.168.0.46) by rrcs-se-24-73-205-166.biz.rr.com with SMTP; 13 Apr 2003 15:01:45 -0000 Message-ID: <3E997BD8.4080605@ezri.org> Date: Sun, 13 Apr 2003 11:01:44 -0400 From: Wade Majors User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030411 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Console beep function? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2003 15:01:47 -0000 Mxsmanic wrote: > What is the closest thing to a beep function for the system console on > FreeBSD? I have a program I want to port from Windows that beeps > intermittently at various frequencies, and it appears that there's no direct > equivalent of the Windows functions for making noise. Suggestions? It will > only be run on the console, so it doesn't have to work for remote terminals > or anything. Take a look at the spkr(4) man page. Might also want to look at the source for /usr/ports/audio/beep which is a tiny app that uses it. -Wade