|| ||Matt Ranon <email@example.com>|
|| ||linux maillist <firstname.lastname@example.org>|
|| ||[ANNOUNCE][PATCH] Kcli - Kernel command line interface.|
|| ||Mon, 23 Apr 2007 14:31:39 -0700 (PDT)|
The Jem team is pleased to announce the release of Kcli, an in-kernel command
line interface. Kcli is intended for a special class of embedded Linux
applications. The Linux kernel has become the defacto standard OS for
embedded applications. This means that Linux is getting bent in some ways
that may appear strange to some. One of these ways, is embedded applications
that do not use user space. User space consists of a statically linked, one
line program, that simply sleeps forever, transforming Linux into a classical
embedded RTOS. VxWorks developers will understand what we are talking about,
and they may recall how much they depend on the VxWorks shell. Kcli attempts
to meet the need for a shell for this class of embedded Linux applications.
Kcli provides a command line environment that runs in the kernel, and that
can be extended with custom commands registered by other kernel modules. We
have found Kcli invaluable for our development, and we are releasing the
patch, in case others find it useful.
Kcli is directly derived from libcli written by David Parrish and Brendan
O'Dea, and the regular expression support is directly derived from diet libc
written by Felix von Leitner.
The Jem team fully understands that this kind of patch may not be appropriate
for inclusion in the mainline kernel code. We have no expectation that it
will be, and we leave that decision fully in the hands of those responsible.
Nonetheless, we feel that others may find it useful, and we will also
appreciate any appropriate feedback from the community.
Kcli is standalone, and modifies no kernel files, except for the Kconfig and
Makefile modifications required to wire it into the configuration and build.
The Kcli patch is available at