Commit Graph

68 Commits

Author SHA1 Message Date
jkh
29d7f1c318 Fix some bogons in my close() handling. 1996-12-12 08:23:51 +00:00
jkh
85d529aa13 Cosmetic tweaks, initialize a few variables, fix a reversed conditional. 1996-12-11 19:35:26 +00:00
jkh
c493900657 Add Joerg's user management screen for David Nugent's pw(8) program, something
which will also need to be brought in before this screen will work.

Add some commentary about how the slip startup code is bogus.

Steal Joerg's loop for more properly closing all files and graft it into
the EHS startup.  My loop was functional but more bogus.
1996-12-09 06:02:36 +00:00
jkh
49e94fab07 Installation cleanup, round II. 1996-10-01 12:13:29 +00:00
jkh
117f14cc94 Saner screen refresh changes, part I. 1996-10-01 04:56:34 +00:00
pst
1093963d9f If we're unable to open /dev/ttyv0, assume that we're on a single tty system
and use /dev/console.

I really think the proper test is to determine which device has been configured
to be the console (remember the RB_SERIAL flag?) and use it instead of always
trying to open /dev/ttyv0 first.
1996-09-26 21:07:11 +00:00
jkh
af06a2d9e6 Close PR#1542. Don't just assume 24 lines, get the tty size.
Some things may still display text on the 24th line, but that's because
they've always been screens designed to fit into a minimal real-estate
and have hardwired assumptions about the dimensions.  They'll be a little
harder to make dynamic.
1996-08-01 10:58:54 +00:00
jkh
9e15f9a31f Better error checking in helpfile expander.
Tart up some of the output a little.
1996-07-10 11:38:29 +00:00
jkh
7e51f09a84 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
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
7560ec91cb 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
943934a187 Micro tweak for getting the Holographic shell message to stay on the
screen longer.
1996-05-01 03:31:08 +00:00
jkh
11cf91d4af Fix more display weirdnesses that only show up during a real installation. 1996-04-29 21:15:44 +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
757f0d4140 Move some of functions around in order to make this stuff easier
to work on.
1996-04-28 01:07:27 +00:00
jkh
63a39b133f 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
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
6d0196f036 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
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
jkh
ce1a5be689 Miscellaneous cleanup before big round of menu restructuring (to use new
libdialog features).
1996-03-02 07:31:58 +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
rgrimes
bb2ad2880b Remove trailing whitespace. 1995-05-30 08:29:07 +00:00
jkh
4bc5a2dda3 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
91f5f82dab Get help files form /stand/help.tgz 1995-05-29 02:13:31 +00:00
jkh
0fe7556fa5 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
06c34bfded Try again to redirect the console back before rebooting. 1995-05-28 09:36:06 +00:00
jkh
116eaef148 Put the console back on ttyv0 before rebooting. 1995-05-26 21:00:43 +00:00
jkh
9a596693ad 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
6b747bddcf 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
c9272a6f47 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
74cb22cc5c Bring in all my fixes to Poul's gripe list as of last night. 1995-05-25 18:48:33 +00:00
jkh
dde84f4e8d Cleanup. 1995-05-25 01:52:04 +00:00
jkh
4c64068729 Invoke the _right_ shell. Sigh. 1995-05-24 23:43:59 +00:00
jkh
fd2d2cc4c9 Whoops - that last feature I committed to put a diagnostic shell in
ttyv3 would work a lot better if I actually exec'd a shell! :-)
Reviewed by:
1995-05-24 23:36:50 +00:00
jkh
f12325f105 1. Spawn a shell on VTY4 and leave it lying around.
2. Bring in Gary's prompt stuff in extractGeneric.
3. Add another global for telling when we're running as init.
1995-05-24 22:37:44 +00:00
jkh
69df29fff8 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
phk
f97e95c7b0 label.c: wizard mode now returns;
disks.c: clrtobot() so that deleted stuff disappears.
disks.c: offset is signed (for OnTrack diskmanager)
system.c: don't setbuf(stdout,0), it's too slow.
1995-05-21 04:34:12 +00:00
phk
b5bcdbe42d Make newfs options work on rootfs.
Add size argument to new_part, so it can come up with a good default for newfs.
Fix (possibly) a dialog botch after label.c's wizard mode.
Make vsystem even smarter abour crunched binaries (what a speedup!)
(You need to recompile crunchgen !)
1995-05-21 01:56:03 +00:00
phk
1a410e1dc4 Now cpio works for me. (it was Mostly confusion about when the chroot
happened)
Make vsystem crunch aware in an intelligent fashion.
make the boot.flp target more specific (and faster).
1995-05-20 23:33:14 +00:00
gpalmer
3e05eefc05 #if 0 out PHK's code until we can find a way of making it crunchgen
dependant so that standalone builds aren't hosed.
1995-05-20 22:47:43 +00:00
phk
8874835086 Change vsystem to know that the shell is crunched in.
Sanitize a couple of messages.
1995-05-20 19:12:13 +00:00
jkh
d27bb5a137 Clear the screen on msgNotifys.
Don't notify in vsystem() - it obscures the original message.
Put some debugging code into cpio_extract() so that I can see
why it doesn't work now. :(
1995-05-20 13:24:35 +00:00
jkh
b00009a29a Totally re-work cpio_extract.
Erase the annoying "Command output is on debugging screen" message
when it's time to switch back.
1995-05-20 08:31:43 +00:00
jkh
d36493b3dc More assorted verbosity. Also don't log informational messages. 1995-05-19 21:30:35 +00:00
jkh
931587f969 1. Incorporate Nickolay's ammended patches for Russian screenmap support
as per Andrey's letter.  Make a few modifications for correctness.

2. Add Language menu back to first menu - it was too buried in the
   Options menu.

3. Add size information to all distributions.

4. Add a compat20 distribution (we need to make one of these!!  Any takers?  Please?)

Submitted by:	Nickolay N. Dudorov <nnd@gw.itfs.nsk.su> & jkh
1995-05-19 16:58:58 +00:00