Prompt for keypress after FTP failure, so we know what went wrong.

From Havard.Eidnes@runit.sintef.no, PR #4521.
This commit is contained in:
thorpej 1997-11-25 00:24:52 +00:00
parent bed4934d1f
commit 01278747a2
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.mi.eng,v 1.20 1997/11/22 00:29:33 simonb Exp $ */
/* $NetBSD: msg.mi.eng,v 1.21 1997/11/25 00:24:52 thorpej Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -426,6 +426,9 @@ message realdir
{Could not change to directory %s: %s. Install aborted.
}
message ftperror_cont
{Ftp detected an error. Press <return> to continue.}
message ftperror
{Ftp could not retreive a file. Do you want to try again?}

View File

@ -1,4 +1,4 @@
/* $NetBSD: net.c,v 1.21 1997/11/22 14:16:55 simonb Exp $ */
/* $NetBSD: net.c,v 1.22 1997/11/25 00:24:54 thorpej Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -278,6 +278,8 @@ get_via_ftp (void)
filename);
if (ret) {
/* Error getting the file. Bad host name ... ? */
msg_display (MSG_ftperror_cont);
getchar();
puts (CL);
wrefresh (stdscr);
msg_display (MSG_ftperror);