460 Commits

Author SHA1 Message Date
ache
649677a5d9 Remove edit_line(), use line_edit() libdialog function instead in all places 1994-11-18 01:16:58 +00:00
ache
b70f1c641c Use dialog_clear_norefresh() if possible 1994-11-17 23:36:49 +00:00
ache
ba821de391 Use -1, -1 where is possible 1994-11-17 19:44:55 +00:00
jkh
850f1f5bb6 Rethink the cpio floppy verify a little. Don't use a magic cookie,
check for bininst instead (see comments in release/Makefile).
1994-11-17 14:18:43 +00:00
jkh
307863bc92 1. Add check to see if CPIO floppy extracted properly.
2. See if swapon() failed and at least print a diagnostic.
3. Use -1 instead of strheight()/strwidth() everywhere.

Reviewed by:
Submitted by:
Obtained from:
1994-11-17 14:12:38 +00:00
jkh
74b1e0b017 New man pages from Ugen. Delete my old, first attempt. I only hope
that the english in Ugen's two replacement pages is not too impenetrable! :-)
[Note:  Poul - please pull these into the BETA branch along with the
other firewall changes]

Submitted by:	ugen
1994-11-17 09:50:30 +00:00
gibbs
a28860212f Make newlfs work by adding the MAXSYMLINKLEN and a byte padding to
struct lfs.

sovs@diku.dk:
The pad2 field in struct lfs is a kludge. You
need it because the raw devices has to be written in DEV_BSIZE. The
lfs_maxsymlinklen is needed because the tells the UFS code that we
want to use 4.4BSD directory layout insted of FreeBSD 1.1.5.

Reviewed by: Justin Gibbs
Submitted by: sovs@diku.dk
1994-11-17 01:38:30 +00:00
ache
41021bcb13 Remove str{width,height} functions, they are in libdialog now.
It is only first hook for new autosizing changes, more changes
will follow.
1994-11-16 14:42:22 +00:00
jkh
a8e45e5f34 Latest from Ugen J.S.Antsilevich" <ugen@NetVision.net.il>. Poul, please
take this into BETA.
Submitted by:	ugen
1994-11-16 10:18:18 +00:00
ache
b268748ec9 Use autodetected dimensions in Sorry! window 1994-11-15 12:17:42 +00:00
ache
a7080ca0ef Use TellEm instead of dialog_msgbox 1994-11-15 12:15:51 +00:00
ache
75b7af8528 Check exit code of the dialer, from asa@gw.cronyx.msk.su
Set HUPCL as default modem flag, idea from asa@gw.cronyx.msk.su
but different implementation.
1994-11-14 20:17:36 +00:00
jkh
7b9ea7d743 I buggered the last commit. Make sysinstall work again (^$&*!! missing
comma!).
1994-11-13 04:20:23 +00:00
jkh
cde83c584f Whoops! Update the size of the main menu to 7 items. I'm sleepy. 1994-11-13 02:06:50 +00:00
jkh
67de5d8eaa Now I know what this message is really supposed to say.. :-) 1994-11-13 01:14:38 +00:00
jkh
0669d98a63 Add hooks for a short trouble shooting document. 1994-11-12 20:34:18 +00:00
phk
72f0a6c2c9 Don't continue if we don't get a /, swap and a /usr or 80Mb in /. 1994-11-12 05:40:28 +00:00
jkh
7d0620c826 Make sysinstall deal with user interrupts properly. 1994-11-11 23:22:56 +00:00
jkh
59151de821 1. Ask the user one final time before newfs'ing his disk into oblivion.
This means that even "proceed" can be chosen now without going
   irrevokably down that path.
