tag:blogger.com,1999:blog-66022604550555760022024-03-14T13:14:30.009+03:00The klish newsKlish blogSerj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.comBlogger55125tag:blogger.com,1999:blog-6602260455055576002.post-39934512843230064392017-12-15T18:33:00.004+03:002017-12-15T18:33:56.570+03:00klish-2.1.4<div dir="ltr" style="text-align: left;" trbidi="on">
Mostly bugfix release.<br />
<br />
<br />
<ul style="text-align: left;">
<li>Fix nested up function when start depth is not 0</li>
<li>Interactive mode can't be 1 when isatty is 0</li>
<li>Fix args string encoding</li>
<li>Fix waiting for child processes</li>
</ul>
<br />
<br />
New feature is printing commands in canonical form. You can filter your startup-config with klish. It will check a syntax and output startup-config commands with spaces before them. Each space is one nesting level.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-41932371863824892732016-06-04T14:02:00.000+03:002016-06-04T14:02:19.214+03:00klish-2.1.2 and klish-2.0.5<div dir="ltr" style="text-align: left;" trbidi="on">
Bugfix release. It's strongly recommended to update your klish.<br />
The problem is with FIFO races. You can get it when use something like 'yourscript &' in ACTION script. Klish can hang when cpu is under the high load.<br />
<br />
<br /></div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-12079500657907691582015-10-07T13:23:00.001+03:002015-10-07T13:23:13.702+03:00klish-2.1.1<div dir="ltr" style="text-align: left;" trbidi="on">
Bugfix release. It's recommended to update from version klish-2.1.0. The klish-2.1.1 fix regression (2.1.0) with signal handling, CDATA container (libxml2), xslt configuring. Add rtld_global=true/false attribute for PLUGIN tag.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-57968030507228371682015-10-01T18:21:00.002+03:002015-10-01T18:21:48.288+03:00klish-2.1.0<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="wiki">
The klish now supports XSLT transformations. The project can be build
with --with-libxslt option. The XSLT engine needs libxml2 library. The
clish utility has --xslt(-p) option to set stylesheet file. The embedded
stylesheets is also supported.<br />
<br />
The plugin mechanism has new CLISH_PLUGIN_OSYM() API to define
ACTION functions. This mechanism allows to get all ACTION's stdout
output to internal variable. VARs use this internal variable to get
their values. See clish_script() function for exmaple. Such function
must be added by clish_plugin_add_osym() function. The old API is also
supported.<br />
</div>
</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-10173167374658162972015-03-06T14:44:00.001+03:002015-03-06T14:44:55.161+03:00klish-2.0.3<div dir="ltr" style="text-align: left;" trbidi="on">
Bugfix release. The clish plugin is linked to tinyrl now. The klish output (when the enter is pressed) is flushed now.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-7754682194452616652015-01-12T18:40:00.002+03:002015-01-12T18:40:58.115+03:00klish-2.0.2<div dir="ltr" style="text-align: left;" trbidi="on">
Bugfix release.<br />
<ul>
<li>Check access attribute for command links.</li>
<li>Fix bug with empty ini file value parsing.</li>
<li>Resolve PTYPE for "args" in a right way. Fix segmentation fault.</li>
<li>Fix lua plugin build.</li>
</ul>
It's strongly recommended to update klish.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-61289738266897386262014-12-16T23:55:00.003+03:002014-12-16T23:55:43.484+03:00klish-2.0.1<div dir="ltr" style="text-align: left;" trbidi="on">
Fix access rights checking. Fix debug mode.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-55010430648581743132014-11-25T17:37:00.002+03:002014-11-25T17:37:53.093+03:00klish-2.0.0<div dir="ltr" style="text-align: left;" trbidi="on">
The klish-2.0.0 contains many changes. The main ones is plugin subsystem and user defined hooks.<br />The user can create his own shared library (.so file) with special API and export symbols to use as builtin functions within ACTION. Also shared object can export its own hooks (hook for access, for communication to confd, ...).<br />The plugin using is controlled by XML files. There are new tags: PLUGIN and HOOK. So to use your own C-based code with klish you don't need to recompile klish. Just create a plugin. See plugin examples in plugin/ dir within klish source tree.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-6547515293604897622014-10-26T21:32:00.002+03:002014-10-26T21:32:31.534+03:00klish-1.7.0<div dir="ltr" style="text-align: left;" trbidi="on">
The 1.7 is a last stable branch of klish version 1. The bugfixes only will be added to 1.7 branch.<br />Changes:<br />
<ul style="text-align: left;">
<li>Tinyrl fix. Don't ignore first slash in parameter.</li>
<li>Don't inherit service file descriptors while ACTION execution.</li>
<li>Never show ACTION scripts in ps.</li>
<li>Add files for buildroot-2014.08</li>
</ul>
<br />The klish-2.0.0 coming soon.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-81279742279648557712014-08-21T13:46:00.002+04:002014-08-21T13:46:29.814+04:00klish-1.6.9<div dir="ltr" style="text-align: left;" trbidi="on">
Code static analysis. Bugfix. Tinyrl library bugfix.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-11496279763274017012014-03-03T16:21:00.002+04:002014-03-03T16:21:14.820+04:00klish-1.6.8<div dir="ltr" style="text-align: left;" trbidi="on">
New klish-1.6.8 was released.<br />The CJK support is implemented. Some fixes for tiny readline internal library.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-5284510045131808692014-02-13T17:40:00.002+04:002014-02-13T17:40:25.201+04:00Attention! Move downloads and issues<div dir="ltr" style="text-align: left;" trbidi="on">
Attention! The downloads and issue tracker were moved to http://klish.libcode.org<br />
<br />
See for the downloads in http://klish.libcode.org/files<br />
See for the issues in http://klish.libcode.org/issues</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-84262334415793871032013-12-05T22:43:00.003+04:002013-12-05T22:43:59.017+04:00klish-1.6.7<div dir="ltr" style="text-align: left;" trbidi="on">
New version of stable 1.6 branch.<br />
<br />
Fix portability issues. Tested on Linux, FreeBSD, Solaris, QNX.<br />
Fix libroxml >= 2.2.2 support.<br />
Syslog facility for clish and konfd utils.<br />
Internal getopt() implementation. For example QNX has uncompatible getopt() so internal one must be used.<span id="intelliTxt"></span></div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-22662681100840157942013-10-08T18:37:00.001+04:002013-10-08T18:37:33.565+04:00Log facility<div dir="ltr" style="text-align: left;" trbidi="on">
Now you can choose syslog facility for clish and konfd processes. Use -O option to set facility name.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-45754786062079293532013-10-01T15:09:00.000+04:002013-10-01T15:09:03.314+04:00Fix libroxml support<div dir="ltr" style="text-align: left;" trbidi="on">
The libroxml >= 2.2.2 support was fixed. You can find these cahnges in the git repository https://src.libcode.org/klish</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-82028489495379755262013-09-03T15:59:00.001+04:002013-09-03T15:59:54.721+04:00New version klish-1.6.6<div dir="ltr" style="text-align: left;" trbidi="on">
The SIGPIPE signal behaviour was fixed. Earlier the clish utility ignore this signal and the ACTION scripts inherit this ignoration. So some utilities used within ACTION scripts couldn't get SIGPIPE at all. Now the SIGPIPE signal handler set to default for the ACTION scripts.<br />
<br />
The view field of COMMAND tag is dynamic now. You can use VARs in it.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-53041281466430682832013-07-23T19:41:00.001+04:002013-07-23T19:41:48.200+04:00Move main repository<div dir="ltr" style="text-align: left;" trbidi="on">
The main klish GIT repository was moved to the another location. See the <br />
https://src.libcode.org/klish</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-86428294730545185682013-02-16T17:54:00.001+04:002013-02-16T17:54:37.725+04:00New versions klish-1.5.9 and klish-1.6.4<div dir="ltr" style="text-align: left;" trbidi="on">
New bugfix versions klish-1.5.9 and klish-1.6.4 were released. These versions is important for the FreeBSD only. The getpwent() function related problem was fixed. The incompatibility bug can lead to "Bus error" on FreeBSD.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-36350698617158906472012-12-24T17:42:00.000+04:002012-12-24T17:42:10.382+04:00Attention. Bug<div dir="ltr" style="text-align: left;" trbidi="on">
The klish-1.5.8 and klish-1.6.3 bugfix versions were released. The bug is related to completions. The engine breaks when the length of completion string greater than width of terminal.<br />
<br />
All klish versions have this bug including original clish. In a case of original clish it's hard to reproduce problem because only command and param names can be completed. It has not custom user defined completions.<br />
<br />
The update to new versions is recommended.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-72899738028270909872012-11-30T22:52:00.002+04:002012-11-30T22:52:42.465+04:00The klish-1.5.7 and klish-1.6.2 are out<div dir="ltr" style="text-align: left;" trbidi="on">
The main feature of these releases is programmable hotkeys. See the <a href="https://code.google.com/p/klish/wiki/hotkeys">https://code.google.com/p/klish/wiki/hotkeys</a> and <a href="https://code.google.com/p/klish/wiki/HOTKEY">https://code.google.com/p/klish/wiki/HOTKEY</a> for details.<br />
Additionally the multiline and unsignedInteger type processing were fixed.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-64451785378226566562012-09-04T12:14:00.000+04:002012-09-04T12:14:32.497+04:00The klish-1.6.1 is out<div dir="ltr" style="text-align: left;" trbidi="on">
Command history. The SIGHUP signal is blocked while non-interruptable
ACTION script execution. New sigexec utility must be used to start
daemons from non-interruptable scripts to unblock signals first.<br />
<br />
See the <a href="https://code.google.com/p/klish/wiki/atomic_action">https://code.google.com/p/klish/wiki/atomic_action</a> and <a href="https://code.google.com/p/klish/wiki/sigexec">https://code.google.com/p/klish/wiki/sigexec</a> wikipages for details about signal blocking and sigexec utility using.<br />
<br />
The stable branch klish-1.5.6 is also out. It contains sigexec utility and blocks SIGHUP.</div>
Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-82941616484930825172012-07-05T17:21:00.001+04:002012-07-05T17:21:34.725+04:00The klish-1.5.5 is out<div dir="ltr" style="text-align: left;" trbidi="on">
The new release of 1.5 klish legacy branch is out. The saved command history is implemented. The history will be saved to file while exiting from clish and will be restored on new clish instance execution. It works on per-user basis. The default name of history file is ~/.clish_history<br />
See help for -f and -z clish utility commandline options.<br />
<br />
The history is implemented within the current 1.6 repository branch but it was not released yet.<br />
<br /></div>Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-28567591968818659282012-06-29T18:37:00.002+04:002012-06-29T18:37:45.674+04:00The klish-1.6.0 is out<div dir="ltr" style="text-align: left;" trbidi="on">
The klish has no C++ code now so it can be build by toolchain without C++ support. It's useful for embedded systems.<br />
<br />
The tinyXML internal implementation was removed. Now klish can use the following external XML backends to parse its XML config files: libxml2, expat, libroxml. These XML parsers are C-based. For details about XML backends see the <a href="https://code.google.com/p/klish/wiki/xml_backend">https://code.google.com/p/klish/wiki/xml_backend</a>.<br />
<br />
Thanks to Emmanuel Deloget for XML backends wrapper implementation.</div>Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-6657891615342850992012-05-22T22:58:00.001+04:002012-05-22T22:58:06.104+04:00Testing is needed<div dir="ltr" style="text-align: left;" trbidi="on">
Hello klish community!<br />
<br />
Emmanuel Deloget has integrated a three C XML parsers into the klish. The next klish-1.6.0 version will not contain tinyxml backend (written in C++) but will contain libexpat, libxml2 and libroxml backends (written in C). The libexpat and libxml2 work well now, the libroxml has some known issues. To become much stable before release the klish needs to be tested with different XML backends. Please test it.<br />
<br />
To get current klish development version read the http://code.google.com/p/klish/source/checkout .<br />
<br />
Before building the ./autogen.sh script must be executed to create autotools files. Then the configure script must be executes with one of the following options: --with-libexpat, --with-libxml2, --with-libroxml to choose backend.<br />
<br />
Thanks!</div>Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0tag:blogger.com,1999:blog-6602260455055576002.post-75951562305156713372012-05-11T20:37:00.001+04:002012-05-11T20:37:16.902+04:00Migrate to git<div dir="ltr" style="text-align: left;" trbidi="on">
The klish repository was converted to git. It's better for the distributed development.</div>Serj Kalichevhttp://www.blogger.com/profile/15795444638249599043noreply@blogger.com0