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 After installing boot blocks with RUN_...



details:   https://anonhg.NetBSD.org/src/rev/3745b49fe783
branches:  trunk
changeset: 847233:3745b49fe783
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Dec 15 13:39:24 2019 +0000

description:
After installing boot blocks with RUN_NO_CLEAR (and handling the
potential errors) make sure to clear the stdscreen.

diffstat:

 usr.sbin/sysinst/arch/alpha/md.c   |  7 ++++++-
 usr.sbin/sysinst/arch/emips/md.c   |  7 ++++++-
 usr.sbin/sysinst/arch/hp300/md.c   |  8 +++++++-
 usr.sbin/sysinst/arch/mipsco/md.c  |  8 +++++++-
 usr.sbin/sysinst/arch/mvme68k/md.c |  8 +++++++-
 usr.sbin/sysinst/arch/pmax/md.c    |  7 ++++++-
 usr.sbin/sysinst/arch/x68k/md.c    |  8 +++++++-
 7 files changed, 46 insertions(+), 7 deletions(-)

diffs (151 lines):

diff -r fd00cd652e7b -r 3745b49fe783 usr.sbin/sysinst/arch/alpha/md.c
--- a/usr.sbin/sysinst/arch/alpha/md.c  Sun Dec 15 12:50:39 2019 +0000
+++ b/usr.sbin/sysinst/arch/alpha/md.c  Sun Dec 15 13:39:24 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.6 2019/07/13 17:13:36 martin Exp $ */
+/*     $NetBSD: md.c,v 1.7 2019/12/15 13:39:24 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -166,6 +166,11 @@
                process_menu(MENU_ok,
                    __UNCONST("Warning: disk is probably not bootable"));
 
+       wclear(stdscr);
+       touchwin(stdscr);
+       clearok(stdscr, 1);
+       refresh();
+
        return 0;
 }
 
diff -r fd00cd652e7b -r 3745b49fe783 usr.sbin/sysinst/arch/emips/md.c
--- a/usr.sbin/sysinst/arch/emips/md.c  Sun Dec 15 12:50:39 2019 +0000
+++ b/usr.sbin/sysinst/arch/emips/md.c  Sun Dec 15 13:39:24 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.7 2019/07/13 17:13:37 martin Exp $    */
+/*     $NetBSD: md.c,v 1.8 2019/12/15 13:39:24 martin Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -175,6 +175,11 @@
                    "/bin/dd if=%s of=/dev/reflash0c bs=512", ldr_path))
                        process_menu(MENU_ok, __UNCONST("Warning: the system "
                            "is probably not bootable"));
+
+               wclear(stdscr);
+               touchwin(stdscr);
+               clearok(stdscr, 1);
+               refresh();
        }
 
        return 0;
diff -r fd00cd652e7b -r 3745b49fe783 usr.sbin/sysinst/arch/hp300/md.c
--- a/usr.sbin/sysinst/arch/hp300/md.c  Sun Dec 15 12:50:39 2019 +0000
+++ b/usr.sbin/sysinst/arch/hp300/md.c  Sun Dec 15 13:39:24 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.8 2019/07/13 17:13:37 martin Exp $ */
+/*     $NetBSD: md.c,v 1.9 2019/12/15 13:39:24 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -187,6 +187,12 @@
            "/usr/sbin/installboot /dev/r%sc /usr/mdec/uboot.lif", pm->diskdev))
                process_menu(MENU_ok,
                    __UNCONST("Warning: disk is probably not bootable"));
+
+       wclear(stdscr);
+       touchwin(stdscr);
+       clearok(stdscr, 1);
+       refresh();
+
        return 0;
 }
 
diff -r fd00cd652e7b -r 3745b49fe783 usr.sbin/sysinst/arch/mipsco/md.c
--- a/usr.sbin/sysinst/arch/mipsco/md.c Sun Dec 15 12:50:39 2019 +0000
+++ b/usr.sbin/sysinst/arch/mipsco/md.c Sun Dec 15 13:39:24 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.6 2019/07/13 17:13:39 martin Exp $    */
+/*     $NetBSD: md.c,v 1.7 2019/12/15 13:39:24 martin Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -168,6 +168,12 @@
            "/usr/mdec/installboot /dev/r%sc /usr/mdec/bootxx_ffs", pm->diskdev))
                process_menu(MENU_ok,
                        __UNCONST("Warning: disk is probably not bootable"));
+
+       wclear(stdscr);
+       touchwin(stdscr);
+       clearok(stdscr, 1);
+       refresh();
+
        return 0;
 }
 
diff -r fd00cd652e7b -r 3745b49fe783 usr.sbin/sysinst/arch/mvme68k/md.c
--- a/usr.sbin/sysinst/arch/mvme68k/md.c        Sun Dec 15 12:50:39 2019 +0000
+++ b/usr.sbin/sysinst/arch/mvme68k/md.c        Sun Dec 15 13:39:24 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.8 2019/07/13 17:13:39 martin Exp $    */
+/*     $NetBSD: md.c,v 1.9 2019/12/15 13:39:24 martin Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -190,6 +190,12 @@
            target_expand("/.bootsd"), pm->diskdev))
                process_menu(MENU_ok,
                        __UNCONST("Warning: disk is probably not bootable"));
+
+       wclear(stdscr);
+       touchwin(stdscr);
+       clearok(stdscr, 1);
+       refresh();
+
        return 0;
 }
 
diff -r fd00cd652e7b -r 3745b49fe783 usr.sbin/sysinst/arch/pmax/md.c
--- a/usr.sbin/sysinst/arch/pmax/md.c   Sun Dec 15 12:50:39 2019 +0000
+++ b/usr.sbin/sysinst/arch/pmax/md.c   Sun Dec 15 13:39:24 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.6 2019/07/13 17:13:39 martin Exp $    */
+/*     $NetBSD: md.c,v 1.7 2019/12/15 13:39:24 martin Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -177,6 +177,11 @@
                process_menu(MENU_ok,
                    __UNCONST("Warning: disk is probably not bootable"));
 
+       wclear(stdscr);
+       touchwin(stdscr);
+       clearok(stdscr, 1);
+       refresh();
+
        return 0;
 }
 
diff -r fd00cd652e7b -r 3745b49fe783 usr.sbin/sysinst/arch/x68k/md.c
--- a/usr.sbin/sysinst/arch/x68k/md.c   Sun Dec 15 12:50:39 2019 +0000
+++ b/usr.sbin/sysinst/arch/x68k/md.c   Sun Dec 15 13:39:24 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.8 2019/07/13 17:13:40 martin Exp $ */
+/*     $NetBSD: md.c,v 1.9 2019/12/15 13:39:24 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -276,6 +276,12 @@
            pm->diskdev))
                process_menu(MENU_ok,
                        __UNCONST("Warning: disk is probably not bootable"));
+
+       wclear(stdscr);
+       touchwin(stdscr);
+       clearok(stdscr, 1);
+       refresh();
+
        return 0;
 }
 



Home | Main Index | Thread Index | Old Index