On 23/10/2019 12.33, Joshua C. Colp wrote: > >> Does Asterisk use the readline library? Does it use /etc/inputrc ? >> Can the behavior described above be configured ? > > It uses the editline library and all usage of it is within asterisk.c[1]. > There is no configuration ability as far as I know, but I'm not that familiar > with editline and such.
thanks! That is exactly what I was looking for. In case anybody else finds the default behavior annoying, here are couple of rules that make the CLI behavior more friendly: # cat /etc/editrc bind "^W" ed-delete-prev-word bind "\e[1;5D" vi-prev-word bind "\e[1;5C" vi-next-word bind ^[[5~ ed-search-next-history bind ^[[6~ ed-search-prev-history so far, I was not able to find how to bind ctrl+d to exit. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users