Commit Graph

1389 Commits

Author SHA1 Message Date
jkh
02cc22b0d7 Don't use /mnt in multi-user mode if we're installing a new filesystem. 1997-02-18 04:36:16 +00:00
jkh
7a7c9adc10 Don't initialize homedir value. When called this early, pw(8) has no
reasonable data for it.
1997-02-18 01:50:51 +00:00
jkh
610227e367 Don't just unset FTP_PATH unilaterally, it might have been a timeout
in which case we should simply log in again.
1997-02-18 01:35:37 +00:00
jkh
b86ff6b75c Properly check status of menu return. 1997-02-17 22:08:19 +00:00
jkh
fe84f006ec Compensate for an underpopulated MFS. 1997-02-17 13:42:21 +00:00
jkh
7bb7d05a4a Finally DTRT with tcpOpenDialog(); it should have never diddled
mediaDevice directly.
1997-02-17 13:29:47 +00:00
jkh
661ac212f2 Always load DIST_COMPAT21 when loading X. This used to be the default
then it got taken out when the COMPAT21 distribution got dangerous.
Now that it's safe (we hope), it comes back.
1997-02-17 04:56:22 +00:00
jkh
d265da09b9 Don't nuke localtime and timezone files so aggressively now.
This is tzsetup's job (and only if you don't cancel out, which
is why having sysinstall remove them was so bogus).
1997-02-16 23:54:58 +00:00
jkh
c084122122 1. Always write out /etc/hosts.
2. Back out my change to ask about UTC/Localtime here.  This *really* needs
   to be done in tzsetup instead since putting it here only handles about
   1/4 of the places where it needs to be.
1997-02-16 23:35:05 +00:00
jkh
6110cab2f7 Replace bogus strncmp() with strcmp(). 1997-02-16 10:20:05 +00:00
jkh
3fbab2e565 Document setup.exe. 1997-02-16 00:54:58 +00:00
jkh
9d2ee4b31d Make configSysconfig() less chatty.
Now that this is becoming (dare I even say it?) more useful for
post-configuration, no longer leave sysinstall.debug files around
by default.  Only do this if environment variable SYSINSTALL_DEBUG
is set.
1997-02-15 15:40:37 +00:00
jkh
5d18469bfe Read /etc/resolv.conf information as well as /etc/sysconfig info, making
this a little more robust.
1997-02-15 15:24:14 +00:00
jkh
84e22cbeda Correct bogus msg dialog.
Update to Lynx 2.7 (need to build 2.1/2.2 versions of this package).
1997-02-15 13:18:19 +00:00
jkh
6645b2e63b Only add interface lines if they're not there already. 1997-02-15 12:24:02 +00:00
jkh
fa0d03af58 Add a safety belt to configSysconfig() that should have been in there
from the beginning.
1997-02-15 11:20:54 +00:00
jkh
ff9eddab67 Don't bogotify pkg_add's stderr. 1997-02-14 23:00:01 +00:00
jkh
3416697d23 Revert some of the previous change - on second thought... 1997-02-14 21:59:26 +00:00
jkh
adaca398f3 Add better quote elimination (and fix a bug). 1997-02-14 21:17:00 +00:00
jkh
f7c3801a0a o Try to be more aggressive about reading in old configuration data
so that we're more useful in multi-user mode.  This is still not
  100%, but it pulls in a lot more than it used to.  Some of the "composite"
  variables in /etc/sysconfig are going to take more work.

o Always write /etc/resolv.conf and /etc/hosts if it makes sense to do
  so.

o Reset media properly when reselecting.  Longstanding bogon.

o Pull SIGPIPE handling out of package.c; I'm actually hoping to handle
  this differently shortly.

o Fix bug where cancel in TCP setup dialog still checked data fields.
  I think this closes a PR, but I will have to go look.
