Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst Use wrefresh(curscr) instead of clearo...



details:   https://anonhg.NetBSD.org/src/rev/60c62ca897f1
branches:  trunk
changeset: 501776:60c62ca897f1
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sun Jan 07 13:07:57 2001 +0000

description:
Use wrefresh(curscr) instead of clearok().
Suggested by Thomas Dickey.

diffstat:

 distrib/utils/sysinst/arch/alpha/md.c   |  4 ++--
 distrib/utils/sysinst/arch/amiga/md.c   |  4 ++--
 distrib/utils/sysinst/arch/arm32/md.c   |  4 ++--
 distrib/utils/sysinst/arch/bebox/md.c   |  4 ++--
 distrib/utils/sysinst/arch/hpcmips/md.c |  4 ++--
 distrib/utils/sysinst/arch/i386/md.c    |  4 ++--
 distrib/utils/sysinst/arch/mac68k/md.c  |  4 ++--
 distrib/utils/sysinst/arch/macppc/md.c  |  4 ++--
 distrib/utils/sysinst/arch/news68k/md.c |  4 ++--
 distrib/utils/sysinst/arch/pmax/md.c    |  4 ++--
 distrib/utils/sysinst/arch/sparc/md.c   |  4 ++--
 distrib/utils/sysinst/arch/sparc64/md.c |  4 ++--
 distrib/utils/sysinst/arch/vax/md.c     |  4 ++--
 distrib/utils/sysinst/arch/x68k/md.c    |  4 ++--
 distrib/utils/sysinst/install.c         |  4 ++--
 distrib/utils/sysinst/net.c             |  6 +++---
 distrib/utils/sysinst/upgrade.c         |  6 +++---
 distrib/utils/sysinst/util.c            |  4 ++--
 18 files changed, 38 insertions(+), 38 deletions(-)

diffs (truncated from 342 to 300 lines):

diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/alpha/md.c
--- a/distrib/utils/sysinst/arch/alpha/md.c     Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/alpha/md.c     Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.24 2000/12/31 13:08:06 jdc Exp $      */
+/*     $NetBSD: md.c,v 1.25 2001/01/07 13:07:57 jdc Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -339,7 +339,7 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/amiga/md.c
--- a/distrib/utils/sysinst/arch/amiga/md.c     Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/amiga/md.c     Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.6 2000/12/31 13:08:06 jdc Exp $ */
+/*     $NetBSD: md.c,v 1.7 2001/01/07 13:07:58 jdc Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -107,7 +107,7 @@
        endwin();
        md_copy_filesystem();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/arm32/md.c
--- a/distrib/utils/sysinst/arch/arm32/md.c     Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/arm32/md.c     Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.28 2000/12/31 13:08:06 jdc Exp $      */
+/*     $NetBSD: md.c,v 1.29 2001/01/07 13:07:58 jdc Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -485,7 +485,7 @@
        endwin();
        md_copy_filesystem();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/bebox/md.c
--- a/distrib/utils/sysinst/arch/bebox/md.c     Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/bebox/md.c     Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.20 2000/12/31 13:08:06 jdc Exp $ */
+/*     $NetBSD: md.c,v 1.21 2001/01/07 13:07:58 jdc Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -334,7 +334,7 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/hpcmips/md.c
--- a/distrib/utils/sysinst/arch/hpcmips/md.c   Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/hpcmips/md.c   Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.10 2000/12/31 13:08:06 jdc Exp $ */
+/*     $NetBSD: md.c,v 1.11 2001/01/07 13:07:58 jdc Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -462,7 +462,7 @@
        md_copy_filesystem();
        md_post_newfs();
        md_upgrade_mbrtype();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/i386/md.c
--- a/distrib/utils/sysinst/arch/i386/md.c      Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.c      Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.51 2000/12/31 13:08:07 jdc Exp $ */
+/*     $NetBSD: md.c,v 1.52 2001/01/07 13:07:58 jdc Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -396,7 +396,7 @@
        md_copy_filesystem();
        md_post_newfs();
        md_upgrade_mbrtype();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/mac68k/md.c
--- a/distrib/utils/sysinst/arch/mac68k/md.c    Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/mac68k/md.c    Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.17 2000/12/31 13:08:07 jdc Exp $ */
+/*     $NetBSD: md.c,v 1.18 2001/01/07 13:07:58 jdc Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -856,7 +856,7 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/macppc/md.c
--- a/distrib/utils/sysinst/arch/macppc/md.c    Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/macppc/md.c    Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.19 2000/12/31 13:08:07 jdc Exp $      */
+/*     $NetBSD: md.c,v 1.20 2001/01/07 13:07:59 jdc Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -350,7 +350,7 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/news68k/md.c
--- a/distrib/utils/sysinst/arch/news68k/md.c   Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/news68k/md.c   Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.7 2000/12/31 13:08:07 jdc Exp $       */
+/*     $NetBSD: md.c,v 1.8 2001/01/07 13:07:59 jdc Exp $       */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -350,7 +350,7 @@
        endwin();
        md_copy_filesystem ();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/pmax/md.c
