Commit Graph

67 Commits

Author SHA1 Message Date
jkh
0fb36a0fa1 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
jkh
ee7289c9d3 Accept emacs-style editing keys for traversal and ESC as an abort character. 1997-01-15 02:52:00 +00:00
jkh
9c0cd3f9df 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
jkh
9cda130bd2 As Paul has just pointed out, much of my strncpy() usage was either
bogus or overly complex and really needed to be done more consistently
and sanely throughout - no question about it.  Done.

Suggested-By: Paul Traina <pst@Shockwave.COM>
1996-12-09 08:22:19 +00:00
jkh
47b9da25b8 Correctly re-adjust current slice # when slices are deleted.
Beautify the code a little.
1996-10-06 11:40:31 +00:00
jkh
539695771a Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
jkh
a2280f0852 Catch a clear() I missed. 1996-10-02 02:19:35 +00:00
jkh
1e10a42711 Round 2.5 1996-10-01 14:08:28 +00:00
jkh
6fc0c31c3f Installation cleanup, round II. 1996-10-01 12:13:29 +00:00
jkh
a150f10760 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
64c179f3d4 Fix an embarassing bogon in the key input code. I'll roll another snap
boot floppy for this one..
1996-08-03 05:25:56 +00:00
jkh
f9a2c3997c Clean up the results from getch(). 1996-08-01 11:39:49 +00:00
jkh
efa3bb0eb3 Don't munge keystrokes. 1996-07-31 09:29:35 +00:00
jkh
8ea64a578d 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
00cbe91b26 Damn - looks like upgrade got broken along the way and it's not something
I usually test, so... :-(  Guess we'll have to slide the tag forward on
these two files - Peter, could you do the honors?  I've been up for the last
30 hours or so and I just *know* that any attempt on my part to do this would
probably end up deleting the entire repository somehow. :-)
1996-07-14 01:54:39 +00:00
jkh
225af85c05 Remove some suspect sector size calculations which are also the source
of some confusing messages from newfs (just judging by the number of people
who point them out, anyway).
1996-07-12 15:24:49 +00:00
jkh
a4edec8c4b Eradicate more lurking bogons. 1996-07-09 03:07:51 +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
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
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
fd7d53abb8 Fix an ancient index list bug.
Make FTP re-initializion work.
Fix fix fix.
1996-04-28 03:27:26 +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
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
0cf1124f9a Accept DEL as a synonym for `delete' 1996-03-20 14:11:22 +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
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
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
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
a88817064a Sync up with Poul. 1995-05-28 09:31:44 +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
05bf62f1d9 Bring in all my fixes to Poul's gripe list as of last night. 1995-05-25 18:48:33 +00:00
jkh
dd0a36ecae Put back some changes that were smashed in yesterday's release tree
shoot-down.
1995-05-25 01:22:20 +00:00
jkh
d9afdf923c Sync to latest ftp-capable sysinstall. We're getting there! 1995-05-24 09:00:58 +00:00
jkh
33555bf10f 1. Bring in the first cut of Poul's ftp routines. We still don't
use them yet, but it's close (we're working on the last wrinkles
   in the CD install for now).
2. Complete the CDROM installation strategy code.
3. Simplify the distribtuion loading code.
4. General error message cleanup.
5. Write the /etc/fstab file now and split those routines into config.c
6. Clean up the menus a little more.
1995-05-23 02:41:18 +00:00
jkh
d4f2aa46cd Implement most of the CD extract code.
Clean up a few last display bugs.
Add sanity checking that makes sure user creates root and swap partitions.
Add swap partitions with swapon().
1995-05-22 14:10:25 +00:00
jkh
12e3e0fbd5 Try AGAIN to get the disklabel editor to do the right thing.
This is getting ridiculous.  I may have to put the clear() back
and take the performance penalty, Poul.

Tweak the TCP/IP setup menu to look a little nicer.

Add lp0 to the list of available network devices (it was found before
but simply not described properly).
1995-05-21 18:24:34 +00:00
jkh
dfc509e32c Stick in another strategic clear(). 1995-05-21 17:53:27 +00:00
jkh
1bf61f41db 1. Start syncing up the network strategy code so that folks like Poul and
Justin can see it.

2. Attempt to fix the redisplay problems in label.c some more.  Not clearing
   the screen each time is certainly faster, but it's causing all sorts of
   problems.
1995-05-21 15:40:54 +00:00