Commit Graph

79 Commits

Author SHA1 Message Date
jkh
59d748d531 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
obrien
c41a7f6369 Change from using chunk_n to slice_type_name().
Reviewed by:	jkh
1997-01-24 02:26:42 +00:00
jkh
01b3e9a58b 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
jkh
433374c7cc Cope with Open_Disk() failure much more gracefully. 1997-01-16 14:42:21 +00:00
jkh
870f49cf8f 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
b80b054378 Accept emacs-style editing keys for traversal and ESC as an abort character. 1997-01-15 02:52:00 +00:00
jkh
808a36ef65 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
phk
7a88ca4da6 Try to impreve DD mode.
Try to make 4Mb floppies work again.
1996-11-27 22:52:34 +00:00
jkh
e570bb4c0c Make sure current_chunk is 0 each time we enter the editor. 1996-11-07 16:40:10 +00:00
phk
044dd6aa9d Remove a bogon from version 1.69. Just because we say "use all disk"
doesn't mean that our geometry can be flushed down the drain.
1996-11-05 19:53:20 +00:00
jkh
b3eb03e7b2 DTRT if ESC is hit in a Yes/No dialog.
Noticed-by: jfieber
1996-10-09 09:53:41 +00:00
jkh
c2c9760ed5 Correctly re-adjust current slice # when slices are deleted.
Beautify the code a little.
1996-10-06 11:40:31 +00:00
jkh
aa98e00181 Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
jkh
177253487a Syncronize my tree so Eric can access the latest code. 1996-10-04 13:33:49 +00:00
jkh
24d72148ec 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
jkh
117f14cc94 Saner screen refresh changes, part I. 1996-10-01 04:56:34 +00:00
jkh
d5953cd2b2 Remove some gratutious screen saves. 1996-09-22 00:48:55 +00:00
jkh
ff8fc6b664 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
jkh
c13a841e41 Make the same fix to the disk partition editor screen. 1996-08-03 05:29:24 +00:00
jkh
6b01d10031 Clean up the results from getch(). 1996-08-01 11:39:49 +00:00
jkh
1ebf76b0c3 Add a required save/restore 1996-07-31 14:49:20 +00:00
jkh
244a31b11c Try again. 1996-07-31 10:55:19 +00:00
jkh
2a50131bb0 Don't munge keystrokes. 1996-07-31 09:29:35 +00:00
jkh
77aca7788a Prevent Geometry warning messages when the disk is already "dedicated" 1996-07-31 09:10:39 +00:00
jkh
7bb847443d 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
jkh
7cc36d0595 Eradicate more lurking bogons. 1996-07-09 03:07:51 +00:00
jkh
4c968f95bb 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
jkh
0b35a3052f Make it plainer how to exit. 1996-07-02 01:03:55 +00:00
jkh
c79c2d405d Make "Fake" turn off more potentially system-nuking options. 1996-06-25 18:41:10 +00:00
jkh
83aa0812ab Put in a strategic dialog_clear() to prevent screen corruption reported
by Joerg.
1996-06-11 13:07:57 +00:00
jkh
c75ddabf83 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
4faf24f33e Put back some changes I inadvertantly spammed with a cvs update. 1996-06-08 08:01:52 +00:00
jkh
0f600e3b36 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
9f5d8f5eb7 More cosmetic changes before tomorrow's snapshot. 1996-04-30 05:23:49 +00:00
jkh
1a4cbf6251 Add some more debugging statements. 1996-04-29 06:47:10 +00:00
jkh
590017a61c 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
bef4595dff Fix an ancient index list bug.
Make FTP re-initializion work.
Fix fix fix.
1996-04-28 03:27:26 +00:00
jkh
7a8e35fbab 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
553bed49c4 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
e665fee23a 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
2d5b4f754e 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
61af07d023 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
4a50302d19 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
1f98498d86 Accept DEL as a synonym for `delete' 1996-03-20 14:11:22 +00:00
jkh
6e8165c16a 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
694c3b89fa 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
jkh
c4908135ec Bring my changes forward from 2.1 1995-12-11 16:32:33 +00:00
peter
03382d7ccd Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
peter
89e0ab3dba 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
1b1ee55538 Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00