Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst mark all calls to write 'CL' (the scre...



details:   https://anonhg.NetBSD.org/src/rev/f81f4797029a
branches:  trunk
changeset: 473919:f81f4797029a
user:      cgd <cgd%NetBSD.org@localhost>
date:      Tue Jun 22 00:57:06 1999 +0000

description:
mark all calls to write 'CL' (the screen-clear escape sequence) to the
screen as XXX.  Where they were not followed by wclear(stdscr), add
wclear(stdscr).  Somebody was let out without adult supervision.  If i
were more adventurous, i'd remove the bits that output 'CL', but i'm not
gonna go there right now.

diffstat:

 distrib/utils/sysinst/arch/alpha/md.c  |  5 +++--
 distrib/utils/sysinst/arch/arm32/md.c  |  5 +++--
 distrib/utils/sysinst/arch/bebox/md.c  |  5 +++--
 distrib/utils/sysinst/arch/i386/md.c   |  5 +++--
 distrib/utils/sysinst/arch/mac68k/md.c |  5 +++--
 distrib/utils/sysinst/arch/macppc/md.c |  5 +++--
 distrib/utils/sysinst/arch/pmax/md.c   |  5 +++--
 distrib/utils/sysinst/arch/sparc/md.c  |  5 +++--
 distrib/utils/sysinst/arch/vax/md.c    |  5 +++--
 distrib/utils/sysinst/install.c        |  4 ++--
 distrib/utils/sysinst/net.c            |  8 +++++---
 distrib/utils/sysinst/upgrade.c        |  7 ++++---
 distrib/utils/sysinst/util.c           |  5 +++--
 13 files changed, 41 insertions(+), 28 deletions(-)

diffs (265 lines):

diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/arch/alpha/md.c
--- a/distrib/utils/sysinst/arch/alpha/md.c     Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/arch/alpha/md.c     Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.16 1999/06/20 06:08:16 cgd Exp $      */
+/*     $NetBSD: md.c,v 1.17 1999/06/22 00:57:07 cgd Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -337,7 +337,8 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       puts (CL);
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
        return 1;
 }
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/arch/arm32/md.c
--- a/distrib/utils/sysinst/arch/arm32/md.c     Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/arch/arm32/md.c     Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.19 1999/06/20 06:08:17 cgd Exp $      */
+/*     $NetBSD: md.c,v 1.20 1999/06/22 00:57:08 cgd Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -497,7 +497,8 @@
        endwin();
        md_copy_filesystem();
        md_post_newfs();
-       puts(CL);
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
        return 1;
 }
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/arch/bebox/md.c
--- a/distrib/utils/sysinst/arch/bebox/md.c     Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/arch/bebox/md.c     Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.11 1999/06/20 06:08:18 cgd Exp $ */
+/*     $NetBSD: md.c,v 1.12 1999/06/22 00:57:08 cgd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -332,7 +332,8 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       puts (CL);
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
        return 1;
 }
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/arch/i386/md.c
--- a/distrib/utils/sysinst/arch/i386/md.c      Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.c      Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.28 1999/06/20 06:08:19 cgd Exp $ */
+/*     $NetBSD: md.c,v 1.29 1999/06/22 00:57:08 cgd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -431,7 +431,8 @@
        md_copy_filesystem();
        md_post_newfs();
        md_upgrade_mbrtype();
-       puts(CL);
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
        return 1;
 }
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/arch/mac68k/md.c
--- a/distrib/utils/sysinst/arch/mac68k/md.c    Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/arch/mac68k/md.c    Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.7 1999/06/20 06:42:06 cgd Exp $ */
+/*     $NetBSD: md.c,v 1.8 1999/06/22 00:57:09 cgd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -856,7 +856,8 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       puts (CL);
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
        return 1;
 }
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/arch/macppc/md.c
--- a/distrib/utils/sysinst/arch/macppc/md.c    Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/arch/macppc/md.c    Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.11 1999/06/20 06:08:21 cgd Exp $      */
+/*     $NetBSD: md.c,v 1.12 1999/06/22 00:57:09 cgd Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -348,7 +348,8 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       puts (CL);
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
        return 1;
 }
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/arch/pmax/md.c
--- a/distrib/utils/sysinst/arch/pmax/md.c      Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/arch/pmax/md.c      Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.31 1999/06/20 06:08:22 cgd Exp $      */
+/*     $NetBSD: md.c,v 1.32 1999/06/22 00:57:09 cgd Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -455,7 +455,8 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       puts (CL);
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
        return 1;
 }
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/arch/sparc/md.c
--- a/distrib/utils/sysinst/arch/sparc/md.c     Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/arch/sparc/md.c     Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.13 1999/06/20 06:08:23 cgd Exp $      */
+/*     $NetBSD: md.c,v 1.14 1999/06/22 00:57:10 cgd Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -345,7 +345,8 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       puts (CL);
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
        return 1;
 }
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/arch/vax/md.c
--- a/distrib/utils/sysinst/arch/vax/md.c       Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/arch/vax/md.c       Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.7 1999/06/20 06:08:26 cgd Exp $       */
+/*     $NetBSD: md.c,v 1.8 1999/06/22 00:57:10 cgd Exp $       */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -350,7 +350,8 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       puts (CL);
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
        return 1;
 }
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/install.c
--- a/distrib/utils/sysinst/install.c   Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/install.c   Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: install.c,v 1.17 1999/06/20 06:08:14 cgd Exp $ */
+/*     $NetBSD: install.c,v 1.18 1999/06/22 00:57:06 cgd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -117,7 +117,7 @@
        msg_display(MSG_disksetupdone);
 
        getchar();
-       puts(CL); /* just to make sure */
+       puts(CL);               /* XXX */
        wclear(stdscr);
        wrefresh(stdscr);
 
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/net.c
--- a/distrib/utils/sysinst/net.c       Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/net.c       Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net.c,v 1.48 1999/06/20 07:55:00 cgd Exp $     */
+/*     $NetBSD: net.c,v 1.49 1999/06/22 00:57:06 cgd Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -493,7 +493,8 @@
                        /* Error getting the file.  Bad host name ... ? */
                        msg_display(MSG_ftperror_cont);
                        getchar();
