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