Serj Kalichev
|
44720d6395
Fix segmentation while file line counting
|
13 lat temu |
Serj Kalichev
|
2d095968a5
Use SHELL_STATE_... as retval
|
13 lat temu |
Serj Kalichev
|
c5a830105e
Real return code from clish
|
13 lat temu |
Serj Kalichev
|
3f64c50e64
The functions like forceline() return retval now instead bool value. The testing is needed.
|
13 lat temu |
Serj Kalichev
|
c663639bd6
Fix tilde expanding
|
13 lat temu |
Serj Kalichev
|
b3b7a58f4b
Stylistic fixes
|
13 lat temu |
Serj Kalichev
|
ae0d7a2dc9
Unconfuse some code. Analyze this->state.
|
13 lat temu |
Serj Kalichev
|
de11d61946
Working on syntax error processing.
|
13 lat temu |
Serj Kalichev
|
53461dc02c
Unfinished modifications. Don't use
|
13 lat temu |
Serj Kalichev
|
4b7fdc4d58
Fix unneeded crlf while reading commands from stream. Issue #50.
|
14 lat temu |
Serj Kalichev
|
49389e701e
The forceline() and readline() can return executed command output (stdout). Fix issue #43.
|
14 lat temu |
Serj Kalichev
|
2cf9cd656d
Implement -x clish utility option to set path to get XMLs from.
|
14 lat temu |
Serj Kalichev
|
a941ca386a
Fix file stack to get commands from. The shell can be inited without instream.
|
14 lat temu |
Serj Kalichev
|
b3360a7ca6
More reentrant code. The strtok() is replaced by strtok_r(). Fix issue #31.
|
14 lat temu |
Serj Kalichev
|
877d51f349
The clish now undertand -h (help), -v (version) and -s (set konfd socket) options.
|
14 lat temu |
Serj Kalichev
|
995638b463
The clish utility will not use threads by default. The appropriate API is implemented.
|
14 lat temu |
Serj Kalichev
|
989d349e5f
Fix exit on script error.
|
14 lat temu |
Serj Kalichev
|
7f452f368d
The spawn API refactoring.
|
14 lat temu |
Serj Kalichev
|
4ca9156930
The spawn API changing. Not stable yet. Don't use this technological revision.
|
14 lat temu |
Serj Kalichev
|
1addd687ea
clish_shell_readline() and clish_shell_forceline() API functions
|
14 lat temu |
Serj Kalichev
|
750d9371c8
API to execute C-strings as a CLI commands.
|
14 lat temu |
Serj Kalichev
|
847dfa9196
Add ostream to context and shell. Use ostream for normal data exchange. Use stderr for error messages and help.
|
14 lat temu |
Serj Kalichev
|
8c4cc0a30f
Some renaming. Move free(context). Remove clish_context_spawn_fd().
|
14 lat temu |
Serj Kalichev
|
324535e335
Make context structure from shell_spawn.c is accessible for user. Three functions works with clish_context_t: clish_context_spawn(), clish_context_spawn_fd(), clish_context_wait().
|
14 lat temu |
Serj Kalichev
|
c30fc7a7e8
The first klish tree.
|
14 lat temu |