Re: [asterisk-users] customizing Asterisk CLI

2015-01-26 Thread Benjamín Garzón
Hi Martin, please paste the error or a print screen in cli.


On Sun, Jan 25, 2015 at 8:11 AM, Martin Vegter martin.veg...@aol.com
wrote:

 Hello,

 when I am in the Asterisk CLI, I can exit with 'exit' or 'quit'. Ctrl+d
 has no effect. Is there any way to bind Ctrl+d to exit/quit ?

 Also, when I am in asterisk CLI, I can use command history and readline
 functions such as CTRL+r to search. But not all functions are available.
 For example, the alternate mappings for page up and page down to
 search the history do not work. They work in everything else (bash,
 mysql, ..)

 $ cat /etc/inputrc
 \e[5~: history-search-forward
 \e[6~: history-search-backward

 is there a way to make it work in asterisk ?

 I am using Asterisk 11.13 on Debian Wheezy.

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
Benjamín Garzón
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] customizing Asterisk CLI

2015-01-25 Thread Martin Vegter
Hello,

when I am in the Asterisk CLI, I can exit with 'exit' or 'quit'. Ctrl+d
has no effect. Is there any way to bind Ctrl+d to exit/quit ?

Also, when I am in asterisk CLI, I can use command history and readline
functions such as CTRL+r to search. But not all functions are available.
For example, the alternate mappings for page up and page down to
search the history do not work. They work in everything else (bash,
mysql, ..)

$ cat /etc/inputrc
\e[5~: history-search-forward
\e[6~: history-search-backward

is there a way to make it work in asterisk ?

I am using Asterisk 11.13 on Debian Wheezy.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users