libcli 1.8.5 review

Download
by rbytes.net on

libcli is a Cisco-like telnet commandline library. It provides a shared library for including a Cisco-like command-line interface

License: GPL (GNU General Public License)
File size: 0K
Developer: David Parrish
0 stars award from rbytes.net

libcli is a Cisco-like telnet commandline library.

It provides a shared library for including a Cisco-like command-line interface into other software. It's a telnet interface which supports command-line editing, history, authentication and callbacks for a user-definable function tree.

libcli provides support for using the arrow keys for command-line editing. Up and Down arrows will cycle through the command history, and Left & Right can be used for editing the current command line.

libcli also works out the shortest way of entering a command, so if you have a command "show users grep foobar" defined, you can enter "sh us g foobar" if that is the shortest possible way of doing it.


Installation:

To compile:

make
make install

This will install libcli.so into /usr/local/lib. If you want to change the location, edit Makefile.

There is a test application built called clitest. Run this and telnet to port 8000.

By default, a single username and password combination is enabled.

Username: fred
Password: nerk

libcli 1.8.5 search tags