[asterisk-users] CLI History

Douglas Garstang dgarstang at oneeighty.com
Mon Dec 11 13:51:30 MST 2006


> -----Original Message-----
> From: Mailing List [mailto:MailingList at mobilcom.net]
> Sent: Monday, December 11, 2006 1:38 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] CLI History
> 
> 
> 
> ----- Original Message ----- 
> > 
> > On Mon, 2006-12-11 at 10:31 -0700, Douglas Garstang wrote:
> > > What's wrong with the Asterisk CLI history? When I exit the 
> > CLI, and re-enter, the last command in the history always 
> > defaults to 'stop now'. This is very bad, and it's caused 
> > accidental shutdowns more than once.
> > 
> > Nothing wrong here. 
> 
> Can you possibly be a little more specific on why it isn't a problem?
> 
> 
> It's most likely how he is quitting the client.
> If you exit properly (exit or quit) it retains it but if you 
> can cancel out (ctrl-c) it just drops.

Yes, I think that's it. It seems that hitting ctrl-c breaks the history.
I'd file a bug (the cli process should be able to catch SIGINT), but I'm not running the latest 1.2.

Doug.


More information about the asterisk-users mailing list