[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-questions
Subject:    Re: why does the bell ring twice?
From:       Dan Nelson <dnelson () emsphone ! com>
Date:       2001-06-30 19:02:26
[Download RAW message or body]

In the last episode (Jun 30), parv said:
> can anybody enlighten me why do bash & ksh ring the bell twice
> instead of once?
> 
> # echo  &
> 
> second beep is produced when you press enter when new/clear shell
> prompt shows up.

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.

-- 
	Dan Nelson
	dnelson@emsphone.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic