Commit Graph

1235 Commits

Author SHA1 Message Date
jkh
64f19380c2 Correct a real brain-o in my check for when a "fixup" should be run.
Don't recreate parent menus just for submenus - it's irritating.
1997-01-19 10:27:12 +00:00
jkh
1d0095968b Use alarm's return status to more properly denote timeout rather than keeping
an icky global around.
1997-01-19 09:55:37 +00:00
jkh
37838c93f6 Fix a variety of problems with my timeout handling, make it more
configurable (you can now set the timeout interval), fix a crash-bug
when no network device was attached.
1997-01-18 19:18:26 +00:00
jkh
870186b049 Implement compiled-in config file handling a little better - now
that there's no filesystem on the boot.flp image we need to prompt
for the configuration floppy.
1997-01-18 16:37:15 +00:00
jkh
48a07301bb Be more aggressive about timeouts. 1997-01-17 19:00:38 +00:00
jkh
36e3910a7d Add timeout support to sysinstall's general media handling,
allow SIGINT to stand for "time out now!" in certain cases.
1997-01-17 15:58:58 +00:00
jkh
451fe32691 Add device entries and documentation for Intel EtherExpress Pro/10 driver. 1997-01-17 14:18:10 +00:00
jkh
22c16683ef Whoops! Fix an infinite loop I lovingly introduced into this code
with a previous commit.
1997-01-17 14:05:37 +00:00
jkh
dc311d3ebe Pass LOAD_CONFIG_FILE variable through, if set (makes Paul Traina's life
easier).  Only run install.cfg if running as init.  It's something of
a security hole otherwise. :)
1997-01-17 10:57:26 +00:00
jkh
01b3e9a58b Now that I know which parts of the installation really need it (since
there's no menu display bug to work around now), be far more selective
in my use of DITEM_RECREATE (which is slow and involves much screen I/O).
1997-01-17 08:47:13 +00:00
alex
a3118e8c68 Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
jkh
21695ece5e Fix mishandling of extraction return status in commit. 1997-01-16 15:00:25 +00:00
jkh
433374c7cc Cope with Open_Disk() failure much more gracefully. 1997-01-16 14:42:21 +00:00
jkh
af224f8f64 Damn! Forgot to update lynx also. 1997-01-16 10:51:53 +00:00
jkh
c0bc9af071 Minor cleanup, adjust for latest version of apache web server. 1997-01-16 10:48:00 +00:00
jkh
b5a526ab91 Clean up a long-standing bug in the scripting code. You could set variables,
but you couldn't call functions!  Now you can do both.
Guard against whitespace pollution in variable names.
1997-01-16 10:24:09 +00:00
jkh
873447b1b5 Use a better dialog for flagging field validation errors.
Pointed-Out-By: msmith
1997-01-16 09:45:35 +00:00
jkh
0a608020ca Keep our serial ports distinct so that first device is not found for
all (closes PR#2296).
Print better FTP failure diagnostics
Do better media failure checking in install.
1997-01-15 16:21:10 +00:00
jkh
685ecfc427 Put upgraded files in their own directory - using the suffix was a bad idea. 1997-01-15 15:32:04 +00:00
jkh
0408df7ebc Register SLIP/PPP devices properly again.
Make the /etc resurrection more sensible for upgrade.  No longer
quite so annoying.
1997-01-15 13:39:50 +00:00
jkh
83ba4d6e86 Add some missing parameters to msgConfirm() which produced the effects
noted in PR#2454
1997-01-15 11:48:37 +00:00
jkh
605c80f6c5 Don't call systemShutdown() from signal handler so that the media device
is closed.  The FTP library doesn't expect to be called recursively from
an interrupt. :)
1997-01-15 08:01:10 +00:00
jkh
50acd3ec75 Put this branch of docs back on the 3.0 SNAP track. 1997-01-15 07:50:37 +00:00
jkh
733cd98f43 Make upgrade allow reselection of failed media. 1997-01-15 07:28:25 +00:00
jkh
870f49cf8f Make the bindist-only checks actually work.
Add code which theoretically should let you get a disk up from
start to finish while running multiuser, using your existing /dev
entries.
1997-01-15 07:06:39 +00:00
jkh
0a45d47c6d Make the FTP installation codepath a lot more defensive. Trap
bogus path and FTP I/O errors much earlier, offer retry possibilities
at steps along the way so you don't have to resume from the very beginning
again on a hard error.
1997-01-15 06:30:50 +00:00
jkh
e2cfd8f2e1 Fix several problems:
1. Bus mouse selection didn't show up properly in mouse menu.
2. U&G management screen didn't respect cancel properly.
3. Novice not prompted to add users or set root password during installation.
4. Username length changes screw up user management form.
1997-01-15 03:57:50 +00:00
jkh
abdf7664f7 Set defaults more rationally through the item selection loop. 1997-01-15 03:24:44 +00:00
jkh
b80b054378 Accept emacs-style editing keys for traversal and ESC as an abort character. 1997-01-15 02:52:00 +00:00
jkh
ecf2d1f054 Copy ABOUT.TXT properly to the CD also. 1997-01-14 14:48:16 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
jkh
6b8a0537c1 Add more protection when running as init and don't do stupid things.
Fix looping in fixit cdrom selection by adding a missing break.
Move unmount of cdrom down to proper place.
1997-01-12 11:13:43 +00:00
jkh
21ab39d2e4 DTRT for the 2nd CDROM and cdrom.inf automatically. 1997-01-06 11:45:01 +00:00
jkh
20caf365b1 Add extra tweak for -current compilation and some debugging. 1997-01-06 11:32:44 +00:00
jkh
273faad711 Do a better job of CDROM detection.
Use consistent spelling throughout.
Remove unmount in fixit_common() since that's bogus in the CDROM case and
properly "shut down" the media device instead.
1997-01-06 11:10:25 +00:00
jkh
4b75276df9 Clean up device handling WRT slip and ppp devices. An incomplete transition
from one convention to another had things pretty fouled up in here.
1997-01-04 13:29:10 +00:00
jkh
faf2f69879 Add a few strategic screen clears in network setup.
Disable saving of SCSI device parameters in userconfig saving in hopes
of working around a reported problem in the no-device case; there's no
point in saving this information here anyway.

2nd patch submitted-by:  "Eric L. Hernes" <erich@lodgenet.com>
1997-01-04 12:36:39 +00:00
jkh
f23ad310be Adjust the maximum displayed length.
Submitted-By: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
1997-01-03 06:41:41 +00:00
jkh
ea0a75ee12 Do something I've wanted to do for quite some time - collapse all the
common layout code into some work functions and make all the layout-using
routine adopt them.  Also reorganize includes and generally clean up.
1997-01-03 06:32:39 +00:00
jkh
a7feb61d49 Use the right dd conversion options for whacking on the sysinstall commands. 1997-01-02 10:29:40 +00:00
jkh
b0add1b7c9 Add an install file to go with this new distribution. 1997-01-02 10:14:18 +00:00
jkh
7174e698fd Attempt, once more, to speak english. 1997-01-02 07:37:29 +00:00
jkh
9df35f7f8d 1. Correct bogon in cdromInit when running multi-user which took cdrom offline
if wrong version.
2. Make sure network device is initialized in ftpInit
3. Eliminate bogus size values in the menus.  For now, we'll have to admit
   that nobody's added it up yet.  In the future, these menus should be
   build dynamically anyway, not declared static.
4. Add more debugging to networking code to chase the mystery ppp device
   problem.
1997-01-01 12:36:09 +00:00
jkh
d441076b40 Close PR#2341 - 2.1 -> 2.2 1997-01-01 09:18:34 +00:00
jkh
345204bf87 Make CHECKSUM.MD5 files automatically. 1997-01-01 03:16:34 +00:00
obrien
b633be6a43 Added the package catagories astro, chinese, mbone, and vietnamese;
along with applicable descriptions.
1996-12-31 14:37:06 +00:00
jkh
864897b364 argh!! I thought I stomped these two lines already.. :( 1996-12-30 05:35:33 +00:00
jkh
1d16d2e5a0 More properly call objlink target than use `obj OBJLINK=yes'; the latter
form seems broken these days anyway.
1996-12-30 02:57:33 +00:00
jkh
5e34d5b143 Support the use of the 2nd CDROM as a fixit aid. Also put the EHS
into a submenu in case you need to start it again (or at some other point
in the installation).

Submitted-By: joerg
1996-12-29 05:51:40 +00:00
jkh
9e30bacfe6 Add a "catpages" distribution for the catman stuff.
Submitted-By: joerg
1996-12-29 05:28:41 +00:00