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.
This commit is contained in:
cgd 1999-06-22 00:57:06 +00:00
parent afa3578c2f
commit 59d3c08e03
13 changed files with 41 additions and 28 deletions

View File

@ -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 @@ md_update(void)
endwin();
md_copy_filesystem ();
md_post_newfs();
puts (CL);
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
return 1;
}

View File

@ -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 @@ md_update(void)
endwin();
md_copy_filesystem();
md_post_newfs();
puts(CL);
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
return 1;
}

View File

@ -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 @@ md_update (void)
endwin();
md_copy_filesystem ();
md_post_newfs();
puts (CL);
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
return 1;
}

View File

@ -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_update(void)
md_copy_filesystem();
md_post_newfs();
md_upgrade_mbrtype();
puts(CL);
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
return 1;
}

View File

@ -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 @@ md_update (void)
endwin();
md_copy_filesystem ();
md_post_newfs();
puts (CL);
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
return 1;
}

View File

@ -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 @@ md_update()
endwin();
md_copy_filesystem ();
md_post_newfs();
puts (CL);
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
return 1;
}

View File

@ -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 @@ md_update(void)
endwin();
md_copy_filesystem ();
md_post_newfs();
puts (CL);
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
return 1;
}

View File

@ -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 @@ md_update()
endwin();
md_copy_filesystem ();
md_post_newfs();
puts (CL);
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
return 1;
}

View File

@ -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 @@ md_update()
endwin();
md_copy_filesystem ();
md_post_newfs();
puts (CL);
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
return 1;
}

View File

@ -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 @@ do_install()
msg_display(MSG_disksetupdone);
getchar();
puts(CL); /* just to make sure */
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);

View File

@ -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 @@ get_via_ftp()
/* 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 @@ get_via_ftp()
list++;
}
puts(CL); /* Just to make sure. */
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
#ifndef DEBUG
chdir("/"); /* back to current real root */

View File

@ -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 @@ do_upgrade()
/* 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 @@ do_reinstall_sets()
return;
fflush(stdout);
puts(CL);
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
/* Unpack the distribution. */

View File

@ -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 @@ extract_dist()
list++;
}
puts(CL);
puts(CL); /* XXX */
wclear(stdscr);
wrefresh(stdscr);
if (tarstats.nerror == 0 && tarstats.nsuccess == tarstats.nselected) {