diff options
author | crunchy <crunchy> | 2002-09-14 07:23:59 +0000 |
---|---|---|
committer | crunchy <crunchy> | 2002-09-14 07:23:59 +0000 |
commit | 628031051a17756e48b6726ddd477d2fa5692dc2 (patch) | |
tree | fd59859b98421b15b2fadbb835a0e2e8ad0e6572 /mpiosh | |
parent | c74b3cb41e5498ed863325fa060f5a1f2d1902d0 (diff) | |
download | mpiosh-628031051a17756e48b6726ddd477d2fa5692dc2.tar.gz mpiosh-628031051a17756e48b6726ddd477d2fa5692dc2.tar.bz2 mpiosh-628031051a17756e48b6726ddd477d2fa5692dc2.zip |
fixed output of none interactive mode
Diffstat (limited to 'mpiosh')
-rw-r--r-- | mpiosh/mpiosh.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mpiosh/mpiosh.c b/mpiosh/mpiosh.c index 3bcf6d4..aca7e19 100644 --- a/mpiosh/mpiosh.c +++ b/mpiosh/mpiosh.c @@ -2,7 +2,7 @@ /* * - * $Id: mpiosh.c,v 1.4 2002/09/13 19:06:30 crunchy Exp $ + * $Id: mpiosh.c,v 1.5 2002/09/14 07:23:59 crunchy Exp $ * * Author: Andreas Büsching <crunchy@tzi.de> * @@ -340,6 +340,8 @@ mpiosh_signal_handler(int signal) mpiosh_cancel = 1; } +void mpiosh_noredisplay(void) {} + int main(int argc, char *argv[]) { char * line; @@ -363,7 +365,6 @@ main(int argc, char *argv[]) { /* signal(SIGINT, SIG_IGN); */ /* init readline and history */ - rl_readline_name = "mpio"; using_history(); debug_init(); @@ -380,6 +381,7 @@ main(int argc, char *argv[]) { if (!isatty(fileno(stdin))) { interactive = 0; mpiosh.prompt = NULL; + rl_redisplay_function = mpiosh_noredisplay; } if (!mpiosh.dev && interactive) { |