Sigh. My error message printing was still wrong. Wipe the sleep from
my eyes and do this properly (debugging is especially difficult when you have to burn a floppy every time you want to test your changes! :-( ).
This commit is contained in:
parent
e294dc8a7c
commit
a0c7a3b3cf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4195
@ -44,7 +44,7 @@ void
|
||||
yelp(char *str)
|
||||
{
|
||||
standout();
|
||||
mvprintw(24, 0, "%s", str);
|
||||
mvprintw(24, 0, str);
|
||||
standend();
|
||||
beep();
|
||||
}
|
||||
@ -415,6 +415,7 @@ DiskLabel()
|
||||
struct disklabel *lbl, olbl;
|
||||
u_long cyl, hd, sec, tsec;
|
||||
u_long l1, l2, l3, l4;
|
||||
char *yip = NULL;
|
||||
|
||||
*buf = 0;
|
||||
i = AskEm(stdscr, "Enter number of disk to Disklabel> ", buf, 2);
|
||||
@ -430,13 +431,11 @@ DiskLabel()
|
||||
sec = lbl->d_nsectors;
|
||||
tsec = lbl->d_secperunit;
|
||||
while(!done) {
|
||||
char *yip = NULL;
|
||||
|
||||
clear(); standend();
|
||||
if (yip) {
|
||||
yelp(yip);
|
||||
yip = NULL;
|
||||
}
|
||||
clear(); standend();
|
||||
j = 0;
|
||||
mvprintw(j++, 0, "%s -- Diskspace editor -- DISKLABEL", TITLE);
|
||||
j++;
|
||||
|
@ -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.8 1994/11/05 07:23:58 jkh Exp $
|
||||
* $Id: stage5.c,v 1.9 1994/11/06 01:16:30 jkh Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -25,11 +25,11 @@
|
||||
#include "sysinstall.h"
|
||||
|
||||
static unsigned char msg[] = "
|
||||
You are now done with the initial phase of the installation, which
|
||||
You are now done with the initial phase of the installation that
|
||||
gets FreeBSD onto your hard disk. At this point, we need to go on
|
||||
to ftp, SLIP, DOS floppy, parallel port or carrier pigeon a bindist over
|
||||
so that your system is actually usable. Select Yes to proceed with this
|
||||
phase, or No to simply drop into a shell.";
|
||||
so that your system is actually usable. Select _Yes_ to proceed with this
|
||||
phase, or _No_ to simply drop into a shell.";
|
||||
|
||||
void
|
||||
stage5()
|
||||
|
Loading…
Reference in New Issue
Block a user