Commit Graph

130 Commits

Author SHA1 Message Date
Jordan K. Hubbard
f5e8e60f1f Make the save_userconfig() stuff conditional and turned off by default
(for now - still a few more wrinkles here).  Add more debugging code
and some cosmetic tweaks.
1996-10-05 16:33:05 +00:00
Jordan K. Hubbard
d50a30076c Multiple changes stacked as one commit since they all depend on one another.
First, change sysinstall and the Makefile rules to not build the kernel
nlist directly into sysinstall now.  Instead, spit it out as an ascii
file in /stand and parse it from sysinstall later.  This solves the chicken-n-
egg problem of building sysinstall into the fsimage before BOOTMFS is built
and can have its symbols extracted.  Now we generate the symbol file in
release.8.

Second, add Poul-Henning's USERCONFIG_BOOT changes.  These have two
effects:

	1. Userconfig is always entered, rather than only after a -c
	   (don't scream yet, it's not as bad as it sounds).

	2. Userconfig reads a message string which can optionally be
	   written just past the boot blocks.  This string "preloads"
	   the userconfig input buffer and is parsed as user input.
	   If the first command is not "USERCONFIG", userconfig will
	   treat this as an implied "quit" (which is why you don't need
	   to scream - you never even know you went through userconfig
	   and back out again if you don't specifically ask for it),
	   otherwise it will read and execute the following commands
	   until a "quit" is seen or the end is reached, in which case
	   the normal userconfig command prompt will then be presented.

  How to create your own startup sequences, using any boot.flp image
from the next snap forward (not yet, but soon):

	% dd of=/dev/rfd0 seek=1 bs=512 count=1 conv=sync <<WAKKA_WAKKA_DOO
USERCONFIG
irq ed0 10
iomem ed0 0xcc000
disable ed1
quit
WAKKA_WAKKA_DOO


Third, add an intro screen to UserConfig so that users aren't just thrown
into this strange screen if userconfig is auto-launched.  The default
boot.flp startup sequence is now, in fact, this:

	USERCONFIG
	intro
	visual

(Since visual never returns, we don't need a following "quit").

Submitted-By: phk & jkh
1996-10-05 10:44:07 +00:00
Jordan K. Hubbard
48a13090be Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
Jordan K. Hubbard
46a7b8131d Syncronize my tree so Eric can access the latest code. 1996-10-04 13:33:49 +00:00
Jordan K. Hubbard
2705b229fc Temporarily disable userconfig saving until I figure out why uc_open()
loops internally for BOOTMFS (not being able to run gdb on sysinstall
when it's running as init is a real pain!).
1996-10-03 08:54:37 +00:00
Jordan K. Hubbard
7ae3b92f0d Check return values from uc_open() correctly. Note: This seems to work
really well when running the GENERIC kernel but not with the BOOTMFS kernel.
Further work is needed.
1996-10-03 08:17:16 +00:00
Jordan K. Hubbard
f4cd25007b First cut at a "copy userconfig changes from installation kernel to installed
kernel" mechanism.  This is just the foundation - more work follows
and will be committed over the next few hours.
Submitted-by: "Eric L. Hernes" <erich@lodgenet.com> & jkh
1996-10-03 06:01:44 +00:00
Jordan K. Hubbard
4bf9c8cd84 One small policy tweak to something I like better. 1996-10-02 10:44:31 +00:00
Jordan K. Hubbard
e3e0a7a433 Fixes and a place-holder for future work. 1996-10-02 08:25:11 +00:00
Jordan K. Hubbard
7972a1c191 Round 2.5 1996-10-01 14:08:28 +00:00
Jordan K. Hubbard
3e19bb8220 Saner screen refresh changes, part I. 1996-10-01 04:56:34 +00:00
Jordan K. Hubbard
36122d2d57 Correct a minor misspelling.
Noticed-by: der
1996-09-29 10:03:30 +00:00
Jordan K. Hubbard
96a9d7fb41 Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
1996-08-03 10:11:56 +00:00
Jordan K. Hubbard
e8ebf53742 Don't munge keystrokes. 1996-07-31 09:29:35 +00:00
Jordan K. Hubbard
e5034f83b0 Detect which partitions have already been created with `auto' so as not to create them
twice.

Various cosmetic tweaks.
1996-07-31 06:20:59 +00:00
Jordan K. Hubbard
94dfd13efe 1. Fix the CD installation bogon for Novice install I mentioned.
2. Add some code for dealing with a ports collection on the second CD now.
1996-07-16 17:11:45 +00:00
Jordan K. Hubbard
5cec7fa56a Fix a bogon in the Novice mode CD auto-selection. 1996-07-13 05:13:25 +00:00
Jordan K. Hubbard
10712e5198 Fix something I broke with CDROM installation (well, I knew my first
test CD would turn at least one bug up :-).
1996-07-12 11:14:15 +00:00
Jordan K. Hubbard
8658743f95 A number of improvements in the way statistics are printed, add a "chroot"
option for installing distributions and/or packages to somewhere other than /,
say for a case where you're installing to an external disk on some other
machine's behalf.  More miscellaneous fixes to various problems I stumbled
across while adding this stuff.
1996-07-09 14:28:22 +00:00
Jordan K. Hubbard
b03b2096b8 Don't freak out at the lack of root/swap/usr if we're running multiuser
and simply adding another disk.
1996-07-09 07:17:03 +00:00
Jordan K. Hubbard
de4342fa44 Fix even more lurking bogons - why do I never find these until the last
possible minute? :-)
1996-07-08 10:08:22 +00:00
Jordan K. Hubbard
cf1647cd2f Whoops! Now that I'm decompressing docs into /tmp, it's important to
make sure that /tmp is there first! :-)  While I'm at it, clean up the
somewhat inexplicably bogus Mkdir() function.
1996-07-08 08:54:36 +00:00
Jordan K. Hubbard
2dc1c61598 Support compressed doc files again.
Add a few strategic screen clears.
Do a lot less wasted screen I/O in restoring screen contents that don't need
restoring.
Use tar instead of cp to back up /etc in installUpdate.
Don't panic when upgrade shell exits.
1996-07-05 08:36:02 +00:00
Jordan K. Hubbard
b95fc60906 Fix some minor reported bogons from the BETA 1996-07-04 23:12:05 +00:00
Jordan K. Hubbard
fdc0e7826c Document shortcuts.
Fix a bug which prevented variables from working properly
1996-07-02 10:57:58 +00:00
Jordan K. Hubbard
3b307053cb Make it plainer how to exit. 1996-07-02 01:03:55 +00:00
Jordan K. Hubbard
66e36f2fac Update the Lynx version number. 1996-06-29 03:49:39 +00:00
Jordan K. Hubbard
48800325a6 Make "Fake" turn off more potentially system-nuking options. 1996-06-25 18:41:10 +00:00
Jordan K. Hubbard
bd71bd2513 Don't use some of the low-contrast text attributes I was using before - they
apparently look bad on some LCD screens.  While I'm in there, tweak and adjust
a number of other minor interface details which have been bothering me for
awhile.
1996-06-14 14:34:03 +00:00
Jordan K. Hubbard
16bf435eeb Make the editor work again and we're done. 1996-06-13 17:36:28 +00:00
Jordan K. Hubbard
061e2fb9a6 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
Jordan K. Hubbard
62c09b388a Change some verbiage slightly. 1996-06-11 10:16:53 +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
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
6ff0b3b86b Clear the TCP/IP device configuration screen away after we invoke it. 1996-05-02 10:09:45 +00:00
Jordan K. Hubbard
351ad0d904 properly reset SYSTEM_STATE after installCommit runs. 1996-04-30 06:02:51 +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
a9fa9c274b Reshuffle the installation routines a little for greater clarify. 1996-04-29 19:34:25 +00:00
Jordan K. Hubbard
1966645d08 Add some more debugging statements. 1996-04-29 06:47:10 +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
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
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