1997-02-14 20:59:07 +00:00
jkh
1283f131c4 It's not an error to call configResolv() early. 1997-02-14 02:55:25 +00:00
jkh
a4a10aad26 Don't unilaterally decide to skip network configuration if running multi-user;
ask politely.
1997-02-11 02:33:33 +00:00
jkh
dbf801721c -#include <ufs/ufs/ufsmount.h>
This was a temporary measure I took to deal with John's 4.4L2 changes
which should not have crept in.
1997-02-11 02:13:06 +00:00
jkh
22eb43a7fd Save /etc/sysconfig data at the very very end, so that it can be
used post-install time as a configuration tool as well.

Update comments about a kernel recompile being necessary for PS/2 mice.
1997-02-10 19:44:08 +00:00
jkh
4a0add2181 Don't stomp wall_cmos_clock file. 1997-02-10 10:23:53 +00:00
jkh
73a96d8db8 Allow the user to choose UTC or local time. 1997-02-10 10:21:07 +00:00
jkh
9d1ab7bcd7 Update these docs in preparation for 2.1.7 1997-02-08 17:46:06 +00:00
jkh
dfb96779aa It's easier to go forwards than backwards with this, and the RELENG_2_1_0
sysinstall was already broken (I think there's a PR for this somewhere).
This will require some additional changes elsewhere, like bringing in pw.
1997-02-07 04:27:24 +00:00
jkh
4851ba9096 Reference addendum.html/ADDENDUM.TXT for posting security information after
release.
1997-02-07 02:25:43 +00:00
jkh
9cf7e8eddc 1. Sync ABOUT.TXT changes.
2. Go back to using a filesystem on the boot floppy; the rawboot boot blocks
   were just too non-functional for other things.
1997-02-05 04:29:53 +00:00
jkh
abbe0207b7 2.2 -> 3.0 1997-02-03 20:45:48 +00:00
jkh
2f2fc21b4c Institute a fairly major format overhaul. 1997-02-01 01:08:35 +00:00
jkh
9f3f50f5b7 Sync with RELENG_2_2 changes. 1997-01-30 06:38:19 +00:00
jkh
ba36da27a6 Allow user to delete as well as install packages from the package
installer menu.

Fix status line code so informationals show up properly again.
1997-01-29 22:35:05 +00:00
jkh
21bef29895 Cosmetic tweaks.
Also redirect stderr to Debug when running multiuser.
1997-01-29 21:45:30 +00:00
jkh
a7f7e7ef2a Fix broken layout help (this is what broke the TCP help screen).
Allow DITEM_NO_ECHO to be encoded in layout field types and make
user.c use it for the password item.
1997-01-29 21:16:07 +00:00
jkh
ea8298a30b Make media re-init a user choice. 1997-01-29 03:30:24 +00:00
jkh
fc077d6772 Do media initialization at correct time for upgrade too.
Update /stand.
1997-01-29 01:23:05 +00:00
jkh
7bfdb382a9 Update Russian FTP sites according to Mikhail A. Sokolov's current
configuration.
1997-01-29 01:13:27 +00:00
jkh
c5da6d5704 Death to another bad idea: Don't auto-mount CDROM on startup. 1997-01-29 00:14:17 +00:00
jkh
c755ab65b2 DTRT with a release string of "none" and use the correct (updated)
mountpoint name for fixit.
Submitted-By: joerg
1997-01-27 09:51:56 +00:00
jkh
e027af592c Add new Portugal mirror. 1997-01-27 00:16:15 +00:00
jkh
e58a95f38f Allow both types of XFree86 setup script to be run at user choice. 1997-01-24 20:20:12 +00:00
jkh
bb14af0d7e I need to learn to read man pages more closely. readlink() does NOT null
append the return string (bleah!) so you need to do it yourself.  This
explains why Bus and PS/2 meece weren't displayed in the Mouse selection
menu.
1997-01-24 19:31:53 +00:00
jkh
e83d4097d2 OK, I've got two ideas to file in the "really seemed like a good idea
at the time, but on further reflection..." bucket with these changes.

1. Checking the media before frobbing the disks was a fine idea, and
   I wish it could have worked, but that leads to a rather difficult
   situation when you need to mount the media someplace and you're about
   to:

	a) Chroot away from your present root.
	b) Newfs the root to be.

   You're basically screwed since there's no place to stick the mount
   point where it will be found following the newfs/chroot (and eliminating
   the chroot in favor of just using the "root bias" feature would work
   great for the distributions but not the pkg_add calls done by the
   package installer).

