Enhanced command-line editing support in Kerberos admin tools
By mbp on Jan 01, 2009
Back in November I added enhanced command line editing support to the Kerberos administration tools
When run interactively these commands support a vastly improved interface - things like tab-completion of sub-commands, command-line editing and command history are suddenly available. The tecla library was used to add the enhanced functionality. Other commands using libtecla on Solaris/OpenSolaris are
libtecla can be configured by creating a
~/.teclarc file. As I use vi keybindings in my shell it makes sense to have the same keybindings when using libtecla applications. libtecla by default uses emacs keybindings. My
~/.teclarc looks like this:
$ cat ~/.teclarc edit-mode vi $I'm planning on contributing back the changes to MIT soon.