Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2001 21:57:27 -0400
From:      parv <parv_@yahoo.com>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        f-q <freebsd-questions@FreeBSD.ORG>
Subject:   Re: why does the bell ring twice?
Message-ID:  <20010630215727.B6979@moo.holy.cow>
In-Reply-To: <20010630140226.A3334@dan.emsphone.com>; from dnelson@emsphone.com on Sat, Jun 30, 2001 at 02:02:26PM -0500
References:  <20010630134554.A5930@moo.holy.cow> <20010630140226.A3334@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010630215727.B6979>