Serj Kalichev
|
bf68961b67
Escaped regexp
|
13 years ago |
Serj Kalichev
|
6a84d770ee
Changed API for builtin functions. It gets full context now.
|
13 years ago |
Serj Kalichev
|
99bc7b0532
Change ENODATA to ENOENT. BSD portability
|
13 years ago |
Serj Kalichev
|
39b4383e7f
Move parse function from pargv to shell class
|
13 years ago |
Serj Kalichev
|
6f6d9523ad
Use saved value of static variable. Renew prompt when empty line
|
13 years ago |
Serj Kalichev
|
fec195c244
Compilable version
|
13 years ago |
Serj Kalichev
|
5329ff840a
Big variable refactoring. Unfinished. Don't use this revision.
|
13 years ago |
Serj Kalichev
|
3577cd7b86
Add var subsystem
|
13 years ago |
Serj Kalichev
|
6c2e039780
Fix param help
|
13 years ago |
Serj Kalichev
|
8aa26ccdac
Completion refactoring. Fix Issue #29
|
13 years ago |
Serj Kalichev
|
3e898ce777
Stylistic changes
|
13 years ago |
Serj Kalichev
|
4e1e45cde8
Rename strange SHELL_STATE_READY to SHELL_STATE_OK
|
13 years ago |
Serj Kalichev
|
b3b7a58f4b
Stylistic fixes
|
13 years ago |
Serj Kalichev
|
eedd473fca
Stylistic fixes
|
13 years ago |
Serj Kalichev
|
498e7fe6a7
Unconfuse with SHELL_STATE...
|
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
|
a7c7cb68ad
Make help output more cisco-like
|
13 years ago |
Serj Kalichev
|
583822faef
Fix autocompletion using space.
|
13 years ago |
Serj Kalichev
|
566df81b94
More informative errors when enter is pressed
|
13 years ago |
Serj Kalichev
|
90f21ee2c5
Fix tab completion
|
13 years ago |
Serj Kalichev
|
7e3546daf3
Don't completed tab fixed.
|
13 years ago |
Serj Kalichev
|
2790d2d1cf
First version of UTF-8 support.
|
14 years ago |
Serj Kalichev
|
4b7fdc4d58
Fix unneeded crlf while reading commands from stream. Issue #50.
|
14 years ago |
Serj Kalichev
|
03f2fdd986
Interactive/non-interactive mode. Fix issue #41.
|
14 years ago |
Serj Kalichev
|
49389e701e
The forceline() and readline() can return executed command output (stdout). Fix issue #43.
|
14 years ago |
Serj Kalichev
|
1a9cf520ef
Fix many warnings.
|
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
|
989d349e5f
Fix exit on script error.
|
14 years ago |