aboutsummaryrefslogtreecommitdiff
path: root/release/sysinstall/dist.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-08-03 10:11:56 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-08-03 10:11:56 +0000
commit96a9d7fb415e69d8d520f88450b15a4d17feaa39 (patch)
tree5079fda21ee24931ed7bd3546d7e784ac1e14a47 /release/sysinstall/dist.c
parent80550032a8456dd7f62bb651a5499b461e85c12c (diff)
downloadsrc-96a9d7fb415e69d8d520f88450b15a4d17feaa39.tar.gz
src-96a9d7fb415e69d8d520f88450b15a4d17feaa39.zip
Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
Notes
Notes: svn path=/head/; revision=17404
Diffstat (limited to 'release/sysinstall/dist.c')
-rw-r--r--release/sysinstall/dist.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c
index 24efe3805a21..a6d3845574f7 100644
--- a/release/sysinstall/dist.c
+++ b/release/sysinstall/dist.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: dist.c,v 1.66 1996/07/12 11:13:58 jkh Exp $
+ * $Id: dist.c,v 1.67 1996/07/13 05:44:51 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -264,7 +264,7 @@ distMaybeSetDES(dialogMenuItem *self)
{
int i = DITEM_SUCCESS;
- dialog_clear();
+ dialog_clear_norefresh();
if (!msgYesNo("Do wish to install DES cryptographic software?\n\n"
"If you choose No, FreeBSD will use an MD5 based password scheme which,\n"
"while perhaps more secure, is not interoperable with the traditional\n"
@@ -338,7 +338,7 @@ distExtract(char *parent, Distribution *me)
struct timeval start, stop;
status = TRUE;
- dialog_clear();
+ dialog_clear_norefresh();
if (isDebug())
msgDebug("distExtract: parent: %s, me: %s\n", parent ? parent : "(none)", me->my_name);
@@ -464,7 +464,7 @@ distExtract(char *parent, Distribution *me)
retval = write(fd2, buf, n);
if (retval != n) {
mediaDevice->close(mediaDevice, fd);
- dialog_clear();
+ dialog_clear_norefresh();
msgConfirm("Write failure on transfer! (wrote %d bytes of %d bytes)", retval, n);
goto punt;
}
@@ -551,7 +551,7 @@ distExtractAll(dialogMenuItem *self)
if (!mediaDevice->init(mediaDevice))
return DITEM_FAILURE;
- dialog_clear();
+ dialog_clear_norefresh();
msgNotify("Attempting to install all selected distributions..");
/* Try for 3 times around the loop, then give up. */
while (Dists && ++retries < 3)
@@ -562,7 +562,7 @@ distExtractAll(dialogMenuItem *self)
buf[0] = '\0';
printSelected(buf, Dists, DistTable, &col);
- dialog_clear();
+ dialog_clear_norefresh();
msgConfirm("Couldn't extract the following distributions. This may\n"
"be because they were not available on the installation\n"
"media you've chosen:\n\n\t%s", buf);