diff options
author | jkh <jkh@FreeBSD.org> | 1996-04-23 01:29:35 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-04-23 01:29:35 +0000 |
commit | e665fee23a1e8faaacaceda94ce45295956dee10 (patch) | |
tree | 61dd517d68f78c02b32b70a1ec457f1509801e87 /usr.sbin/sade/system.c | |
parent | 70a317a618a87b0eac973736356fadfa45b35959 (diff) | |
download | FreeBSD-src-e665fee23a1e8faaacaceda94ce45295956dee10.zip FreeBSD-src-e665fee23a1e8faaacaceda94ce45295956dee10.tar.gz |
Bring this into sync.
I still have a _very very annoying_ display bug which occurs when a menu
item causes a submenu to be displayed - the screen repaints for the original
menu (which is restored upon return from the submenu) are off by about 4
characters. I've tried restoring the screen, the cursor position, you name
it - same deal. Grrrr! This commit is my first step in trying to get someone
else to help me look into this one since I'm just tearing my hair out at this
point!
Diffstat (limited to 'usr.sbin/sade/system.c')
-rw-r--r-- | usr.sbin/sade/system.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c index 14f125a..5258eb8 100644 --- a/usr.sbin/sade/system.c +++ b/usr.sbin/sade/system.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: system.c,v 1.49 1996/03/21 09:30:17 jkh Exp $ + * $Id: system.c,v 1.50 1996/04/13 13:32:10 jkh Exp $ * * Jordan Hubbard * @@ -101,7 +101,6 @@ systemExecute(char *command) int status; struct termios foo; - dialog_clear(); dialog_update(); end_dialog(); DialogActive = FALSE; @@ -111,8 +110,6 @@ systemExecute(char *command) } status = system(command); DialogActive = TRUE; - dialog_clear(); - dialog_update(); return status; } @@ -122,24 +119,19 @@ systemDisplayHelp(char *file) { char *fname = NULL; char buf[FILENAME_MAX]; - WINDOW *w; fname = systemHelpFile(file, buf); if (!fname) { snprintf(buf, FILENAME_MAX, "The %s file is not provided on this particular floppy image.", file); use_helpfile(NULL); use_helpline(NULL); - w = savescr(); dialog_mesgbox("Sorry!", buf, -1, -1); - restorescr(w); return 1; } else { use_helpfile(NULL); use_helpline(NULL); - w = savescr(); dialog_textbox(file, fname, LINES, COLS); - restorescr(w); } return 0; } |