--- a/distrib/utils/sysinst/arch/pmax/md.c      Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/pmax/md.c      Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.44 2000/12/31 13:08:07 jdc Exp $      */
+/*     $NetBSD: md.c,v 1.45 2001/01/07 13:07:59 jdc Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -192,7 +192,7 @@
        endwin();
        md_copy_filesystem();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/sparc/md.c
--- a/distrib/utils/sysinst/arch/sparc/md.c     Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/sparc/md.c     Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.25 2000/12/31 13:08:08 jdc Exp $      */
+/*     $NetBSD: md.c,v 1.26 2001/01/07 13:07:59 jdc Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -193,7 +193,7 @@
        endwin();
        md_copy_filesystem();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/sparc64/md.c
--- a/distrib/utils/sysinst/arch/sparc64/md.c   Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/sparc64/md.c   Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.6 2000/12/31 13:08:08 jdc Exp $       */
+/*     $NetBSD: md.c,v 1.7 2001/01/07 13:07:59 jdc Exp $       */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -178,7 +178,7 @@
        endwin();
        md_copy_filesystem();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/vax/md.c
--- a/distrib/utils/sysinst/arch/vax/md.c       Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/vax/md.c       Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.15 2000/12/31 13:08:08 jdc Exp $      */
+/*     $NetBSD: md.c,v 1.16 2001/01/07 13:07:59 jdc Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -177,7 +177,7 @@
        endwin();
        md_copy_filesystem();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/arch/x68k/md.c
--- a/distrib/utils/sysinst/arch/x68k/md.c      Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/arch/x68k/md.c      Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.14 2000/12/31 13:08:08 jdc Exp $ */
+/*     $NetBSD: md.c,v 1.15 2001/01/07 13:08:00 jdc Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -308,7 +308,7 @@
        endwin();
        md_copy_filesystem();
        md_post_newfs();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/install.c
--- a/distrib/utils/sysinst/install.c   Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/install.c   Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: install.c,v 1.26 2000/12/31 13:08:05 jdc Exp $ */
+/*     $NetBSD: install.c,v 1.27 2001/01/07 13:07:57 jdc Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -127,7 +127,7 @@
        msg_display(MSG_disksetupdone);
 
        getchar();
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr,0, 0);
        wclear(stdscr);
        wrefresh(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/net.c
--- a/distrib/utils/sysinst/net.c       Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/net.c       Sun Jan 07 13:07:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net.c,v 1.68 2000/12/31 13:08:05 jdc Exp $     */
+/*     $NetBSD: net.c,v 1.69 2001/01/07 13:07:57 jdc Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -744,7 +744,7 @@
                        /* Error getting the file.  Bad host name ... ? */
                        msg_display(MSG_ftperror_cont);
                        getchar();
-                       clearok(stdscr, TRUE);
+                       wrefresh(curscr);
                        wmove(stdscr, 0, 0);
                        touchwin(stdscr);
                        wclear(stdscr);
@@ -759,7 +759,7 @@
                        list++;
 
        }
-       clearok(stdscr, TRUE);
+       wrefresh(curscr);
        wmove(stdscr, 0, 0);
        touchwin(stdscr);
        wclear(stdscr);
diff -r 0b2f133b2a5d -r 60c62ca897f1 distrib/utils/sysinst/upgrade.c
--- a/distrib/utils/sysinst/upgrade.c   Sun Jan 07 13:05:28 2001 +0000
+++ b/distrib/utils/sysinst/upgrade.c   Sun Jan 07 13:07:57 2001 +0000



Home | Main Index | Thread Index | Old Index