commit bash-20050428 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:46:16 -05:00
parent 4f00fe31d0
commit 3ffb039ac2
22 changed files with 28615 additions and 153 deletions
+2
View File
@@ -90,6 +90,7 @@ rl_callback_handler_install (prompt, linefunc)
rl_vcpfunc_t *linefunc;
{
rl_set_prompt (prompt);
RL_SETSTATE (RL_STATE_CALLBACK);
rl_linefunc = linefunc;
_rl_callback_newline ();
}
@@ -145,6 +146,7 @@ void
rl_callback_handler_remove ()
{
rl_linefunc = NULL;
RL_UNSETSTATE (RL_STATE_CALLBACK);
if (in_handler)
{
in_handler = 0;
+1
View File
@@ -781,6 +781,7 @@ extern int rl_inhibit_completion;
#define RL_STATE_UNDOING 0x10000 /* doing an undo */
#define RL_STATE_INPUTPENDING 0x20000 /* rl_execute_next called */
#define RL_STATE_TTYCSAVED 0x40000 /* tty special chars saved */
#define RL_STATE_CALLBACK 0x80000 /* using the callback interface */
#define RL_STATE_DONE 0x80000 /* done; accepted line */