2. Clean up the stage5 text.
1994-11-11 07:58:09 +00:00
jkh
ad3495c912 Poul's and my idea of avoiding the last reboot at the end was
too ambitious; we can't make the transiton from install to /sbin/init
without another reboot.  Sigh..  Oh well, not that big a deal.
1994-11-08 18:44:14 +00:00
jkh
f260055f86 Detect that bininst has finished and go straight into the new system.
Reviewed by: phk
1994-11-08 14:04:19 +00:00
phk
73ad652e88 swapon had a bug. Thanks Michael, but couldn't you told me and not Jordan ?
now I have to listen to him all morning teasing me...
1994-11-08 13:40:01 +00:00
jkh
504234844c More 12th hour fixes from Ugen.
Submitted by:	ugen
1994-11-08 12:48:02 +00:00
phk
f400f6fddf Remember to set the d_type field correctly 1994-11-08 11:51:44 +00:00
jkh
fa404ed611 Change TITLE to something more rational. Make sysinstall.c use it instead
of its own hardcoded constant.
1994-11-08 11:44:04 +00:00
phk
2678bc9274 Always say the magic word at the end. 1994-11-08 10:14:19 +00:00
jkh
2b933300e4 Change Fatals to Warnings. 1994-11-08 07:44:57 +00:00
jkh
f914144b3e Fixup:
1. Don't use kernel name for headers - I'm running 2.0.1-Development,
   not ALPHA, and this messes things up.
2. The last dialog was too big, make it a little smaller.  Just cosmetic,
   while I'm in here.
1994-11-08 03:41:52 +00:00
jkh
b3497d7fb9 My last cosmetic changes. 1994-11-07 13:48:54 +00:00
jkh
65d35f2a0a Cosmetic. 1994-11-07 09:49:06 +00:00
phk
b726489c35 Always clear before we "TellEm()" 1994-11-07 04:53:23 +00:00
phk
c63f9ab050 Only Mount relative to Written disklabel. 1994-11-07 00:41:38 +00:00
phk
2f6866bfb5 Never have more than one active partition. 1994-11-06 23:33:20 +00:00
ache
3cdc22268f After fixing curses bugs use LINExCOLS in show file 1994-11-06 15:35:50 +00:00
jkh
23fb6cd17d If a file is not present, it's not an error. This means you're using the
1.2MB floppy image.
1994-11-06 11:09:18 +00:00
phk
6f05c1e02d remember to tell dialog that we leave. 1994-11-06 04:34:46 +00:00
jkh
e1cdf7f90c Retreat from the idea of using gzip'd ascii files. 1994-11-06 04:10:13 +00:00
phk
3ae26fefe1 label.c Make sure we always show 8 disk-partitions.
main.c	sanitize the logic of what we do when:

if(getpid()!=1) do stage0 & stage1  (very useful actually)
else if (floppy-marker-file is there) stage0-2, reboot
else stage3-5
1994-11-06 04:05:45 +00:00
jkh
126cfc59f8 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! :-( ).
1994-11-06 02:24:45 +00:00
jkh
d8b995a391 Don't use a shell, silly, we don't have one! 1994-11-06 01:34:14 +00:00
jkh
d73066b385 Tweak tweak.. 1994-11-06 01:16:30 +00:00
jkh
469f514e6e I misunderstood dialog_prgbox() - fix it. 1994-11-05 23:56:40 +00:00
jkh
f61da25ffa Make ShowFile() now show gzip'd text files. This should save a fair
bit of space on the install floppy.  Modify stage0 and the target names
accordingly.
1994-11-05 23:12:10 +00:00
ache
4efdfe2270 Enable back dialog_msgbox in TellEm, real problem was delwin
into edit_line
1994-11-05 23:09:26 +00:00
jkh
bec8289edc Whoops! Knew I forgot something.. Bump the menu size. 1994-11-05 08:20:54 +00:00
jkh
57081f9150 Add a chance to read the release notes, too. 1994-11-05 08:20:08 +00:00
jkh
b17742d5b7 I'm not sure if we're just supposed to fall off the end like this,
but at least return something.
1994-11-05 07:34:02 +00:00
jkh
b8a61492cb Make stage5 go either to a shell, or on to the bindist installation. 1994-11-05 07:23:58 +00:00
jkh
ab0b408b2e Make this work the way it was really supposed to - less intrusively. 1994-11-05 07:03:55 +00:00
phk
a41a416d53 Use /DISKSPACE.FAQ as help-file in the disk-editor. 1994-11-05 06:03:06 +00:00