]> git.wh0rd.org - dump.git/blobdiff - restore/interactive.c
Made 'cat DUMPFILE | restore -i -f - ' work again.
[dump.git] / restore / interactive.c
index d8854c663e84523364ddb21df32b52b82e051ae6..4f7049b6a7e7eacfb2df45a2218fbd6ffae6c2cc 100644 (file)
@@ -40,7 +40,7 @@
 
 #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.12 2000/06/11 17:26:04 stelian Exp $";
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -897,6 +897,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 **