bindctl command history
Spain, Dr. Jeffry A.
spainj at countryday.net
Thu May 17 15:05:36 UTC 2012
>From yesterday's conference call I understand that bindctl is supposed to support command history using the arrow keys. Here's what I see instead:
root at ns0:~# bindctl
["login success "] login as root
> config show Boss
Boss/components/ named_set (default)
> ^[[A
Error! Module name format error: the character of name can only be '0-9a-zA-Z_'
> ^[[B
Error! Module name format error: the character of name can only be '0-9a-zA-Z_'
>
Using the up arrow key generates "^[[A" and the down arrow "^[[B" instead of doing command history. There is another tedious problem with correcting typos: pressing the Backspace key generates "^H" instead of deleting the character to the left. The right and left arrows generate "^[[C" and "^[[D", and the Delete key generates "^[[3~". The only way I can delete the character to the left is <Ctrl>-<Backspace>. These keys all work as expected with the bash shell outside of bindctl.
Thanks for your advice about this. Jeff.
Jeffry A. Spain
Network Administrator
Cincinnati Country Day School
More information about the bind10-users
mailing list