From 0a3388893456b8f2927e30c495c4e018af13f782 Mon Sep 17 00:00:00 2001 From: jkh Date: Sun, 12 Nov 1995 20:47:15 +0000 Subject: [PATCH] More helpful error messages. --- release/sysinstall/index.c | 13 +++++++------ release/sysinstall/package.c | 8 +++++--- usr.sbin/sysinstall/index.c | 13 +++++++------ usr.sbin/sysinstall/package.c | 8 +++++--- 4 files changed, 24 insertions(+), 18 deletions(-) diff --git a/release/sysinstall/index.c b/release/sysinstall/index.c index 96a182cd7503..6198a5eaf1ed 100644 --- a/release/sysinstall/index.c +++ b/release/sysinstall/index.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: index.c,v 1.18 1995/11/06 12:49:24 jkh Exp $ + * $Id: index.c,v 1.19 1995/11/06 22:26:28 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -62,12 +62,13 @@ _strdup(char *ptr) static char *descrs[] = { "Package Selection", "To mark a package or select a category, move to it and press SPACE.\n" - "To unmark a package, press SPACE again. When you want to commit your\n" - "marks, press [ENTER]. To go to a previous menu, select UP item or Cancel.\n" - "To search for a package by name, press ESC.", + "To unmark a package, press SPACE again. When you want to commit your\n" + "marks, press [ENTER]. To go to a previous menu, select UP item or Cancel.\n" + "To search for a package by name, press ESC. To extract packages, you\n" + "should Cancel all the way out of any submenus and finally this menu.", "Package Targets", "These are the packages you've selected for extraction.\n\n" - "If you're sure of these choices, select OK.\n" - "If not, select Cancel to go back to the package selection menu.\n", + "If you're sure of these choices, select OK.\n" + "If not, select Cancel to go back to the package selection menu.\n", "All", "All available packages in all categories.", "applications", "User application software.", "archivers", "Utilities for archiving and unarchiving data.", diff --git a/release/sysinstall/package.c b/release/sysinstall/package.c index 0af9df3fdc30..cd75c084f720 100644 --- a/release/sysinstall/package.c +++ b/release/sysinstall/package.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: package.c,v 1.25 1995/11/10 15:10:07 jkh Exp $ + * $Id: package.c,v 1.26 1995/11/12 11:02:43 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -145,8 +145,10 @@ package_extract(Device *dev, char *name) if (!variable_get(VAR_NO_CONFIRM)) msgConfirm("The package specified (%s) has no CONTENTS file. This means\n" "that there was either a media error of some sort or the package\n" - "file itself is corrupted.\n" - "You may wish to look into this and try again.", name); + "file itself is corrupted. It is also possible that you simply\n" + "ran out of temporary space and need to go to the options editor\n" + "to select a package temp directory with more space. Either way,\n" + "you may wish to look into the problem and try again.", name); else msgNotify("The package specified (%s) has no CONTENTS file. Skipping.", name); } diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c index 96a182cd7503..6198a5eaf1ed 100644 --- a/usr.sbin/sysinstall/index.c +++ b/usr.sbin/sysinstall/index.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: index.c,v 1.18 1995/11/06 12:49:24 jkh Exp $ + * $Id: index.c,v 1.19 1995/11/06 22:26:28 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -62,12 +62,13 @@ _strdup(char *ptr) static char *descrs[] = { "Package Selection", "To mark a package or select a category, move to it and press SPACE.\n" - "To unmark a package, press SPACE again. When you want to commit your\n" - "marks, press [ENTER]. To go to a previous menu, select UP item or Cancel.\n" - "To search for a package by name, press ESC.", + "To unmark a package, press SPACE again. When you want to commit your\n" + "marks, press [ENTER]. To go to a previous menu, select UP item or Cancel.\n" + "To search for a package by name, press ESC. To extract packages, you\n" + "should Cancel all the way out of any submenus and finally this menu.", "Package Targets", "These are the packages you've selected for extraction.\n\n" - "If you're sure of these choices, select OK.\n" - "If not, select Cancel to go back to the package selection menu.\n", + "If you're sure of these choices, select OK.\n" + "If not, select Cancel to go back to the package selection menu.\n", "All", "All available packages in all categories.", "applications", "User application software.", "archivers", "Utilities for archiving and unarchiving data.", diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c index 0af9df3fdc30..cd75c084f720 100644 --- a/usr.sbin/sysinstall/package.c +++ b/usr.sbin/sysinstall/package.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: package.c,v 1.25 1995/11/10 15:10:07 jkh Exp $ + * $Id: package.c,v 1.26 1995/11/12 11:02:43 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -145,8 +145,10 @@ package_extract(Device *dev, char *name) if (!variable_get(VAR_NO_CONFIRM)) msgConfirm("The package specified (%s) has no CONTENTS file. This means\n" "that there was either a media error of some sort or the package\n" - "file itself is corrupted.\n" - "You may wish to look into this and try again.", name); + "file itself is corrupted. It is also possible that you simply\n" + "ran out of temporary space and need to go to the options editor\n" + "to select a package temp directory with more space. Either way,\n" + "you may wish to look into the problem and try again.", name); else msgNotify("The package specified (%s) has no CONTENTS file. Skipping.", name); }