[asterisk-users] asterisk cli - vi keybindings ?
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sun Sep 23 20:42:33 CDT 2007
On Mon, Sep 24, 2007 at 02:04:05AM +0100, Ex Vito wrote:
> This might sound lika a "small" issu, but here it goes: I'm a long time
> unix user and my shell history usage and editing is configured to use
> vi keybindings; it's something that's already built into my fingers
> and using different bindings, like the arrow keys to fetch previous
> lines, really blows me !... :-(
>
> Is there any way to setup the asterisk cli to use such keybindings ?
>
> I took a quick glance at 1.4.11 source and found readline.[ch] files,
> but asterisk is not behaving to my inputrc configuration... Googled
> for a while to no effect.
Set in your environment:
AST_EDITOR=vi
before starting Asterisk.
(See main/asterisk.c)
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list