The klish-3.2.0 is out

8 views
Skip to first unread message

Serj Kalichev

unread,
Oct 20, 2025, 11:32:54 AMOct 20
to kl...@googlegroups.com
The klish version 3.2.0 is out.

Changes:

* Don't search for completion/help in upper levels when line is empty.
* Don't show help for upper levels when single word is unfinished.
* Fixed klish pipe hanging when filter exits before main command.
* Log message when scheme is illegal or not defined.
* New ksym_new_fast() function added for plugins.
* Fixed memory leak when arg validation returns non-empty string.
* Fixed possible memory leak while parameters validation.
* The "transparent=true/false" attribute that determines whether the
upper path level elements are available while command line parsing.
* The COND tag is implemented that allows to enable or disable parent
elements.
* Fix ACTION's retval processing.
* doc: Fixed documentation.
* doc: Added English documentation.
* examples: Updated XML-config examples.
* plugin-script: New environment variable KLISH_LINE.
* plugin-script: Environment variable for the multi-value parameters.
* plugin-script: Fixed memory leak.
* plugin-klish: Prompt allows escape character '\e'.
* plugin-klish: The "prompt" symbol understands hex codes.
* plugin-klish: Speed up builtin ptype syms.
* plugin-klish: Support for the short commands with '|' delimeter syntax.
* plugin-klish: Update COMMAND_CASE PTYPE.
* plugin-klish: STRING PTYPE supports regular expressions.
* plugin-lua: Script can set a return code by "return <num>".

Thanks to Andrey Eremin <korbez...@gmail.com> and Peter Kosyh
<p.k...@gmail.com> for the patches and bugfix.

https://src.libcode.org/download/klish/klish-3.2.0.tar.xz

The version is based on
https://src.libcode.org/download/faux/faux-2.2.1.tar.xz


nikhil jain

unread,
Oct 27, 2025, 1:39:17 AMOct 27
to kl...@googlegroups.com
Hi, 

Do we have any command like “history” which should gives us the list of all the commands that were types. Like history command of unix?
It would be great to have that.

Thanks
Nikhil

--
You received this message because you are subscribed to the Google Groups "klish" group.
To unsubscribe from this group and stop receiving emails from it, send an email to klish+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/klish/5757b04b-2196-4c7b-b2ca-e0a02bd6bcf4%40gmail.com.

Serj Kalichev

unread,
Oct 27, 2025, 10:12:44 AMOct 27
to kl...@googlegroups.com
Hi

Clarify your question please. The klish has builtin command history feature. Do you mean it doesn't work?

nikhil jain

unread,
Oct 27, 2025, 12:58:48 PMOct 27
to kl...@googlegroups.com
Hi,

I mean first of all how do I run klish binary? I am trying 3.2 version.
The server klishd is running.
Klish needs a conf file. While installing I don't get a conf file. Where it is? How do I create a new one?
Also I am looking for an ore defined command ‘history’ to see the last types commands. 

Serj Kalichev

unread,
Oct 28, 2025, 4:22:10 AMOct 28
to kl...@googlegroups.com
You can get conf file from the "examples/" dir within sources or read documentation https://src.libcode.org/pkun/klish/src/master/docs/klish3.en.md and write conf yourself.

There is no "history" command for klishd server because history is implemented on the client side. The "Up" key can show a previous commands.

nikhil jain

unread,
Oct 28, 2025, 4:26:45 AMOct 28
to kl...@googlegroups.com
Thanks
I think a lot has changed. I used to call klish binary with -x option I remember with the path to the directory containing the xml files.
This has changed since version 3?

Serj Kalichev

unread,
Oct 28, 2025, 5:04:43 AMOct 28
to kl...@googlegroups.com
Now klish 3 daemon has -f option (see klish --help) that specifies config. But it's not command (XML) config but higher level config. See klishd.conf in source tree as an example. The path to XMLs can be specified there.
Reply all
Reply to author
Forward
0 new messages