Commit Graph

309 Commits

Author SHA1 Message Date
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