Commit Graph

457 Commits

Author SHA1 Message Date
Jordan K. Hubbard
58fa43d11f Merge changes from HEAD. 1996-06-08 07:15:55 +00:00
Jordan K. Hubbard
7b0a4c23a4 Make CDROMs automagically select as the default media type.
If you're running multi-user, check off items in the packages menu
based on whether or not they're actually installed.
1996-06-08 07:02:21 +00:00
Jordan K. Hubbard
8e2068180c Fix some minor formatting dreck. 1996-05-29 03:27:31 +00:00
Jordan K. Hubbard
b53e8a34e6 Sha-ZAM!
The root floppy is now gone.  I shall not mourn its passing.
Everything we need is on boot.flp or the bindist.
1996-05-29 01:35:33 +00:00
Jordan K. Hubbard
e738132001 Very small semantic change. 1996-05-28 23:31:20 +00:00
Jordan K. Hubbard
8a4078c35e Only look at command-line args if we're not running as init - duh!
Thanks, David.
1996-05-28 18:30:30 +00:00
Jordan K. Hubbard
02ba3f92c8 Catch and DTRT with SIGPIPE 1996-05-27 22:12:05 +00:00
Bruce Evans
cee931a411 Fixed oops in previous change. 1996-05-24 15:35:36 +00:00
Bruce Evans
f1f9c55bae Fixed SRCS so that `make depend' works. 1996-05-24 15:33:25 +00:00
Jordan K. Hubbard
2f833c17e4 Have both distribution and package extraction screens display the
transfer speed in KB/sec while fetching stuff; this gives you a better
idea if your link has crashed or is behaving oddly.
1996-05-23 16:34:30 +00:00
Jordan K. Hubbard
ce595c03fb Remove a particularly annoying confirmation dialog. 1996-05-21 15:57:21 +00:00
Jordan K. Hubbard
e160c5f148 Rethink the previous X distribution change. Including COMPAT_21 is just
bogus, and I think I'll simply see that the X distribtion is rebuilt for
-current before doing another snapshot for it. :-)
1996-05-16 13:39:08 +00:00
Jordan K. Hubbard
cdb7618ef9 Get X user and X developer distributions checked correctly again in menus.
Oh yeah, last commit also fixed (I hope) the /etc/sysinstall not being
written on Custom installation problem.
1996-05-16 13:30:24 +00:00
Jordan K. Hubbard
16185b823a Fix some long-standing malloc bugs in the package handling code (freeing garbage
in one place, leaking memory in another).

Add a facility to invoke subsystems directly by naming them on
sysinstall's command-line when running post-install.  A replacement
for pkg_manage might, for example, be `/stand/sysinstall configPackages'

Fix bogon where upgrade shell was entered with tty modes spammed.

Fix bug with release name checking in ftp_strat.  Turned a bunch of
bogus exit()s into proper calls to systemShutdown().
1996-05-16 11:47:46 +00:00
Jordan K. Hubbard
0502c52ac9 Some cosmetic changes:
Make "selection bar" inverse video white-on-blue on color screens to avoid
it getting muddled up with popup dialogs.

Do disk selection in a more friendly fashion (for one thing, allow a
drive to be de-selected again if you change your mind).

