My last cosmetic changes.
This commit is contained in:
parent
2570919b8c
commit
b366e542cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4240
@ -44,12 +44,9 @@ stage0()
|
||||
{
|
||||
evil_goto:
|
||||
if (dialog_menu("Welcome to FreeBSD!",
|
||||
"Please select one of the following options:",
|
||||
15, 75, 6, 6, welcome, selection)) {
|
||||
dialog_clear();
|
||||
end_dialog();
|
||||
reboot(RB_AUTOBOOT);
|
||||
}
|
||||
"Use ALT-F2 and ALT-F1 to toggle between debugging\ninformation screen (ALT-F2) or this dialog screen (ALT-F1)\n\nPlease select one of the following options:", 15, 75, 6, 6, welcome, selection))
|
||||
ExitSysinstall();
|
||||
|
||||
switch (atoi(selection)) {
|
||||
case 1: /* View the README */
|
||||
ShowFile(README_FILE, "Read Me First");
|
||||
@ -77,9 +74,7 @@ stage0()
|
||||
|
||||
case 6:
|
||||
/* Be neat.. */
|
||||
dialog_clear();
|
||||
end_dialog();
|
||||
reboot(RB_AUTOBOOT);
|
||||
ExitSysinstall();
|
||||
break; /* hope not! :) */
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* $Id: stage5.c,v 1.10 1994/11/06 02:24:45 jkh Exp $
|
||||
* $Id: stage5.c,v 1.11 1994/11/07 09:49:06 jkh Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -36,8 +36,7 @@ stage5()
|
||||
{
|
||||
int exec_sh = 1;
|
||||
|
||||
if (!dialog_yesno("End of initial installation", msg,
|
||||
strheight(msg) + 4, strwidth(msg) + 4))
|
||||
if (!dialog_yesno("End of initial installation", msg, 15, 76))
|
||||
exec_sh = 0;
|
||||
end_dialog();
|
||||
dialog_active=0;
|
||||
|
@ -6,7 +6,7 @@
|
||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* $Id: utils.c,v 1.24 1994/11/05 23:09:26 ache Exp $
|
||||
* $Id: utils.c,v 1.25 1994/11/07 04:53:23 phk Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -93,6 +93,7 @@ TellEm(char *fmt, ...)
|
||||
write(debug_fd,p,strlen(p));
|
||||
write(debug_fd,">\n\r",3);
|
||||
dialog_clear();
|
||||
dialog_update();
|
||||
dialog_msgbox("Progress", p, strheight(p)+2, strwidth(p)+4, 0);
|
||||
free(p);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user