Commit Graph

251 Commits

Author SHA1 Message Date
jkh
0f1f223e21 Dispense with the special case handling of cuaa* devices by synthesizing
separate entries for sl0 and ppp0 on each device.
1996-06-12 17:09:34 +00:00
jkh
ac86617459 Some stuff I left out of the last commit - make toggle options toggle
again instead of simply letting you set them and staying that way forever.
1996-06-12 14:20:20 +00:00
jkh
1c7bdcf987 Fix a truly stupid bug which broke the package installation menu
for everything _but_ the multi-user case now (it was the opposite before :-).
That means adding packages with the 2.2-960511-SNAP boot floppy is busted. Feh.
1996-06-12 14:02:13 +00:00
jkh
51d1728214 Put in a strategic dialog_clear() to prevent screen corruption reported
by Joerg.
1996-06-11 13:07:57 +00:00
jkh
e207b15627 Change some verbiage slightly. 1996-06-11 10:16:53 +00:00
jkh
12eb8bd5bb A slight error in my logic had me using color text attributes on Hercules
monochrome displays.  Whoops!  Fix.
1996-06-11 09:47:30 +00:00
jkh
a6ed36e47a Misc doc cleanup. 1996-06-11 08:02:09 +00:00
jkh
8a37c97521 Implement selective text attributes for the syscons vty / vt100 emulator
selection since an attribute which looks good on a color console doesn't
necessarily look good in an xterm.
1996-06-08 09:08:51 +00:00
jkh
fdecebaa0a Put back some changes I inadvertantly spammed with a cvs update. 1996-06-08 08:01:52 +00:00
jkh
1d0b70fde3 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
jkh
994c6a9cb1 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
jkh
e1664a9920 Only look at command-line args if we're not running as init - duh!
Thanks, David.
1996-05-28 18:30:30 +00:00
bde
cd8bcb6083 Fixed oops in previous change. 1996-05-24 15:35:36 +00:00
bde
e76b8b78f2 Fixed SRCS so that `make depend' works. 1996-05-24 15:33:25 +00:00
jkh
11fb58e39c 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
jkh
f0650b170d 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
jkh
c930abb7de 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
jkh
a7e3c5bdcb 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
jkh
0a48a1418d 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
jkh
c2b754ad79 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
jkh
d92d5aec99 Clear the TCP/IP device configuration screen away after we invoke it. 1996-05-02 10:09:45 +00:00
jkh
40bd73b1b7 Fix the last known bogon with the packages menu. It's SNAP time! 1996-05-01 09:31:50 +00:00
jkh
8d98cdb41b Micro tweak for getting the Holographic shell message to stay on the
screen longer.
1996-05-01 03:31:08 +00:00
jkh
e1f1eb4547 properly reset SYSTEM_STATE after installCommit runs. 1996-04-30 06:02:51 +00:00
jkh
877388151a More cosmetic changes before tomorrow's snapshot. 1996-04-30 05:23:49 +00:00
jkh
3f106c67e7 Fix more display weirdnesses that only show up during a real installation. 1996-04-29 21:15:44 +00:00
jkh
75eff6ce68 Reshuffle the installation routines a little for greater clarify. 1996-04-29 19:34:25 +00:00
jkh
7d018bcad9 Yikes - bogon crept into the NFS setup menu. 1996-04-29 18:06:08 +00:00
jkh
9884b186fd Add some more debugging statements. 1996-04-29 06:47:10 +00:00
jkh
c095b66ef2 Fix some display bogons in the label editor. 1996-04-29 05:09:23 +00:00
jkh
653fe18598 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
jkh
e8a6aab937 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
jkh
fd7d53abb8 Fix an ancient index list bug.
Make FTP re-initializion work.
Fix fix fix.
1996-04-28 03:27:26 +00:00
jkh
a082b04410 Move some of functions around in order to make this stuff easier
to work on.
1996-04-28 01:07:27 +00:00
jkh
034f07f7c8 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
jkh
d55392a274 More misc menu hackery. 1996-04-27 07:04:12 +00:00
jkh
8c8f947c8c 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
jkh
488b4cacb8 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
jkh
a77c833943 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
jkh
7aaf24f77d 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
jkh
d1f2a99932 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
jkh
2f72deb93b 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
jkh
a6b8de91f1 Update paths to Taiwan sites. 1996-04-03 06:55:09 +00:00
jkh
b45c66d439 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
d3e8c9a3d9 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
jkh
cbf00ac64c The name of the lynx package has changed - update it. 1996-03-24 09:43:53 +00:00
jkh
693d6f1b59 Remove some rather useless debugging messages. 1996-03-24 09:36:41 +00:00
jkh
8d1705d646 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
jkh
f556792695 Make the editor a selectable option. Some people don't care for `ee'! 1996-03-23 07:21:31 +00:00
jkh
408ebf39ff 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
jkh
ec061e3a14 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
jkh
0cf1124f9a Accept DEL as a synonym for `delete' 1996-03-20 14:11:22 +00:00
bde
93dce99a57 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
jkh
e0131c02f6 Use proper path to hostname 1996-03-19 11:51:36 +00:00
jkh
cb7cb19d93 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
9ae7fa9c28 libdisk is now installed as a standard library. 1996-03-17 23:08:37 +00:00
jkh
8cc61a179b Keep explicit newfs parameters, just set them differently. 1996-03-02 20:02:13 +00:00
jkh
78cb40ca39 Let fragment size default to 1K again - 2K is a little extreme. 1996-03-02 20:00:50 +00:00
jkh
9f431d6ab7 Miscellaneous cleanup before big round of menu restructuring (to use new
libdialog features).
1996-03-02 07:31:58 +00:00
bde
51955e087e Depend on libdisk.a. 1996-02-25 20:41:07 +00:00
phk
9c098a3340 Remove netns and netiso, whatever it did here in the first place... 1996-02-10 09:33:52 +00:00
jkh
e826c2ffef Understand about the doc distribution. 1996-02-02 06:44:02 +00:00
joerg
264a0035be 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
538bbfe42e 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
phk
fdc6ec12cb Mount the disks we install on async, we might as well.
Saves a lot of time.
1996-01-14 21:48:57 +00:00
jkh
57baffd6ba Don't try to swap to a disk that isn't selected. 1996-01-14 11:45:05 +00:00
jkh
a578b98150 Bring my changes forward from 2.1 1995-12-11 16:32:33 +00:00
peter
ae9bf15783 Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
peter
1ce8793de0 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
rgrimes
8f6e1a9b69 Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
rgrimes
53a5a3530d Remove trailing whitespace. 1995-05-30 08:29:07 +00:00
jkh
97ce37614c Whoops! Fix things so that the root.flp also comes over NFS, not just
the distfiles.
1995-05-30 05:50:53 +00:00
jkh
c6e4cdb8de NFS installation was broken - try to fix it. 1995-05-30 05:13:24 +00:00
jkh
64c8bb8988 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
jkh
24b4b3e1a1 Add a bunch of missing help files. 1995-05-29 11:58:16 +00:00
jkh
9f23e6c1ac 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
phk
f14134077e Get help files form /stand/help.tgz 1995-05-29 02:13:31 +00:00
jkh
e5781b311c 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
jkh
82878f622d 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
jkh
9b7e645136 Add various missing seat belts. 1995-05-28 23:12:09 +00:00
jkh
fc5c1d7854 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
jkh
fc78c08f8a Try again to redirect the console back before rebooting. 1995-05-28 09:36:06 +00:00
jkh
a88817064a Sync up with Poul. 1995-05-28 09:31:44 +00:00
jkh
373fcb142d Humanize Poul-Henning's code. Status values should be properly
respected now.
1995-05-28 03:05:06 +00:00
jkh
f99cbf706f 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
phk
25f7f8f1f0 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
jkh
61db5691e8 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
jkh
571dad2a1a Put the console back on ttyv0 before rebooting. 1995-05-26 21:00:43 +00:00
jkh
45d0eaf320 Put out variable names in quotes. 1995-05-26 20:55:11 +00:00
jkh
bc2949ac3f Clean up the variable handling code a little.
Write /etc/hosts in the right place.
1995-05-26 20:45:20 +00:00
jkh
f962a25a6a 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
jkh
6d0e72ef25 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
jkh
feafd49ede 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
jkh
389cbf7225 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
jkh
2dfa89a840 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
jkh
b4c5e08049 Tighten up the TCP/IP dialog a little.
Simply install procedure a bit.
1995-05-26 08:58:35 +00:00
jkh
0fff0a0edc 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
jkh
4541ec77a6 Add CRC checking to sysinstall.
Submitted by:	gpalmer
1995-05-25 18:49:58 +00:00
jkh
05bf62f1d9 Bring in all my fixes to Poul's gripe list as of last night. 1995-05-25 18:48:33 +00:00
jkh
80ae92a3aa Cleanup. 1995-05-25 01:52:04 +00:00