2. Automatic timeout handling.  I don't know why, but alarm() frequently
   returns no residual even when the alarm didn't go off, which defies
   the man page but hey, since when was that so unusual?  Take out timeouts
   but retain the code which temporarily replaces the SIGINT handler in
   favor of a more media-specific handler.  This way, at least, if it's hanging
   you can at least whap it.  I think the timeout code would have been losing
   over *really slow* links anyway, so it's probably best that it go.

This should fix NFS, tape & CDROM installs again (serves me right for getting
complacent and using just the FTP installs in my testing).
1997-01-24 19:24:51 +00:00
jkh
0fb36a0fa1 This is a patch that makes some of the "partitions" --> "slice" to be
more consistant in our use of the terms for differentiation between PC
partitions and traditional BSD partitions.

Submitted-By: obrien@cs.ucdavis.edu (David O'Brien)
1997-01-24 07:47:17 +00:00
jkh
4e685342a1 Update russian mirrors. 1997-01-24 07:03:15 +00:00
obrien
4c0717bbc3 Change from using chunk_n to slice_type_name().
Reviewed by:	jkh
1997-01-24 02:26:42 +00:00
obrien
3d2576def6 Adaptec AHA-1535 works fine with FBSD. It is basicly an ROM-less, PIO
Plug-n-Pray verison of the the AHA-1540.
1997-01-23 07:44:57 +00:00
jkh
c6cf5de664 *groan*. I broke tape extraction with the same optimization.
Fix that too.
1997-01-22 00:27:22 +00:00
jkh
8b6b5dddd6 Argh! Moving the media initialization to before the disk scribbling
section was a good thing, since it made it possible to detect media problems
*before* the installation started, but it also caused various things to
be mounted BEFORE the chroot() call, which definitely messes things up.

Fix this by detecting the pre-chroot() case and mounting into a subdir.
1997-01-22 00:15:51 +00:00
jkh
aaf59d3509 A couple of cosmetic tweaks to tape install method and fstab file format.
Submitted-By: Flemming Jacobsen <fj@schizo.dk.tfs.com>
1997-01-20 19:36:31 +00:00
jkh
3684223ce5 Rearrange the timeout code and also (whoops) provide for timeouts during
file opens, not just during file reads.
1997-01-20 19:26:44 +00:00
jkh
331b576478 Add extra variables for the configuration of all packages, not just
the lynx browser.

Submitted-By: David O'Brien <obrien@cs.ucdavis.edu>
1997-01-20 16:13:43 +00:00
jkh
8c0ccd5a59 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
06b73de8a6 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
f9405d2e22 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
5c3f382847 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
ae7bb907bb Be more aggressive about timeouts. 1997-01-17 19:00:38 +00:00
jkh
8b48e666e1 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
0b6933eac6 Add device entries and documentation for Intel EtherExpress Pro/10 driver. 1997-01-17 14:18:10 +00:00
jkh
5f482c5585 Whoops! Fix an infinite loop I lovingly introduced into this code
with a previous commit.
1997-01-17 14:05:37 +00:00
jkh
01e9b77ee3 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
59a1d5d7e1 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
ee019a53dc 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
a18558c73f Fix mishandling of extraction return status in commit. 1997-01-16 15:00:25 +00:00
jkh
d3874d585b Cope with Open_Disk() failure much more gracefully. 1997-01-16 14:42:21 +00:00
jkh
9b2f5644fc Damn! Forgot to update lynx also. 1997-01-16 10:51:53 +00:00
jkh
d1fef177d3 Minor cleanup, adjust for latest version of apache web server. 1997-01-16 10:48:00 +00:00
jkh
dbf1540bfd 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
b97f54ffc8 Use a better dialog for flagging field validation errors.
Pointed-Out-By: msmith
1997-01-16 09:45:35 +00:00
jkh
f989267461 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
6941c7383d Put upgraded files in their own directory - using the suffix was a bad idea. 1997-01-15 15:32:04 +00:00
jkh
3612927a32 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
0d050f9b7e Add some missing parameters to msgConfirm() which produced the effects
noted in PR#2454
1997-01-15 11:48:37 +00:00
jkh
388b2b9d43 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
e32b2bd532 Put this branch of docs back on the 3.0 SNAP track. 1997-01-15 07:50:37 +00:00
jkh
e276960680 Make upgrade allow reselection of failed media. 1997-01-15 07:28:25 +00:00
jkh
83826012b6 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
c99adcceb9 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
cd139127aa 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
df7f5e5282 Set defaults more rationally through the item selection loop. 1997-01-15 03:24:44 +00:00
jkh
ee7289c9d3 Accept emacs-style editing keys for traversal and ESC as an abort character. 1997-01-15 02:52:00 +00:00
jkh
821ec44bd6 Copy ABOUT.TXT properly to the CD also. 1997-01-14 14:48:16 +00:00
jkh
9c0cd3f9df 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
0ffb45966f 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
6f3298515b DTRT for the 2nd CDROM and cdrom.inf automatically. 1997-01-06 11:45:01 +00:00
jkh
8222ad864b Add extra tweak for -current compilation and some debugging. 1997-01-06 11:32:44 +00:00
jkh
cffde3367c 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
7fc1f10b9b 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
9122052b33 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
4029ae546c Adjust the maximum displayed length.
Submitted-By: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
1997-01-03 06:41:41 +00:00
jkh
d4d551420e 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
f6b1942fb9 Use the right dd conversion options for whacking on the sysinstall commands. 1997-01-02 10:29:40 +00:00
jkh
63c8c89e13 Add an install file to go with this new distribution. 1997-01-02 10:14:18 +00:00
jkh
305ee80f1e Attempt, once more, to speak english. 1997-01-02 07:37:29 +00:00
jkh
8ca9e9c6b9 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
08453d4c05 Close PR#2341 - 2.1 -> 2.2 1997-01-01 09:18:34 +00:00
jkh
e5848f8bd0 Make CHECKSUM.MD5 files automatically. 1997-01-01 03:16:34 +00:00
obrien
e91b25e913 Added the package catagories astro, chinese, mbone, and vietnamese;
along with applicable descriptions.
1996-12-31 14:37:06 +00:00
jkh
cc4c09455c argh!! I thought I stomped these two lines already.. :( 1996-12-30 05:35:33 +00:00
jkh
c8c8136758 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
2b0931d06d 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
0a75df26f3 Add a "catpages" distribution for the catman stuff.
Submitted-By: joerg
1996-12-29 05:28:41 +00:00
jkh
2f9474b427 Make sure sysinstall gets its obj directory made. This should close
PR#2308, but I need to test it.
1996-12-29 05:26:04 +00:00
mpp
a35c97fa95 Fix some spelling errors.
Jordan, I'll let you merge this into 2.2o that I don't
stomp on you.
1996-12-26 21:53:11 +00:00
joerg
133e979e05 Documentation update.
Remove a duplicate entry for ahc0 in hardware.hlp (closes PR #
docs/2282), a few additions all over the place while i was at it.

Tried to add as much of the important highlights for the new features
in 2.2 into the release notes.  I still think that many things are
missing here, so folks, if you imported something great that's in 2.2
but not in 2.1.X, please review this section and send us your
additions!

Submitted by:	seki@sysrap.cs.fujitsu.co.jp (for the ahc0 dup)
1996-12-26 21:24:00 +00:00
jkh
926adaf7e0 Clean up some calls to close(). 1996-12-26 21:03:04 +00:00
jkh
c5c0dc8ead Fix fixit floppy. 1996-12-26 03:32:50 +00:00
jkh
24cfa5a72e Bring these up-to-date with Peter's compat distribution changes. 1996-12-24 00:23:43 +00:00
peter
f1dee985eb Build the compat dists via the standard build with the rest of the tree
rather than as a special case.

Reviewed by:	jkh
1996-12-23 05:10:31 +00:00
nate
1114a6d172 Added comments on how to setup syscons to work on older ThinkPads. 1996-12-17 00:53:33 +00:00
jkh
c8bb48bc2e 1. Engage brain. 2. Write macro. Previous commit attempted to perform
2 before 1.
1996-12-17 00:00:15 +00:00
jkh
c6cabed314 make note of which /etc files need upgrading in installUpgrade rather
than asking the user to keep track of the list himself.
1996-12-15 18:14:37 +00:00
joerg
0d46694003 Increase the size of the vector that is allocated for execv(). Jordan
apparently forgot this when adding the password feature.
1996-12-15 11:22:37 +00:00
jkh
f8038e4188 Merge from 2.2 1996-12-14 23:14:39 +00:00
jkh
a4ac17074b Now that I've got my source tree sorted out, bring all the things
I've been committing into 2.2 directly all this time.
1996-12-14 23:09:10 +00:00
jkh
e77ae3faa5 Give this file a home also. No, I don't like it here either but
I don't want it in sysinstall/help, since that'll get it stuck on the
actual floppy, and I didn't fell like creating a doc/ subdirectory for
one file either.  Bah.
1996-12-14 22:45:42 +00:00
jkh
1e3e18b002 Bring this file in from the cold and update it to match new realities. 1996-12-14 22:42:19 +00:00
jkh
491bddd687 To use the dosio library fully, I also (duh!) have to retain full
use of stdio, I can't just go handing fileno(fp) around and expect
that to work.  Since this means I need to have sysinstall play pipeline
on single file distributions now, that means I can also finally add a
progress indicator for them.

Change installation instructions to note that there's no dists directory
anymore on CDROMs.
1996-12-14 22:23:37 +00:00
joerg
ce2567c3e7 Document the required procedure to install on an HP Netserver with
on-board EISA AIC7xxx controller, including a pointer to the
respective FAQ entry.
1996-12-14 18:08:46 +00:00
jkh
258473165e Fix some very minor cosmetic cruft I couldn't help tweaking when
I went over the code.

Add shortcuts for addUser and addGroup, documenting same.

Add a password field for adduser and use no-echo string field for it.
This requires my latest libdialog changes (in RELENG_2_2 or -current) to work.
1996-12-14 16:24:01 +00:00
jkh
27e602ac6c 700 now. :) 1996-12-12 23:12:44 +00:00
jkh
19defda102 Fix trunctation of domainname. 1996-12-12 22:44:22 +00:00
jkh
d11f308f20 Add some additional smarts for XFree86 configuration.
Fix a bogon I thought I fixed in the last commit.
1996-12-12 22:38:41 +00:00
jkh
3d436cd589 Update these docs to more closely reflect reality. 1996-12-12 20:03:35 +00:00
jkh
75483bfcf8 Allocate more inodes for general use now that we have the room. 1996-12-12 19:46:21 +00:00
jkh
8fc9024546 smart-alec error checking. 1996-12-12 16:55:37 +00:00
jkh
c857dedd5d Nuke extraneous section. 1996-12-12 11:12:42 +00:00
jkh
240653ee3c Whups, remove relic from close method going away. 1996-12-12 08:36:25 +00:00
jkh
8c82ecb894 Undo one of my memory optimization hacks - it actually made things more
complicated.
1996-12-12 08:33:38 +00:00
jkh
ca55f9e886 Fix some bogons in my close() handling. 1996-12-12 08:23:51 +00:00
jkh
f943d66526 Cosmetic tweaks, initialize a few variables, fix a reversed conditional. 1996-12-11 19:35:26 +00:00
jkh
99c8d13b04 Stomp the 4MB boot floppy and punt on 1.2MB floppy images. It's a battle
we're constantly losing and will concede for now.  Brilliant ideas
taken at the front desk.
1996-12-11 18:26:19 +00:00
jkh
0939ee3678 Be more efficient in how we use memory (stumbled across while looking for
something else) for attributes and variables.

Remove stack-stomper in sstrncpy().
1996-12-11 18:23:19 +00:00
jkh
6e600f75b1 Whoops, add -lftpio 1996-12-11 10:13:31 +00:00
jkh
c818c687e0 Do a few things I've been threatening to do for a long time:
1. Don't use the MSDOSFS code for accessing FreeBSD distribution data.
   Use Robert Nordier's stand-alone DOS I/O library for the purpose.
   It this works as well as Robert says it does, it should drastically reduce
   (or even eliminate) our "I can't install from my DOS partition!" calls.

2. As a result of the above, go to stdio file descriptors for all
   media types.

3. Taking advantage of #2, start using libftpio for FTP transfers instead
   of maintaining our own parallel version of the FTP transfer code.
   Yay!  I ripped something out for a change!

#1 Submitted-By: Robert Nordier <rnordier@iafrica.com>
1996-12-11 09:35:06 +00:00
joerg
d425a2c267 Update to benefit from David's recent changes to pw(8). The most
obvious effects are that most of the automagically chosen defaults
will now be displayed while going through the menu, and an improved
error handling thanks to the more detailed error status reporting.

2.2 fodder, but i'll leave it to Jordan's review.
1996-12-10 02:16:06 +00:00
jkh
b21abeca99 Set timeout interval to 0 in ppp so connections don't hang up while
we're doing something lengthy with the disk.
1996-12-09 15:16:36 +00:00
joerg
2590834e86 Slightly improve the wording of a ``not yet there'' message. 1996-12-09 14:08:26 +00:00
jkh
9cda130bd2 As Paul has just pointed out, much of my strncpy() usage was either
bogus or overly complex and really needed to be done more consistently
and sanely throughout - no question about it.  Done.

Suggested-By: Paul Traina <pst@Shockwave.COM>
1996-12-09 08:22:19 +00:00
jkh
c973571ba2 Whups, missed two strcpy()s. 1996-12-09 06:45:03 +00:00
jkh
39c60f53c4 Eliminate great evil in the networking code. That's all I'm gonna say. 1996-12-09 06:37:46 +00:00
jkh
c1ab8b2844 Add Joerg's user management screen for David Nugent's pw(8) program, something
which will also need to be brought in before this screen will work.

Add some commentary about how the slip startup code is bogus.

Steal Joerg's loop for more properly closing all files and graft it into
the EHS startup.  My loop was functional but more bogus.
1996-12-09 06:02:36 +00:00
joerg
58e6ff63de Another fixit improvement: add a lame script that pretends to be
tar(1), but actually uses cpio(1).  Many people are getting confused
about the lack of a tar on the fixit floppy, and simply don't know
that cpio can basically handle tar format fine (or they simply don't
know how to invoke cpio).
1996-12-08 18:21:30 +00:00
jkh
e267db8a6a Several areas of improvement:
o Incorporate some of Tatsumi's bug fixes.
	o Remove the xperimnt and commerce distribution items; they haven't
	  been actual distributions for awhile.
	o Try to sanitize the device checking code a little more.
	o Cosmetic work on the network code.
1996-12-08 12:27:58 +00:00
jkh
fce8e434f7 Don't run routed by default.
Virtually-Demanded-At-Gunpoint-By: joerg
1996-12-02 05:01:02 +00:00
joerg
9c3309bd05 Simplify the disklabel trickery, and thus avoid the dreaded
``Operation not supported by device''.

Requested by:	jkh
1996-12-01 17:19:29 +00:00
jkh
08fc5afcd9 Move configResolv() to *after* the chroot(). This is what was causing
NFS installation to fail the first time.  This will go into 2.2.
1996-12-01 12:27:36 +00:00
jkh
307833c5f1 Change boolean nature of "router" variable since it's not a boolean
anymore.
Noticed-By: joerg
1996-11-29 23:52:20 +00:00