-                       puts(CL);
+                       puts(CL);               /* XXX */
+                       wclear(stdscr);
                        wrefresh(stdscr);
                        msg_display(MSG_ftperror);
                        process_menu(MENU_yesno);
@@ -505,7 +506,8 @@
                        list++;
 
        }
-       puts(CL); /* Just to make sure. */
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
 #ifndef DEBUG
        chdir("/");     /* back to current real root */
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/upgrade.c
--- a/distrib/utils/sysinst/upgrade.c   Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/upgrade.c   Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: upgrade.c,v 1.18 1999/06/20 06:08:15 cgd Exp $ */
+/*     $NetBSD: upgrade.c,v 1.19 1999/06/22 00:57:06 cgd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -97,7 +97,7 @@
        /* Done with disks. Ready to get and unpack tarballs. */
        msg_display(MSG_disksetupdone);
        getchar();
-       puts(CL); /* just to make sure */
+       puts(CL);               /* XXX */
        wclear(stdscr);
        wrefresh(stdscr);
 
@@ -209,7 +209,8 @@
                return;
 
        fflush(stdout);
-       puts(CL);
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
 
        /* Unpack the distribution. */
diff -r 3786373af914 -r f81f4797029a distrib/utils/sysinst/util.c
--- a/distrib/utils/sysinst/util.c      Tue Jun 22 00:43:57 1999 +0000
+++ b/distrib/utils/sysinst/util.c      Tue Jun 22 00:57:06 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.42 1999/06/20 06:08:15 cgd Exp $    */
+/*     $NetBSD: util.c,v 1.43 1999/06/22 00:57:06 cgd Exp $    */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -539,7 +539,8 @@
                list++;
        }
 
-       puts(CL);
+       puts(CL);               /* XXX */
+       wclear(stdscr);
        wrefresh(stdscr);
 
        if (tarstats.nerror == 0 && tarstats.nsuccess == tarstats.nselected) {



Home | Main Index | Thread Index | Old Index