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