Add a few strategic screen-saves to prevent corruption of screen contents
(thanks, Michael Elbel!).
1996-05-09 09:42:17 +00:00
Jordan K. Hubbard
7458568265 Bring in some changes to make the FTP installation warn you if it can't
find the requested release on a given site.
1996-05-05 21:54:23 +00:00
Jordan K. Hubbard
6ff0b3b86b Clear the TCP/IP device configuration screen away after we invoke it. 1996-05-02 10:09:45 +00:00
Jordan K. Hubbard
4d1ff43651 Fix the last known bogon with the packages menu. It's SNAP time! 1996-05-01 09:31:50 +00:00
Jordan K. Hubbard
e4465ce377 If we've selected X, select the compat21 distribution as well. 1996-05-01 08:50:00 +00:00
Jordan K. Hubbard
56359f702d Add the compat21 dist. 1996-05-01 08:42:40 +00:00
Jordan K. Hubbard
7653020ceb Micro tweak for getting the Holographic shell message to stay on the
screen longer.
1996-05-01 03:31:08 +00:00
Jordan K. Hubbard
1fadece3ee Fix another couple of bogons with the package menu. 1996-04-30 21:22:29 +00:00
Jordan K. Hubbard
f848fa52b6 Add a missing close that left ftpd's scattered around on pkg_installs 1996-04-30 06:13:50 +00:00
Jordan K. Hubbard
351ad0d904 properly reset SYSTEM_STATE after installCommit runs. 1996-04-30 06:02:51 +00:00
Jordan K. Hubbard
7126da56c6 Fix some bogons in the package installer menu and search function. 1996-04-30 06:00:06 +00:00
Jordan K. Hubbard
478d4fc5da Make sure package-installers refresh the screen properly. 1996-04-30 05:40:15 +00:00
Jordan K. Hubbard
b8258c10b9 Clear the screen before putting up tcpip dialog. 1996-04-30 05:25:15 +00:00
Jordan K. Hubbard
378a8550b9 More cosmetic changes before tomorrow's snapshot. 1996-04-30 05:23:49 +00:00
Jordan K. Hubbard
ca49c63b8b Fix more display weirdnesses that only show up during a real installation. 1996-04-29 21:15:44 +00:00
Jordan K. Hubbard
872159b7ba Remove a bogus dialog_clear(); 1996-04-29 21:07:44 +00:00
Jordan K. Hubbard
a9fa9c274b Reshuffle the installation routines a little for greater clarify. 1996-04-29 19:34:25 +00:00
Jordan K. Hubbard
07c77d857a Yikes - bogon crept into the NFS setup menu. 1996-04-29 18:06:08 +00:00
Jordan K. Hubbard
2908ba6ad7 Fix a small display bogon with the progress indicators. 1996-04-29 17:59:07 +00:00
Jordan K. Hubbard
1966645d08 Add some more debugging statements. 1996-04-29 06:47:10 +00:00
Jordan K. Hubbard
1bfda8cb03 Fix some display bogons in the label editor. 1996-04-29 05:09:23 +00:00
Jordan K. Hubbard
ba034263ba Don't stop /etc/sysconfig if we're `faking'.
More asthetic adjustments to menus.
Improve both the display efficiency and usability of the label
screen - it's now possible to label quite a few disks in the label editor.
1996-04-28 22:54:21 +00:00
Jordan K. Hubbard
c97113d14f Add a new -fake argument to make sysinstall not actually change things while
I'm testing it.
1996-04-28 20:54:11 +00:00
Jordan K. Hubbard
89592e552b Fix an ancient index list bug.
Make FTP re-initializion work.
Fix fix fix.
1996-04-28 03:27:26 +00:00
Jordan K. Hubbard
3174386dd6 Move some of functions around in order to make this stuff easier
to work on.
1996-04-28 01:07:27 +00:00
Jordan K. Hubbard
ba67e870cb Bump snapshot release date - looks like I was off by a couple
of days!

More display fixes to sysinstall and assorted tweaking.
1996-04-28 00:37:38 +00:00
Jordan K. Hubbard
40c2e7eb17 Add a missing helpfile for fixit. 1996-04-27 07:18:59 +00:00
Jordan K. Hubbard
4db3e58bb2 More misc menu hackery. 1996-04-27 07:04:12 +00:00
Jordan K. Hubbard
c671b664f0 Update more docs to match -current reality. 1996-04-27 01:34:47 +00:00
Jordan K. Hubbard
35ee5f3e57 Fix display refresh bug in displayHelp()
Go back to Normal menus for Media and FTP menus rather than
radio menus - the difference in behavior is confusing and sort
of detracts from the added (small) advantage of seeing what you last
picked.
1996-04-26 18:19:38 +00:00
Jordan K. Hubbard
689aa5ca2b These docs were in fair need of updating. 1996-04-25 18:40:02 +00:00
Jordan K. Hubbard
a0b037c2c7 Add a place-holder message for the CDROM fixit feature (which I'm not going
to add in time for the next SNAP).
1996-04-25 18:00:28 +00:00
Jordan K. Hubbard
18b1c03d52 Quite a few changes:
1. Fix the last display bugs (I hope) by use of dialog rebuilds at stategic
   points.
2. Clean up the distributions menus so that everybody (that's reasonable)
   has All and Clear options for setting/clearing things en-masse.
3. Various attempts at display optimization.
4. Change the wording of the `Don't use Write!' dialogs to make them more
   explicitly define when and when not to use the option.
1996-04-25 17:31:27 +00:00
Jordan K. Hubbard
2113a60c4b Bring this into sync.
I still have a _very very annoying_ display bug which occurs when a menu
item causes a submenu to be displayed - the screen repaints for the original
menu (which is restored upon return from the submenu) are off by about 4
characters.  I've tried restoring the screen, the cursor position, you name
it - same deal.  Grrrr!  This commit is my first step in trying to get someone
else to help me look into this one since I'm just tearing my hair out at this
point!
1996-04-23 01:29:35 +00:00
Jordan K. Hubbard
af4cbec4e1 1. Update all the copyrights to delete useless clauses 3 and 4.
2. Change more of the menu code over to new system.
3. Streamline label editor.
1996-04-13 13:32:15 +00:00
Jordan K. Hubbard
957bdf511e Major surgery.
1. Use new dialog menu hacks (no strings, just arrays of dialogMenuItem structs)
   so that I can create composite menus with radio/checkbox/... items in them,
   removing some long-standing UI bogons in various menus.  This work isn't
   finished yet, but will be done in two phases.  This is phase one.

2. Remove all the script installation stuff.  I never got time to document it,
   it was arcane and it just complicated much of the code.  There are better
   ways of doing this if I want to do auto-driven installations later.

3. Remove much dead code and otherwise attempt to remove as much historical
   grot as possible so that this code is easier to hack on.  This is also
   a two-stage process, phase one of which is now complete.
