X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=restore%2Finteractive.c;h=40c0ba55df97e0d100e693683e155cbd97a32ad7;hb=7ae7e2fd107494c21ad619d1bd824ff7e72603f1;hp=d8854c663e84523364ddb21df32b52b82e051ae6;hpb=c38e5b6a9c658f06d9b27f33e9db131ffa23d947;p=dump.git diff --git a/restore/interactive.c b/restore/interactive.c index d8854c6..40c0ba5 100644 --- a/restore/interactive.c +++ b/restore/interactive.c @@ -2,7 +2,8 @@ * Ported to Linux's Second Extended File System as part of the * dump and restore backup suit * Remy Card , 1994-1997 - * Stelian Pop , 1999-2000 + * Stelian Pop , 1999-2000 + * Stelian Pop - AlcĂ´ve , 2000 */ /* @@ -40,9 +41,10 @@ #ifndef lint static const char rcsid[] = - "$Id: interactive.c,v 1.11 2000/05/29 14:17:37 stelian Exp $"; + "$Id: interactive.c,v 1.15 2000/12/21 11:14:54 stelian Exp $"; #endif /* not lint */ +#include #include #include @@ -897,6 +899,7 @@ initialize_readline(void) rl_attempted_completion_function = restore_completion; rl_completion_entry_function = (Function *)NULL; rl_completion_append_character = '\0'; + rl_instream = terminal; } static char **