completion.
handling CTRL for terminal control codes.
benjamin gerard
Files | |
file | shell.lua |
LUA enhanced shell. | |
Functions | |
doshellcommand (var string) | |
Enhanced doshellcommand() reimplementation. | |
shell_input (var string) | |
Read a string shell command. | |
shell_error (var err) | |
Shell error exception handling. | |
shell () | |
Call a new shell with enhanced line editing and more. | |
Variables | |
boolean | shell_lua_key_words [keyword] |
Keywords that could begin a lua sentence. | |
boolean | shell_default_substitut [type_name] |
Default table of variable type that the shell is allowed to substitut. | |
table | shell_substitut [typename] |
Current table for shell substitution. | |
string | shell_recalltable [] |
Enhanced shell command historic table. | |
number | shell_maxrecall |
Enhanced shell command historic table maximum size (default:20). | |
number | shell_toggleconsolekey |
Enhanced shell toggle key. |
|
Enhanced doshellcommand() reimplementation. Reimplementation of the doshellcommand function to extend the shell syntax. Hopefully this new syntax should be backward compatible with lua normal syntax. It adds possibility to type more usual command like "ls" without brackets () or a `cd plugins` without quoting. This only replace syntax at shell level, the lua syntax remains unchanged so lua scripts should use normal syntax ... |
|
Read a string shell command. Do line edition, command historic and more ...
|
|
Shell error exception handling. This function relaunch the shell !
|
|
Call a new shell with enhanced line editing and more. Just type `exit` to quit that shell. |
|
Default table of variable type that the shell is allowed to substitut.
|
|
Current table for shell substitution. If this variable is set, it must be a table indexed by type name which are allowed to be substitued from the shell command line in shell enhanced syntax mode. shell_substitut is unset by default. |
|
Enhanced shell toggle key.
|
dcplaya documentation version 2.0 | Generated on November 2004 by doxygen 1.3.6 |