1996-04-07 03:52:36 +00:00
Jordan K. Hubbard
b7cda8bf5b Update paths to Taiwan sites. 1996-04-03 06:55:09 +00:00
Jordan K. Hubbard
7188eb8c29 Add the jp.106 Japanese keymap to list of possibilities. I also see
a jp.106x keymap there, but Satoshi hasn't asked for it and I don't know
what it even is, so...
1996-03-30 16:19:40 +00:00
Joerg Wunsch
948aa2a132 Rename the usage of private' to private_data' to cope with the
recent libdisk changes.  (sysinstall is guilty of using `private' in
quite more places, but since this ain't in library code, it's not that
important.)

Whenever possible, better not use C++ reserved words...
1996-03-24 18:57:37 +00:00
Jordan K. Hubbard
a258bd3f12 Clean up the options screen a little bit by shortening it by one line
in the vertical axis.
1996-03-24 12:06:13 +00:00
Jordan K. Hubbard
057b98d13f The name of the lynx package has changed - update it. 1996-03-24 09:43:53 +00:00
Jordan K. Hubbard
d28a7b994c Remove some rather useless debugging messages. 1996-03-24 09:36:41 +00:00
Jordan K. Hubbard
7fcf7363be Whoops! I create the holographic shell too early now - move it after
the chroot.  Nice idea, just didn't work (caused shared execs to fail!).
1996-03-23 07:28:22 +00:00
Jordan K. Hubbard
f83d520da4 Make the editor a selectable option. Some people don't care for `ee'! 1996-03-23 07:21:31 +00:00
Jordan K. Hubbard
aea799602b Whoops! Total brain-fade on that last "optimization" for mounting
the CD (thanks to Mike O'Dell for finding it).  Fixed.
1996-03-21 17:20:31 +00:00
Jordan K. Hubbard
871ef591ef Major enhancements to the package adder (next step is to use the new dialog
functions to make the menus far less klunky, but one thing at a time).

Fix bug that had debug output spewing uselessly on vty2 when running multiuser.
1996-03-21 09:30:18 +00:00
Jordan K. Hubbard
715ec5c7b9 Sync the ftp site list with reality. Some day, this will be an algorithm
and not a menu.
1996-03-21 06:32:48 +00:00
Jordan K. Hubbard
1879e5afb7 Accept DEL as a synonym for `delete' 1996-03-20 14:11:22 +00:00
Bruce Evans
580ccec473 sysinstall/Makefile:
Fixed DPADD again.

mk/bsd.README
Don't list the LIBXXX identifiers here.  Describe them better.

mk/bsd.prog.mk
Updated the list of LIBXXX identifiers.
- recently added library libdisk.a wasn't mentioned (required for sysinstall)
- old objects kz*.o weren't mentioned
- old libraries libc_pic.a, libcom_err.a, libf2c.a, libg++.a, libgcc_pic.a,
  libgmp.a, libipx.a, libkeycap.a, libss.a and libxpg4.a weren't mentioned
- old libraries libgnumalloc.a and libftp.a no longer exist
- old library libmp.a was said to not exist
- deprecated links libfl.a and libln.a weren't mentioned
1996-03-19 14:30:15 +00:00
Jordan K. Hubbard
8cc7a57e5e Small tweaks to the presentation of this stuff. 1996-03-19 12:08:00 +00:00
Jordan K. Hubbard
6b6125cd50 Fix cpioVerbosity() botch when verbosity set very low. 1996-03-19 12:02:20 +00:00
Jordan K. Hubbard
439a0e811d Use proper path to hostname 1996-03-19 11:51:36 +00:00
Jordan K. Hubbard
40ae4689df Lots of fixes:
1. Revamp package installer to use new dependency lists and also
   pkg_add's new `read from stdin' mode to prevent a copy of the package
   from hitting the disk unnecessarily.

2. More fixes for running "not as init" - don't get upset if CDROM already
   mounted, do the right thing instead.

3. If running as init, assume first-time install and _don't show the
   (W)rite option in the fdisk screen.

4. Many other little tweaks, some of which will have to wait for fuller testing
   until I can create a boot floppy (testing certain system-destroying
   features of sysinstall can be a royal pain).  Expect some more commits.
1996-03-18 15:28:10 +00:00
Joerg Wunsch
3176ba80c8 libdisk is now installed as a standard library. 1996-03-17 23:08:37 +00:00
Jordan K. Hubbard
07a4082f5f Keep explicit newfs parameters, just set them differently. 1996-03-02 20:02:13 +00:00
Jordan K. Hubbard
5291323c07 Let fragment size default to 1K again - 2K is a little extreme. 1996-03-02 20:00:50 +00:00
Jordan K. Hubbard
e07e86d046 Miscellaneous cleanup before big round of menu restructuring (to use new
libdialog features).
1996-03-02 07:31:58 +00:00
Bruce Evans
53f6b617e1 Depend on libdisk.a. 1996-02-25 20:41:07 +00:00
Poul-Henning Kamp
c31fe65a20 Remove netns and netiso, whatever it did here in the first place... 1996-02-10 09:33:52 +00:00
Jordan K. Hubbard
15eb9fcea7 Understand about the doc distribution. 1996-02-02 06:44:02 +00:00
Joerg Wunsch
6161820279 Add the -u flag to the cpio's used to install the initial files, just
to make sure they will be overwritten even in cases where the've
bogusly got more recent timestamps.
1996-01-29 20:17:27 +00:00
Joerg Wunsch
74f1d2b4d5 Add an additional warning that a "dangerously dedicated" disk cannot have
a boot selector in sector 0.

Closes PR # conf/963: Using the...

Submitted by:	muir@idiom.com (David Muir Sharnoff)
1996-01-23 21:05:22 +00:00
Poul-Henning Kamp
e717f3d8e9 Mount the disks we install on async, we might as well.
Saves a lot of time.
1996-01-14 21:48:57 +00:00
Jordan K. Hubbard
3c3bc06e1c Don't try to swap to a disk that isn't selected. 1996-01-14 11:45:05 +00:00
Jordan K. Hubbard
3eaa341f6a Bring my changes forward from 2.1 1995-12-11 16:32:33 +00:00
Peter Wemm
40b0c0d936 Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
Jordan K. Hubbard
65e4d1b9b3 mountdbtab -> mountdtab; whoops!
A small extra diagnostic for loading packages.
1995-12-04 02:22:02 +00:00
Jordan K. Hubbard
07dae43c52 Warn the user extra special for /etc/sysconfig. 1995-11-17 14:17:12 +00:00
Jordan K. Hubbard
1c0aaa3778 More helpful error messages. 1995-11-12 20:47:15 +00:00
Jordan K. Hubbard
24bf38d797 Initialize ld.so.hints if necessary. 1995-11-12 11:02:43 +00:00
Jordan K. Hubbard
bfa80732bd Make editor start on right screen for anonFTP setup.
Don't clobber mediaDevice if post-configuring networking from CDROM.
1995-11-12 07:27:58 +00:00
Jordan K. Hubbard
5b5222d0c0 Add verbosity to add in tracking a mystery sig-11 with this.. 1995-11-11 11:56:40 +00:00
Jordan K. Hubbard
5ea15b92f1 Fix some missing parameters to the anon ftp setup area. 1995-11-11 11:49:22 +00:00
Jordan K. Hubbard
89a437bf6a Various cosmetic tweaks. 1995-11-11 10:59:23 +00:00
Jordan K. Hubbard
d8f51a5728 Write a quick help screen for this. Coranth seems to have an aversion
to writing help files.. :)
1995-11-11 10:51:07 +00:00
Jordan K. Hubbard
a9ae218af3 Also set PKG_PATH when adding from media types other than FTP. 1995-11-10 15:10:07 +00:00
Jordan K. Hubbard
cf01259085 Leave hints for pkg_add so that it can do dependency over FTP. This
was formerly impossible due to the way pkg_add was insulated from where
a package actually came from.
1995-11-10 06:49:03 +00:00
Jordan K. Hubbard
56d73bb085 Tweaks to anon ftp setup.
Submitted by:	coranth
1995-11-10 04:43:47 +00:00
Jordan K. Hubbard
4652247a48 o Now that Coranth has made the anonymous FTP configuration not use adduser,
bring it back.
o Simplify the vsystem() call by ripping out a good deal of the extraneous grot.
1995-11-09 02:32:05 +00:00
Jordan K. Hubbard
98617a9131 o Use correct device for Wangtek tapes.
o Caution against use of `W' options in label/partition screens (dangerous!)
o Make various types of debugging dreck conditionalize on DEBUG flag
o Make a fake /var/db/mountdbtab file so new system doesn't complain
o Apply uniform permissions to entire /usr/X11R6 tree.
o Set erase character to ^H for all interactive commands.
o Don't panic if user exits upgrade shell, reboot.
o Document dangers of `W' options in help screens also.
1995-11-08 07:09:36 +00:00
Jordan K. Hubbard
df1f3c7374 Fix a really stooopid bug that was clobbering the package menu.
Pointed-out-by:	ache
1995-11-06 22:26:28 +00:00
Jordan K. Hubbard
593ecf888e Some general fixes for the package menu (still need to fix the "more than 10
items checked bug though).  Now allow user to specify a PKG_TMPDIR.  If
not selected, we try to make one.
1995-11-06 12:49:27 +00:00
Jordan K. Hubbard
76fe20f0be Correct some *serious* brain-o's in the upgrade procedure. Thanks for
your patience, Julian!
1995-11-06 08:28:12 +00:00
Jordan K. Hubbard
cf17f935f1 Move MBR selection to write/quite stage of disk editor for a more logical
grouping.

Don't print geometry warning in "all disk" case.

Clean up some unnecessary newlines in confirmation messages.
1995-11-04 11:09:16 +00:00
Jordan K. Hubbard
79a8460110 Various tweaks to adjust things more to my liking. Also bring in Rich's
changes to update XFree86 to 3.1.2-S.
1995-11-04 08:47:33 +00:00
Jordan K. Hubbard
1babea36ca Lots-o-cleanup(tm):
1. Fix the bogon I introduced that made some root filesystems fail to be
   made with `unable to make filesystem on sd1s1a' or some such error
   message.

2. Latest installment in the never-ending chapter on making FTP do the right
   thing on a cruel internet.

3. Make `express install' a truly express install and split off what it used
   to do into a `novice install' that's even more geared to the novice
   by asking questions in order, rather than forcing them through the menu
   interface.

4. Make anonymous FTP setup truly DTRT.

5. Build lndir directly into sysinstall and make the novice install offer
   to set up the ports tree.  Also make the ports setup truly explanatory
   about what it's doing, and always link the ports destination to /usr/ports
   if necessary so that bsd.port.mk doesn't need to be tweaked.
1995-11-03 12:02:45 +00:00
Jordan K. Hubbard
8260a8caf0 Be more aggressive about writing out configuration files. 1995-10-27 03:59:38 +00:00
Jordan K. Hubbard
bc32adf3b0 Last minute nits. 1995-10-27 03:07:14 +00:00
Jordan K. Hubbard
fa31ce4fab Clean up some last bogons with the WEB server setup (now that I'm far
enough along to worry about such things!).
1995-10-27 02:12:58 +00:00
Jordan K. Hubbard
2f41233295 Fix the bug I introduced with /etc/sysconfig not being updated
properly.
Make some cosmetic doc changes here and there in response to user
feedback.
1995-10-27 01:22:58 +00:00
Jordan K. Hubbard
05bbe72676 Sync up for this snapshot. 1995-10-26 08:56:18 +00:00
Jordan K. Hubbard
4ea85d4592 o Fix installUpgrade to start the holographic shell as well.
o  Lots of documentation fixes.
o  Rename FTP active to "FTP" and explain passive mode better.
o  Make tcpip screen a bit more friendly.
o  Literally dozens of nits.
1995-10-26 08:11:24 +00:00
Jordan K. Hubbard
6094230b54 Make upgrades actually work (thanks, Julian).
Many other bug fixes.
1995-10-24 02:18:23 +00:00
Jordan K. Hubbard
f064a971a1 Reshuffle the network config code a little so that it's actually
usable.  Also fix the package extraction code.
1995-10-23 13:19:51 +00:00
Jordan K. Hubbard
9e08ad4bbe Don't use tar to add packages, use cpio in tar mode. Works better.
Make the apache setup try to load the package first..
1995-10-22 23:20:45 +00:00
Jordan K. Hubbard
0b518254c0 1. Add Coranth Gryphon's Apache WWW server setup screen.
2. Fix an infinite recursion bug in FTP retry.  Tricky, this FTP install!
3. Add messaging routines for scripts.
4. Fix yet more bogons.  I think I'm fixing them faster than they're growing,
   but it's hard to say.  I'm really glad we're throwing this code away for
   2.2!
1995-10-22 20:15:07 +00:00
Jordan K. Hubbard
61029f8291 Second round of screen update changes. Now handle the yes/no dialogs
as well as the confirmation dialogs.
1995-10-22 17:39:29 +00:00
Jordan K. Hubbard
b462d27c89 Style changes. Clear the screen before a lot of error dialogs so that they
don't bogusly restore the screen to the message that was the cause of the
abort.  That resulted in lots of weird flickering dialog boxes that appeared
to be displayed out of sequence.
1995-10-22 17:18:36 +00:00
Jordan K. Hubbard
c731441db2 Fix a bug in dist extraction when a dist was missing.
Allow instrumentation for adding packages from scripts.
1995-10-22 11:32:58 +00:00
Jordan K. Hubbard
2c4c63e4c9 Style police throughout.
Fix the ppp startup code.
Make the disklabel and fdisk screens "automatable"
1995-10-22 01:33:02 +00:00
Jordan K. Hubbard
a2df9ce22c Error message reform. Make an unnecessarily fatal error a warning. 1995-10-21 20:03:07 +00:00
Jordan K. Hubbard
2de56abd58 Fix a couple of things I broke while fixing them. 1995-10-21 16:44:24 +00:00
Jordan K. Hubbard
7dace4c581 1. Of course, the day after you roll the snapshots is the day you realize
that the FTP install doesn't deal with timeouts and hasn't since it was
   written.  Fixed.

2. Totally eliminate the OptionFlags.  I only had to work harder to
   sync them with configuration variables, so why not simply always use
   configuration variables?  This has actually greatly simplified areas
   of the code.
1995-10-21 14:07:02 +00:00
Jordan K. Hubbard
263f40b52b Change the pkg_info check back - it was correct before! 1995-10-20 22:36:06 +00:00
Jordan K. Hubbard
e266bc3386 Slip some fixes under the wire. Mostly cosmetic cleanup and
an attempt to make the package installer a little more robust (it's
still a little shakey, but will improve between now and the release)..
1995-10-20 20:10:49 +00:00
Jordan K. Hubbard
95d12914c4 Sync for Westhill build. 1995-10-20 14:26:15 +00:00
Jordan K. Hubbard
29dd7e5407 Fix fix. 1995-10-20 10:38:49 +00:00
Jordan K. Hubbard
2a190b59f2 More bug fixing, make debug settable two ways, put more meat into
the upgrade.
1995-10-20 10:01:26 +00:00
Jordan K. Hubbard
a4228a80e9 Finally split this off from system.c, as intended. 1995-10-20 07:03:40 +00:00
Jordan K. Hubbard
f9c6cb18e3 Too many bugs fixed to mention. This code just seems to BREED them.
Many interfaces were also simplified or generally cleaned up in an
attempt to curb this problem.
1995-10-20 07:02:53 +00:00
Jordan K. Hubbard
c2cb0dfbf0 Sync. 1995-10-19 18:37:50 +00:00
Jordan K. Hubbard
6430d4acf6 Drat! Forgot the adds.. 1995-10-19 16:15:43 +00:00
Jordan K. Hubbard
8ca961b3b4 Sync with today's sources:
o Implement the 2.0.5->2.1 upgrade procedure (gah).
o Bring in Coranth's support for configuration of anon ftp and Samba
  plus some changes of my own.
o More attempts to actually write the documentation in english.
o Update docs to contain more 2.1-centric information.
1995-10-19 15:57:23 +00:00
Jordan K. Hubbard
adfab64be5 Some rethinks on the way the attribute interface worked (now that
I'm really, truly using it).  Allow distribution fetch to get .info
files from the root.flp OR the distribution in question, allowing us
to add flexibility to the scheme.  At some point, perhaps soon, the
cached copy should probably go away entirely!
1995-10-18 05:02:02 +00:00
Jordan K. Hubbard
3b9d53b13a Almost snapshot time..
Merge today's work.

Now support an attributes file loaded at startup (true front-loaded install).
Add fuller debugging support to all device I/O routines.
Lots-o-bug fixes.
1995-10-18 00:12:55 +00:00
Jordan K. Hubbard
c8cd425122 Sync with me in prep for snapshot. 1995-10-17 02:57:11 +00:00
Jordan K. Hubbard
34fea4ae3c Sync to my current development srcs. I'm about to go off the air here for
awhile wwhile they work on my phone lines.
1995-10-16 23:02:35 +00:00
Jordan K. Hubbard
3cc7679dca Fix many more bogons, add some stuff to make the docs folk happy. 1995-10-16 15:14:28 +00:00
Jordan K. Hubbard
e998cbfd51 Switch to fds from FILE *'s. Fix a problem with FTP media device
and INDEX file.
1995-10-16 09:25:22 +00:00
Jordan K. Hubbard
884d2ca172 Sync up to today's development snapshot for the other folks working on this. 1995-10-16 07:31:11 +00:00
Jordan K. Hubbard
551cde2d52 Fix the selection routine. 1995-10-15 17:22:24 +00:00
Jordan K. Hubbard
e0e95a6911 Sync. Split into more rational package support functions and clients
of those functions.
1995-10-15 12:41:09 +00:00
Jordan K. Hubbard
5ebaccdf62 Substantially simplify the package install code by running pkg_add in
slave mode.
1995-10-15 04:37:07 +00:00
Jordan K. Hubbard
f1de0e9196 Sync up to today's cleanup work. 1995-10-14 19:13:35 +00:00
Jordan K. Hubbard
9447b0e107 Sync with my development sources, smashing an annoying bug and making
the options editor a little less pathological.
1995-10-14 09:30:53 +00:00
Jordan K. Hubbard
9d163c66d0 Fix a couple of doc or appearance nits.
Remove the ATAPI kernel hack.
Remove the now-unnecessary work-around for booting root off a slice; it
appears to work just fine now and will confuse a lot fewer folks.
1995-10-11 09:57:30 +00:00
Jordan K. Hubbard
8e693cb7b4 Tweak a message to be a bit more clear.
Declare missing fd.
Fix options bug where old text was still weird shades of blue when you came back.
1995-10-11 00:54:01 +00:00
Jordan K. Hubbard
3950ae8dce Syncronize with my current sources. pkg installer not quite in final
form yet, but close.
1995-10-09 11:14:56 +00:00
Jordan K. Hubbard
4db84b4d1e Whole mass of changes from first code review. Eliminate some
long-standing bogons, try to make things more fault tolerant
in general, bring in the first version of my new package installation
menu.
1995-10-07 11:55:37 +00:00
Jordan K. Hubbard
50f5714bab Properly repaint an option in reverse video after changing its value. 1995-10-06 11:14:43 +00:00
Jordan K. Hubbard
2139a13026 Make descriptions stand-out a bit more. 1995-10-06 08:47:40 +00:00
Jordan K. Hubbard
83bd9af30f General cleanup - sanitize use of variables.
Do more rational things in a number of other instances.
1995-10-04 12:08:27 +00:00
Jordan K. Hubbard
5b8015dad2 o Search much more aggressively for distributions in all extraction
methods.  This should make the process rather more robust in the face
  of entropy.
o Let tape cpio extract guess type of tape format.
o Hide cursor better in options screen.
1995-10-04 10:34:08 +00:00
Jordan K. Hubbard
9040e32d5e Make the release name to load a configurable parameter.
Don't gratuitously shutdown network after NFS or FTP install.
Centralize release version string to one location included by everyone.
Bring in new options screen.
1995-10-04 07:55:05 +00:00
Peter Wemm
5326bef3de This mega-commit brings in Jordan's latest sysinstall version..
This looks like it was developed offline, and is being spammed over the
top of the existing.  "That's fine by me!  I dont really care how you do
it, just get it in there..." said Jordan in a conversation a short while
ago...
1995-09-18 16:53:06 +00:00
Rodney W. Grimes
d3628763db Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
Rodney W. Grimes
e5370bd7fe Remove trailing whitespace. 1995-05-30 08:29:07 +00:00
Jordan K. Hubbard
a2f0036ac4 Whoops! Fix things so that the root.flp also comes over NFS, not just
the distfiles.
1995-05-30 05:50:53 +00:00
Jordan K. Hubbard
e34d8f08ab NFS installation was broken - try to fix it. 1995-05-30 05:13:24 +00:00
Jordan K. Hubbard
a0ea7d345e Some floating-point trickery to make the gauge come out right. Also
make it a little longer.
1995-05-29 14:38:31 +00:00
Jordan K. Hubbard
f11ff9b1cc 1. Fix a looping bogon in configFstab().
2. Fix the gauge.
3. Don't shut down the media device gratuitously after getting the root
   floppy - it saves work later.
1995-05-29 13:37:43 +00:00
Jordan K. Hubbard
62cdf450b8 A small tweak to layout. 1995-05-29 12:32:41 +00:00
Jordan K. Hubbard
f1a7e35683 Add a bunch of missing help files. 1995-05-29 11:58:16 +00:00
Jordan K. Hubbard
8fdde019ad Sync up my work for the night. This should implement ALL possible
installation methods and provide a fairly robust set of menu options.
This should also fix a few more bugs on Poul-Henning's latest gripe
list.
1995-05-29 11:01:42 +00:00
Poul-Henning Kamp
de42a94e4b Get help files form /stand/help.tgz 1995-05-29 02:13:31 +00:00
Jordan K. Hubbard
1f71f6055b Make the emergency holographic shell (on VTY4) actually work with job
control and signals and such.  Thanks, Gary!

Clean up some miscellaneous bogons for Poul.
1995-05-29 01:43:20 +00:00
Jordan K. Hubbard
fdb4b4b383 Shrink the boot floppy by removing all extraneous stuff. Also increase
number of inodes.

Fix various bugs reported by Poul.  Implement VTY switching.
1995-05-29 00:50:05 +00:00
Jordan K. Hubbard
15671a7ba8 Add various missing seat belts. 1995-05-28 23:12:09 +00:00
Jordan K. Hubbard
0d65268039 Fix bogon I introduced into dist extraction code last night.
Update to Poul's latest gripe list fixes.
1995-05-28 20:28:15 +00:00
Jordan K. Hubbard
34375f5af0 Remove a needless complication - parent directory already has a trailing /. 1995-05-28 09:43:36 +00:00
Jordan K. Hubbard
adc0fd37fc Try again to redirect the console back before rebooting. 1995-05-28 09:36:06 +00:00
Jordan K. Hubbard
87b9e01a01 Sync up with Poul. 1995-05-28 09:31:44 +00:00
Poul-Henning Kamp
e9f7e74946 cdrom.c: try "cdrom/%s" then "cdrom/dists/%s"
dist.c: fix an error message to make more sense.
1995-05-28 07:05:21 +00:00
Jordan K. Hubbard
337bd0b846 Humanize Poul-Henning's code. Status values should be properly
respected now.
1995-05-28 03:05:06 +00:00
Jordan K. Hubbard
ae71ab7fd4 1. Make this compile again after Poul's changes to the get() strategy
routine.

2. Improve the tcpip menu slightly.
1995-05-27 23:52:55 +00:00
Poul-Henning Kamp
25fce75ee4 Major cleanup. Mediaroutines now get asked about a file. All the
multi part stuff centralized.
The final check is backwards or something so it always said it failed,
even it it didn't.
Fixed tcpip address check to not be stupid, 10.0.255.1 is legal.
1995-05-27 23:39:35 +00:00
Jordan K. Hubbard
8e98d776c0 Commit parts of reorg that were diffs. Substantially re-engineer the
extraction and mediaGetFTP() handshaking to solve some unexpected complexities.
1995-05-27 10:47:44 +00:00
Jordan K. Hubbard
ba5d6a864b Things were getting seriously hard to find. Do a quick reorg pass over
the code and split things into more logical groupings.
1995-05-27 10:39:04 +00:00
Poul-Henning Kamp
3e28322bd6 Add a little more debugging to the lowlevel ftp stuff. 1995-05-27 06:19:59 +00:00
Jordan K. Hubbard
c7c644a181 Change XFree86 dist names to upper case again. 1995-05-26 22:22:20 +00:00
Jordan K. Hubbard
a2e871cc98 Netmask is unused now - we can delete it. 1995-05-26 22:08:59 +00:00
Jordan K. Hubbard
11033b2a7f Don't add the default route in ppp - we'll only add it again later. 1995-05-26 21:37:53 +00:00
Jordan K. Hubbard
c2192cfe88 Fix a few bogons. 1995-05-26 21:16:02 +00:00
Jordan K. Hubbard
24f0a9980d Put the console back on ttyv0 before rebooting. 1995-05-26 21:00:43 +00:00
Jordan K. Hubbard
fea7a60b7b Put out variable names in quotes. 1995-05-26 20:55:11 +00:00
Jordan K. Hubbard
395dda4194 Clean up the variable handling code a little.
Write /etc/hosts in the right place.
1995-05-26 20:45:20 +00:00
Jordan K. Hubbard
a7f54e2e75 Ask name of "other" ftp site in correct place.
Make TIOCCONS redirection for console messages work properly; we no longer
open /dev/console for all I/O - we use the VTYs directly.
1995-05-26 20:31:02 +00:00
Jordan K. Hubbard
2d7d54b2b4 Clean up the configuration stuff a bit more - we should now populate
/etc with good things(tm).

Fire off ppp with all the proper initial options set.
1995-05-26 19:28:06 +00:00
Jordan K. Hubbard
b9643b6695 This should fix the last of the ftp path problems.
It was all a bit more complex than it first looked.
1995-05-26 11:21:53 +00:00
Jordan K. Hubbard
dc38f8c8da This should enable use to find the info files properly over ftp. 1995-05-26 10:58:51 +00:00
Jordan K. Hubbard
f284246288 Swap args to deviceGet(). Whoops! 1995-05-26 10:34:44 +00:00
Jordan K. Hubbard
ad98a5f52b be nice and tell the user when the installation has completed successfully
so they don't just come back to a menu again 2 hours later with no idea
what happened with the operation(s) they had in progress.
1995-05-26 10:32:28 +00:00
Jordan K. Hubbard
5662f32138 Fix a bug in the /etc populating copy.
Change root.flp from a new format CPIO archive to a tar archive.
Unless we're willing to change the main tarballs from tar format to
"newc" (or, even better, "crc") cpio format, we need to use one common
one for all and that's tar for now.  Install will now grab "root floppy"
from an ftp site if that's what you've got set.

Fix even more gripes from Poul's list.

P.S.  As soon as I get the distfiles copied over to freefall tomorrow
morning, those of you wishing to test minimal installs over ftp should
be able to do so by grabbing the boot floppy and nothing else.  Keep
your eyes open for my announcement.
1995-05-26 10:20:47 +00:00
Jordan K. Hubbard
3c4d1d3edb Tighten up the TCP/IP dialog a little.
Simply install procedure a bit.
1995-05-26 08:58:35 +00:00
Jordan K. Hubbard
223705ba7e Totally revamp the TCP/IP dialog; now network selection makes a bit more sense.
Root floppy (which actually may be able to go completely away at some point
soon!) is now loadable from ftp/nfs/dos as well as CDROM and (of course)
floppy.

Fix more problems on Poul's Gripe List.
1995-05-26 08:41:52 +00:00
Jordan K. Hubbard
655f249eaa Add CRC checking to sysinstall.
Submitted by:	gpalmer
1995-05-25 18:49:58 +00:00
Jordan K. Hubbard
4537793804 Bring in all my fixes to Poul's gripe list as of last night. 1995-05-25 18:48:33 +00:00
Poul-Henning Kamp
32812b6ea5 media_strategy.c: Add explanation for URL.
ftp.c: Clean up debug, improve error handling.
1995-05-25 06:15:38 +00:00
Jordan K. Hubbard
a3028ab123 Cleanup. 1995-05-25 01:52:04 +00:00
Jordan K. Hubbard
903463ef42 Put back some changes that were smashed in yesterday's release tree
shoot-down.
1995-05-25 01:22:20 +00:00
Jordan K. Hubbard
34753e5aee Invoke the _right_ shell. Sigh. 1995-05-24 23:43:59 +00:00
Jordan K. Hubbard
795b392ce3 Whoops - that last feature I committed to put a diagnostic shell in
ttyv3 would work a lot better if I actually exec'd a shell! :-)
Reviewed by:
1995-05-24 23:36:50 +00:00
Jordan K. Hubbard
e336d945a8 1. Spawn a shell on VTY4 and leave it lying around.
2. Bring in Gary's prompt stuff in extractGeneric.
3. Add another global for telling when we're running as init.
1995-05-24 22:37:44 +00:00
Poul-Henning Kamp
eaca002785 Never commit before breakfast: A typo. Sorry Gary. 1995-05-24 19:31:26 +00:00
Jordan K. Hubbard
9576fbf44c Take out configSysconfig() until I get it written. 1995-05-24 18:52:47 +00:00
Poul-Henning Kamp
e7b2fe43e0 Close the transfer socket. 1995-05-24 18:35:10 +00:00