Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst/arch/landisk Clear the screen after running...



details:   https://anonhg.NetBSD.org/src/rev/cc09143c5037
branches:  trunk
changeset: 355204:cc09143c5037
user:      gson <gson%NetBSD.org@localhost>
date:      Tue Jul 18 17:15:45 2017 +0000

description:
Clear the screen after running installboot.  If we don't, there will
be a leftover line saying "Status: Finished" at the top of subsequent
screens, and the message "Hit enter to continue" will be redrawn after
the set selection is complete, which confuses literal-minded robotic
users such as anita.

diffstat:

 usr.sbin/sysinst/arch/landisk/md.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 428988a19f41 -r cc09143c5037 usr.sbin/sysinst/arch/landisk/md.c
--- a/usr.sbin/sysinst/arch/landisk/md.c        Tue Jul 18 14:36:43 2017 +0000
+++ b/usr.sbin/sysinst/arch/landisk/md.c        Tue Jul 18 17:15:45 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.2 2014/08/03 16:09:40 martin Exp $    */
+/*     $NetBSD: md.c,v 1.3 2017/07/18 17:15:45 gson Exp $      */
 
 /*
  * Copyright 1997,2002 Piermont Information Systems Inc.
@@ -128,7 +128,7 @@
        cp_to_target("/usr/mdec/boot", "/boot");
        bootxx = bootxx_name();
        if (bootxx != NULL) {
-               error = run_program(RUN_DISPLAY | RUN_NO_CLEAR,
+               error = run_program(RUN_DISPLAY,
                    "/usr/sbin/installboot -v /dev/r%sa %s", pm->diskdev, bootxx);
                free(bootxx);
        } else



Home | Main Index | Thread Index | Old Index