[Asterisk-Dev] is this a bug?

Steve Clark sclark at netwolves.com
Tue Jan 25 13:46:31 MST 2005


Alexander Lopez wrote:
> ^c. = interrupt
> ^d = eof
> Etc
> 
> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com 
> <asterisk-dev-bounces at lists.digium.com>
> To: 'Asterisk Developers Mailing List' <asterisk-dev at lists.digium.com>
> Sent: Tue Jan 25 13:39:01 2005
> Subject: Re: [Asterisk-Dev] is this a bug?
> 
> On January 25, 2005 12:57 pm, Brian West wrote:
>  > No its not a bug.. it will always do that if you start it with -c
> 
> It's not a bug that enabling colour will "allow" asterisk to die with 
> ^C, ^S??
> If it's not a bug then why does ^C, ^S, etc. not cause * to die?

-c     Provide  a  control console on the calling terminal.  Specifying
               this option implies -f and will cause asterisk to no longer fork
               or detach from the controlling terminal.

-c has nothing to do with colour. See above.

The CTL-c send an SIG-INT to the process thus killing it. Don't use the -c and 
this won't happen. You can connect to the asterisk that is running as a daemon 
by using asterisk -r.

HTH,
Steve
-- 

"They that give up essential liberty to obtain temporary safety,
deserve neither liberty nor safety."  (Ben Franklin)

"The course of history shows that as a government grows, liberty
decreases."  (Thomas Jefferson)





More information about the asterisk-dev mailing list