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/i386 Clear the screen after running in...



details:   https://anonhg.NetBSD.org/src/rev/4c0edeb44cc8
branches:  trunk
changeset: 826543:4c0edeb44cc8
user:      gson <gson%NetBSD.org@localhost>
date:      Mon Sep 11 15:24:28 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 the next
screen, along with some random punctuation in the left and right
margins.  Inspired by ../landisk/md.c 1.3.

diffstat:

 usr.sbin/sysinst/arch/i386/md.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 0a449efca49e -r 4c0edeb44cc8 usr.sbin/sysinst/arch/i386/md.c
--- a/usr.sbin/sysinst/arch/i386/md.c   Mon Sep 11 14:12:28 2017 +0000
+++ b/usr.sbin/sysinst/arch/i386/md.c   Mon Sep 11 15:24:28 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.6 2015/05/10 10:14:02 martin Exp $ */
+/*     $NetBSD: md.c,v 1.7 2017/09/11 15:24:28 gson Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -347,11 +347,11 @@
                    "console=%s,speed=%u", consoles[boottype.bp_consdev],
                    boottype.bp_conspeed);
                if (pm->isspecial) {
-                       ret = run_program(RUN_DISPLAY | RUN_NO_CLEAR,                 
+                       ret = run_program(RUN_DISPLAY,
                            "/usr/sbin/installboot -o %s /dev/r%s %s",
                            boot_options, pm->diskdev, bootxx_filename); 
                } else {
-                       ret = run_program(RUN_DISPLAY | RUN_NO_CLEAR,                 
+                       ret = run_program(RUN_DISPLAY,
                            "/usr/sbin/installboot -o %s /dev/r%s%c %s",
                            boot_options, pm->diskdev, 'a' + pm->rootpart,
                            bootxx_filename); 



Home | Main Index | Thread Index | Old Index