From 0b50cdfa85ed633c1dea518f260dd1da5ceb50b6 Mon Sep 17 00:00:00 2001 From: jkh Date: Sat, 18 Dec 1999 03:13:19 +0000 Subject: Yet more cosmetic fixes (I have a little time to kill while waiting for something else, so I might as well tweak 3.4's look-and-feel for the better while I'm at it - final release build should be sometime later on tonite). --- usr.sbin/sysinstall/index.c | 4 ++++ usr.sbin/sysinstall/package.c | 1 + 2 files changed, 5 insertions(+) (limited to 'usr.sbin') diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c index 034e042..8b1a4ef 100644 --- a/usr.sbin/sysinstall/index.c +++ b/usr.sbin/sysinstall/index.c @@ -626,6 +626,7 @@ index_extract(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended) int status = DITEM_SUCCESS; PkgNodePtr tmp2; IndexEntryPtr id = who->data; + WINDOW *w = savescr(); if (id && id->deps && strlen(id->deps)) { char t[1024], *cp, *cp2; @@ -662,6 +663,7 @@ index_extract(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended) if (DITEM_STATUS(status) == DITEM_SUCCESS) id->installed = 1; } + restorescr(w); return status; } @@ -721,6 +723,7 @@ index_initialize(char *path) return DITEM_FAILURE; } + dialog_clear_norefresh(); msgNotify("Attempting to fetch %s file from selected media.", path); fp = mediaDevice->get(mediaDevice, path, TRUE); if (!fp) { @@ -735,6 +738,7 @@ index_initialize(char *path) restorescr(w); return DITEM_FAILURE; } + dialog_clear_norefresh(); msgNotify("Located INDEX, now reading package data from it..."); index_init(&Top, &Plist); if (index_read(fp, &Top)) { diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c index 4af188a..2f810a7 100644 --- a/usr.sbin/sysinstall/package.c +++ b/usr.sbin/sysinstall/package.c @@ -162,6 +162,7 @@ package_extract(Device *dev, char *name, Boolean depended) sigpipe_caught = FALSE; signal(SIGPIPE, catch_pipe); + dialog_clear_norefresh(); msgNotify("Adding %s%s\nfrom %s", path, depended ? " (as a dependency)" : "", dev->name); pipe(pfd); pid = fork(); -- cgit v1.1