Commit Graph

46 Commits

Author SHA1 Message Date
ache
fa1378e14a Don't make too big windows, count actually text width/height 1994-10-31 04:49:15 +00:00
ache
e5495fccfc Change hardcoded 24x80 to LINES-1, COLS
Remove compiler warning
1994-10-31 04:07:43 +00:00
phk
d347dec742 Fixed another bunch of problems. I belive we are in a working shape now. 1994-10-29 12:03:59 +00:00
phk
4a46b8f736 Fixed to make sysinstall work again. Notable changes:
Removed a dialog_clear() which somebody aimlessly had slammed into TellEm()
in absence of any understanding of the structure of this program. :-(

Skip through stage0 for now.

Make write_bootblocks write the disklabel using the kernel-call, and forget
about the boot-blocks for now.  This is wrong, but I havn't found the real
problem yet.  I will continue work on this problem.

Added a Debug-feature.  There is a printf' like Debug() now which sends its
output to ttyv1 (Alt-F2), and all "discarded output" from sub-processes end
up there too.  Made TellEm() put it's messages there also, so that we can
see where what happens.

Set the PATH for the shell we shouldn't start at the end :-)

set "npartitions" after the disklabel-editor returns, so that we actually
can edit all the 8 parts of the label.
1994-10-29 10:01:40 +00:00
jkh
a0ede86cbf Totally refrobnicate stage0. Add an extern to sysinstall.h so we can
all share the same `selection' variable.
1994-10-28 15:19:57 +00:00
phk
f9c842861b Added two #defines to make this compile, until Paul gets out of bed again :-) 1994-10-28 03:02:47 +00:00
jkh
28e9fdadc2 Correct a little spelling. 1994-10-26 10:33:36 +00:00
paul
3d2409e7dd Clean up the mess from the previous commit which used a out of sync
patch file.

Now, we should be able to configure disklabels using the editor.
1994-10-26 07:34:38 +00:00
paul
6b1d934bd9 Added some glue code so disklabel editor can be used to edit disklabel
and have changes propagated to later stages.
1994-10-26 07:14:51 +00:00
phk
09aa3e2129 So there. Now we live on the hard-disk! 1994-10-26 05:41:02 +00:00
paul
efce06b340 Completed disklabel configuration editor. The editor is working but the
glue code to pass the edited configuration onto the following stages
isn't done yet.
1994-10-26 04:09:19 +00:00
phk
924ebf6a0f New and Improved! crunch with gzip, newfs, fsck and cpio. gzip result.
fits on 1200 kb floppy with unstripped GENERIC kernel.
1994-10-26 02:53:15 +00:00
ache
22dfeb1b9b Sync with termcap.src 1994-10-26 02:20:47 +00:00
ache
213ab506bc Sync with termcap.src 1994-10-26 01:20:11 +00:00
ache
ecdb89b811 Remove unneeded dialog_update() because now in dialog_clear() 1994-10-25 22:23:18 +00:00
ache
f7e78facbb Use configurable dialog attributes instead of hard-coded ones 1994-10-24 05:16:00 +00:00
ache
0cadb3ec80 label.c: add delwin(window)
mbr.c: use proper dims for newwin, add shadow
both: add ' ' and ESC as valid end-keys
1994-10-24 04:14:23 +00:00
ache
03c5dcf251 Use proper dims for newwin.
Remove double-clear.
Add shadow.
1994-10-24 04:07:22 +00:00
ache
cb02d55905 Clear screen on exit per Paul request 1994-10-24 03:55:25 +00:00
paul
218f10ceca Remove a couple of display_disklabel call used
for debuging.
Reviewed by:
Submitted by:
Obtained from:
1994-10-24 03:33:29 +00:00
paul
5b1ca0db77 Round partitions to the next whole cylinder.
Fill in devicename and mountpoint structures from default_disklabel()
so stage2 code knows what to do.
New file label.c for disklabel editing code.
1994-10-24 03:30:56 +00:00
ache
60e2b6706c Fatal() fixed:
end_dialog() called too early here.
1994-10-22 02:37:24 +00:00
ache
064eef20b0 Cosmetique: just fix tabs after patch of diff -cb (previous) 1994-10-22 02:35:09 +00:00
ache
af943c1b9d ExitSysinstall() fixed:
use dialog functions properly.
don't clear screen with last message on exit(0), I want to see it still.
relay on dialog_active properly.
1994-10-22 02:32:16 +00:00
paul
330240f03f Fixed a typo and moved a dialog_clear() line. 1994-10-21 18:26:25 +00:00
paul
dceb550f04 Fix all the bugs introduced by the source shuffle.
All the mbr code now seems to be working. We can build a basic
unix disklabel in any existing DOS partition while retaining the
existing mbr bootcode or we can install to the whole disk which
puts FreeBSD's boot code into the MBR and creates a clean MBR
partition table with FreeBSD in partition 0 taking up the whole disk.
1994-10-21 18:08:33 +00:00
phk
2cae2759f0 Now stage2 runs all the way.. 1994-10-21 05:36:43 +00:00
ache
cc6bf63427 Add hardcoded cons25-m entry for mono console, if termcap.small
not fit on installation floppy.
1994-10-21 04:48:51 +00:00
ache
d18ca621f2 Second time bugfix, please be carefully.
Use dialog functions in Fatal only if dialog_active, else
use fprintf(stderr, because it may be called before dialog
initialization
1994-10-21 04:43:07 +00:00
phk
d50bb0c33e Latest changes from me. Over to you Paul... 1994-10-21 02:14:54 +00:00
ache
bbd5ec8175 Remove ncurses.h, now included into dialog.h 1994-10-20 21:58:10 +00:00
ache
8400fa64f5 remove unneded includes
use dialog functions properly
move alloc_memory early to prevent core dump at stage 3
Change 25x80 to 24x80
Fix setenv diagnostic
Fix Fatal to call end_dialog()
1994-10-20 19:30:56 +00:00
phk
18ed6a9a03 Now stage 2 should do it's job I hope. Havn't tested yet. 1994-10-20 06:48:40 +00:00
phk
05562654b1 Just a safety measure for me and Paul. 1994-10-20 06:14:29 +00:00
phk
f252df1d03 Remake lost changes to sysinstall.h. Sorry Paul ! 1994-10-20 06:08:19 +00:00
phk
218c2e4b59 Integrate my code a lot more with Pauls. (I have left sysinstall.c
here, even though it isn't used in the Makefile for Paul not to have
an heart-attack when he wakes up. :-)

Way to go still...
1994-10-20 05:00:00 +00:00
phk
29f810393a The beginning of some structural changes, and the merge of my code into
Pauls.
1994-10-20 02:51:55 +00:00
phk
f57df841f7 Added a big comment about the general scheme of things during install... 1994-10-20 01:17:26 +00:00
paul
c5bd2be246 More code rearrangment, moved all mbr code into its own file
so it can be used by other programs.

Added all the necessary menus to take the user through the installation
of the bootblocks.
1994-10-19 23:58:03 +00:00
ache
16fdd49720 Fix several dialog/terminal problems.
Add code to autodetect terminal entry, if TERM undefined
1994-10-18 18:45:49 +00:00
paul
df999def42 Lates snapshot:
Re-organised files, moved bootcode routines into their own files.
Check return types of everything and pass error messages to
windows so we get good diagnostics.

Made start on stage 2 installation. Implemented a status file that
keeeps track of where we are in the installation process and allows
installation from media sequences.
1994-10-18 07:56:34 +00:00
paul
9b26b40e44 Fixed bug in exec code, cp -R now works.
Added code so sysinstall can run as init.
1994-10-17 07:13:13 +00:00
paul
b8c98a58c4 Remove a bogus BINDIR line 1994-10-16 06:17:03 +00:00
paul
aeed5a1361 Add DPADD for libraries. 1994-10-16 02:25:54 +00:00
paul
d0b9848e58 Add some missing libraries to LDADD 1994-10-16 00:04:42 +00:00
paul
581ec3e392 Work in progress. 1994-10-15 14:34:49 +00:00