From owner-freebsd-questions Sat Jun 30 18:53:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc26.worldnet.att.net (mtiwmhc26.worldnet.att.net [204.127.131.51]) by hub.freebsd.org (Postfix) with ESMTP id 40CBE37B401 for ; Sat, 30 Jun 2001 18:53:39 -0700 (PDT) (envelope-from parv@worldnet.att.net) Received: from worldnet.att.net ([32.101.235.231]) by mtiwmhc26.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010701015338.REEB2154.mtiwmhc26.worldnet.att.net@worldnet.att.net>; Sun, 1 Jul 2001 01:53:38 +0000 Received: by worldnet.att.net (Postfix, from userid 1001) id 95A5919313; Sat, 30 Jun 2001 21:57:27 -0400 (EDT) Date: Sat, 30 Jun 2001 21:57:27 -0400 From: parv To: Dan Nelson Cc: f-q Subject: Re: why does the bell ring twice? Message-ID: <20010630215727.B6979@moo.holy.cow> Mail-Followup-To: Dan Nelson , f-q References: <20010630134554.A5930@moo.holy.cow> <20010630140226.A3334@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20010630140226.A3334@dan.emsphone.com>; from dnelson@emsphone.com on Sat, Jun 30, 2001 at 02:02:26PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG so, Dan Nelson shared this in my lifetime... > In the last episode (Jun 30), parv said: > > can anybody enlighten me why do bash & ksh ring the bell twice > > instead of once? > >=20 > > # echo =07 & > >=20 > > second beep is produced when you press enter when new/clear shell > > prompt shows up. >=20 > Because when you background a job, the shell keeps track of it and > notifies you when the command completes. Try running "echo test &", > and look at the "done" message. That's where your second bepp is > coming from. >=20 so you mean that since the bell character is in the "done" message, beep is produced again. right? may be that's why beep is produced whenever i would check the status of this job... # sleep 300 && echo =07 & # no beep # jobs # beep # fg # beep # bg # beep --=20 so, do you like word games or scrabble? - parv To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message