The klish is a framework for implementing Cisco-like command-line interfaces on Unix systems. It is configurable through XML files. "Klish" stands for "Kommand Line Interface SHell". The klish is a fork of clish 0.7.3 developed by Graeme McKerrell. The klish has some new features, but it's as compatible as possible with clish's XML configuration files.
| Tags | Shells clish XML cli shell framework fork cisco configuration UTF-8 utf8 |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | Linux Unix |
| Implementation | C C++ XML |
Recent releases


Release Notes: This portability release can be built on Linux, FreeBSD, OpenBSD, Solaris, and QNX6. QNX6 has some problems with konf and konfd. Much of the legacy unused code has been removed, along with some unnecessary library dependencies.


Release Notes: An idle timeout commandline option has been added. Use -t <sec> or --timeout=<sec> to set it. The klish command can be executed using klish -c "<command>". The konfd daemon is case sensitive now. Use the _PROMPT_PREFIX and _PROMPT_SUFFIX variables for system-wide prompt prefix and suffix.


Release Notes: More secure parameter escaping. Additional modifiers for variable expanding. Use the -k (--check) option to check input file(s) for syntax errors. Better error reporting. The ordered optional parameters. A fix for alternative shebang hangup during execution. The VAR can use internal functions as actions. A new internal variable ${__isatty}. Bugfixes.


Release Notes: This release fixes viewid expanding, a BSD-specific bug with getgr and getpw macros, namespace completion, completion of commands with a prefix, and the 'test' field within 'switch' PARAMs.


Release Notes: A global variables subsystem was added. The new tag VAR describes a variable that can be used within expandable strings. The variable can be static and dynamic. The completion field of the PARAM tag was implemented. It gives possible completions (show on tab key) for the current PARAM. Multiline input was added. Terminal resizing was added. The del and backspace keys were fixed. Command logging was added. All klish commands can be logged into the syslog files. The session can be closed after an idle timeout. A watchdog feature was added, which executes a specified action if no key is pressed for a specified amount of time. Bugfixes and optimizations were done.
Billing and trouble ticketing for ISPs, VoIP, and other online businesses.
Grammar-based software designed to utilize the logic contained within grammar.