Commit Graph

661 Commits

Author SHA1 Message Date
jkh
3612927a32 Register SLIP/PPP devices properly again.
Make the /etc resurrection more sensible for upgrade.  No longer
quite so annoying.
1997-01-15 13:39:50 +00:00
jkh
0d050f9b7e Add some missing parameters to msgConfirm() which produced the effects
noted in PR#2454
1997-01-15 11:48:37 +00:00
jkh
388b2b9d43 Don't call systemShutdown() from signal handler so that the media device
is closed.  The FTP library doesn't expect to be called recursively from
an interrupt. :)
1997-01-15 08:01:10 +00:00
jkh
e276960680 Make upgrade allow reselection of failed media. 1997-01-15 07:28:25 +00:00
jkh
83826012b6 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
c99adcceb9 Make the FTP installation codepath a lot more defensive. Trap
bogus path and FTP I/O errors much earlier, offer retry possibilities
at steps along the way so you don't have to resume from the very beginning
again on a hard error.
1997-01-15 06:30:50 +00:00
jkh
cd139127aa Fix several problems:
1. Bus mouse selection didn't show up properly in mouse menu.
2. U&G management screen didn't respect cancel properly.
3. Novice not prompted to add users or set root password during installation.
4. Username length changes screw up user management form.
1997-01-15 03:57:50 +00:00
jkh
df7f5e5282 Set defaults more rationally through the item selection loop. 1997-01-15 03:24:44 +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
0ffb45966f Add more protection when running as init and don't do stupid things.
Fix looping in fixit cdrom selection by adding a missing break.
Move unmount of cdrom down to proper place.
1997-01-12 11:13:43 +00:00
jkh
8222ad864b Add extra tweak for -current compilation and some debugging. 1997-01-06 11:32:44 +00:00
jkh
cffde3367c Do a better job of CDROM detection.
Use consistent spelling throughout.
Remove unmount in fixit_common() since that's bogus in the CDROM case and
properly "shut down" the media device instead.
1997-01-06 11:10:25 +00:00
jkh
7fc1f10b9b Clean up device handling WRT slip and ppp devices. An incomplete transition
from one convention to another had things pretty fouled up in here.
1997-01-04 13:29:10 +00:00
jkh
9122052b33 Add a few strategic screen clears in network setup.
Disable saving of SCSI device parameters in userconfig saving in hopes
of working around a reported problem in the no-device case; there's no
point in saving this information here anyway.

2nd patch submitted-by:  "Eric L. Hernes" <erich@lodgenet.com>
1997-01-04 12:36:39 +00:00
jkh
4029ae546c Adjust the maximum displayed length.
Submitted-By: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
1997-01-03 06:41:41 +00:00
jkh
d4d551420e Do something I've wanted to do for quite some time - collapse all the
common layout code into some work functions and make all the layout-using
routine adopt them.  Also reorganize includes and generally clean up.
1997-01-03 06:32:39 +00:00
jkh
8ca9e9c6b9 1. Correct bogon in cdromInit when running multi-user which took cdrom offline
if wrong version.
2. Make sure network device is initialized in ftpInit
3. Eliminate bogus size values in the menus.  For now, we'll have to admit
   that nobody's added it up yet.  In the future, these menus should be
   build dynamically anyway, not declared static.
4. Add more debugging to networking code to chase the mystery ppp device
   problem.
1997-01-01 12:36:09 +00:00
obrien
e91b25e913 Added the package catagories astro, chinese, mbone, and vietnamese;
along with applicable descriptions.
1996-12-31 14:37:06 +00:00
jkh
2b0931d06d Support the use of the 2nd CDROM as a fixit aid. Also put the EHS
into a submenu in case you need to start it again (or at some other point
in the installation).

Submitted-By: joerg
1996-12-29 05:51:40 +00:00
jkh
0a75df26f3 Add a "catpages" distribution for the catman stuff.
Submitted-By: joerg
1996-12-29 05:28:41 +00:00
mpp
a35c97fa95 Fix some spelling errors.
Jordan, I'll let you merge this into 2.2o that I don't
stomp on you.
1996-12-26 21:53:11 +00:00
jkh
926adaf7e0 Clean up some calls to close(). 1996-12-26 21:03:04 +00:00
jkh
c5c0dc8ead Fix fixit floppy. 1996-12-26 03:32:50 +00:00
jkh
c8bb48bc2e 1. Engage brain. 2. Write macro. Previous commit attempted to perform
2 before 1.
1996-12-17 00:00:15 +00:00
jkh
c6cabed314 make note of which /etc files need upgrading in installUpgrade rather
than asking the user to keep track of the list himself.
1996-12-15 18:14:37 +00:00
joerg
0d46694003 Increase the size of the vector that is allocated for execv(). Jordan
apparently forgot this when adding the password feature.
1996-12-15 11:22:37 +00:00
jkh
a4ac17074b Now that I've got my source tree sorted out, bring all the things
I've been committing into 2.2 directly all this time.
1996-12-14 23:09:10 +00:00
jkh
258473165e Fix some very minor cosmetic cruft I couldn't help tweaking when
I went over the code.

Add shortcuts for addUser and addGroup, documenting same.

Add a password field for adduser and use no-echo string field for it.
This requires my latest libdialog changes (in RELENG_2_2 or -current) to work.
1996-12-14 16:24:01 +00:00
jkh
27e602ac6c 700 now. :) 1996-12-12 23:12:44 +00:00
jkh
19defda102 Fix trunctation of domainname. 1996-12-12 22:44:22 +00:00
jkh
d11f308f20 Add some additional smarts for XFree86 configuration.
Fix a bogon I thought I fixed in the last commit.
1996-12-12 22:38:41 +00:00
jkh
3d436cd589 Update these docs to more closely reflect reality. 1996-12-12 20:03:35 +00:00
jkh
8fc9024546 smart-alec error checking. 1996-12-12 16:55:37 +00:00
jkh
240653ee3c Whups, remove relic from close method going away. 1996-12-12 08:36:25 +00:00
jkh
8c82ecb894 Undo one of my memory optimization hacks - it actually made things more
complicated.
1996-12-12 08:33:38 +00:00
jkh
ca55f9e886 Fix some bogons in my close() handling. 1996-12-12 08:23:51 +00:00
jkh
f943d66526 Cosmetic tweaks, initialize a few variables, fix a reversed conditional. 1996-12-11 19:35:26 +00:00
jkh
0939ee3678 Be more efficient in how we use memory (stumbled across while looking for
something else) for attributes and variables.

Remove stack-stomper in sstrncpy().
1996-12-11 18:23:19 +00:00
jkh
c818c687e0 Do a few things I've been threatening to do for a long time:
1. Don't use the MSDOSFS code for accessing FreeBSD distribution data.
   Use Robert Nordier's stand-alone DOS I/O library for the purpose.
   It this works as well as Robert says it does, it should drastically reduce
   (or even eliminate) our "I can't install from my DOS partition!" calls.

2. As a result of the above, go to stdio file descriptors for all
   media types.

3. Taking advantage of #2, start using libftpio for FTP transfers instead
   of maintaining our own parallel version of the FTP transfer code.
   Yay!  I ripped something out for a change!

#1 Submitted-By: Robert Nordier <rnordier@iafrica.com>
1996-12-11 09:35:06 +00:00
joerg
d425a2c267 Update to benefit from David's recent changes to pw(8). The most
obvious effects are that most of the automagically chosen defaults
will now be displayed while going through the menu, and an improved
error handling thanks to the more detailed error status reporting.

2.2 fodder, but i'll leave it to Jordan's review.
1996-12-10 02:16:06 +00:00
jkh
b21abeca99 Set timeout interval to 0 in ppp so connections don't hang up while
we're doing something lengthy with the disk.
1996-12-09 15:16:36 +00:00
joerg
2590834e86 Slightly improve the wording of a ``not yet there'' message. 1996-12-09 14:08:26 +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
c973571ba2 Whups, missed two strcpy()s. 1996-12-09 06:45:03 +00:00
jkh
39c60f53c4 Eliminate great evil in the networking code. That's all I'm gonna say. 1996-12-09 06:37:46 +00:00
jkh
c1ab8b2844 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
e267db8a6a Several areas of improvement:
o Incorporate some of Tatsumi's bug fixes.
	o Remove the xperimnt and commerce distribution items; they haven't
	  been actual distributions for awhile.
	o Try to sanitize the device checking code a little more.
	o Cosmetic work on the network code.
1996-12-08 12:27:58 +00:00
jkh
fce8e434f7 Don't run routed by default.
Virtually-Demanded-At-Gunpoint-By: joerg
1996-12-02 05:01:02 +00:00
jkh
08fc5afcd9 Move configResolv() to *after* the chroot(). This is what was causing
NFS installation to fail the first time.  This will go into 2.2.
1996-12-01 12:27:36 +00:00
jkh
307833c5f1 Change boolean nature of "router" variable since it's not a boolean
anymore.
Noticed-By: joerg
1996-11-29 23:52:20 +00:00
phk
246209119a Try to impreve DD mode.
Try to make 4Mb floppies work again.
1996-11-27 22:52:34 +00:00
jkh
1c0771ef67 Correct some typos relating to PC98 server selection.
Submitted-By: HOSOKAWA Tatsumi <hosokawa@mt.cs.keio.ac.jp>
1996-11-27 12:44:43 +00:00
joerg
8f48978b1a Open devices read-only to test whether they are available. This
allows to use write-protected tapes...
1996-11-27 01:01:52 +00:00
joerg
0c7d5a49b8 Provide a symlink for /bin/sh when the fixit floppy is mounted, so
scripts using #!/bin/sh (like /mnt2/dev/MAKEDEV) will work.

Observed by:	andreas
1996-11-16 22:42:13 +00:00
jkh
63adb29477 Add vx to list of devices. 1996-11-15 19:53:08 +00:00
jkh
ce2cf4c262 "over 600 packages" (geeze, this has been sitting uncommitted in my
source tree for 5 days! :-( ).
1996-11-14 05:46:22 +00:00
jkh
319b73936b Bring forward doc changes from 2.2. Much will need changing for 3.0,
which is where this is headed, but it's better than the 2.2-SNAP
docs.
1996-11-13 12:35:17 +00:00
jkh
3ca87c6afd Only save userconfig changes if the boot floppy version and the
installed version match.

Pointed-out-by: hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi)
1996-11-12 18:39:35 +00:00
jkh
7fbcbc6f26 Disgusting kludge to make depend rule work again in the fact of
Joerg's keymap.[ch] changes.  If there's a better way, I'd like to know.
1996-11-09 20:50:23 +00:00
jkh
4cd89c8b7f Whups, we need the VGA16 server by default too. 1996-11-09 19:47:24 +00:00
jkh
9611996fee 1. Saner ldconfig path.
2. Choose DIST_XF86_CFG in defaults; XF86Setup isn't happy otherwise.
1996-11-09 19:26:01 +00:00
jkh
1473d960a5 1. Take out console setup in options now that Joerg has moved it into
the main menu.
2. Conditionalized a few small things which needed it.
3. Put PC98 X servers in their own menu, there are so many of them now.
4. Rampaged on the menus.c file in general, reformatting and cleaning up.
1996-11-09 18:12:17 +00:00
joerg
02f6de2f97 Sysinstall now offers the installation of a keymap early in the game!
Not all mappings are supported, most languages come only with one
encoding since this should be sufficient to get up & running in using
sysinstall, and we are already pretty tight on space.  (My previous
commit has already bumped the boot MFS size by another 50 KB for
this.)

This feature requires the `kbdcontrol -L' i've just committed.  Plain
text keymaps and the entire scanner are overkill for sysinstall.

Also updated the list of available keymaps while i was at it.

Reviewed by:	jkh
1996-11-09 16:47:08 +00:00
joerg
84ad04f554 Several improvements to the `fixit' configuration:
. Don't gzip the crunched binary by now; it just fits, and execution is
  a lot faster this way (it's truly demand-paged again).

. Add more(1), ft(8), protocols(5), a stripped down services(5).

. Improve the .profile, and make sysinstall actually use it again.

Still no go for a 4 MB configuration though. :-(
1996-11-09 16:25:47 +00:00
joerg
35b3921b16 If mounting the fixit floppy fails in the first place, warn the user
but make a second attempt using MNT_FORCE, just in case it has been
unclean from a previous crash.  That's dangerous, but far better than
keeping the despaired user standing in the rain...

(Experienced admins can still fsck it then, and remount.  Others will
either totally crash, or incidentally succeed, without much further
help possible...)

Btw., mount(2) misses the description of MNT_FORCE for the mount
syscall.
1996-11-09 11:57:40 +00:00
jkh
fc3e83d979 1. Eliminate the sendmail.cw bogon again. Peter fixed it correctly.
2. Preload the ldconfig cache before calling X setup.
1996-11-08 05:38:27 +00:00
jkh
3c9be17335 More cosmetic tweaks, get the prefixes adjusted properly to XFree86 3.2's
new packaging scheme.
1996-11-07 18:30:59 +00:00
jkh
30a7887087 Make sure current_chunk is 0 each time we enter the editor. 1996-11-07 16:40:10 +00:00
jkh
7f80914a3e This warning is too annoying now. Kill it. 1996-11-07 16:34:12 +00:00
jkh
9b0e0433ec Install an evil work-around for /etc/sendmail.cw
[same as from 2.2]
1996-11-07 15:45:59 +00:00
jkh
bb2546f6aa Complete switch-over to XF86 3.2. 1996-11-07 15:35:48 +00:00
jkh
9ade810a3b Properly clear FTP site selection info when network init fails; the
site name may have been wrong, or need to be specified by IP.
1996-11-07 14:17:09 +00:00
jkh
b296a3317b Joerg's changes to add screen font and screenmap setting.
Some changes of my own to make screen saver configuration a little
more sane, and also make it easier to get to the keyboard/screen
setup from the options menu.
1996-11-07 08:03:29 +00:00
jkh
2ee0766db4 Update to XFree86 3.2 1996-11-06 19:15:30 +00:00
phk
dbf4804590 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
8ec7ab2370 Placate Joerg some more by making screen savers get a reasonable default
timeout.
2.2-RELEASE candidate, like all the work here in release/sysinstall.
1996-11-04 17:42:22 +00:00
jkh
30c64c4dbd Use macros for package names so it's easier to update them in one
place (sysinstall.h) when packages change rev.

Change the way that the routing daemon is configured entirely, to
placate Joerg.  Also auto-load gated if it's specified, while we're at it.
1996-11-04 12:56:33 +00:00
jkh
fe85a3cf8b Make it clearer that DNS has succeeded for your host choice. 1996-11-04 02:12:49 +00:00
jkh
8fa2045a31 Fix a bogus decent into the network setup screen when running
multi-user.

Don't clear media on dist failure - this was one of those "seemed like a good
idea at the time" sorts of features.
1996-11-02 19:50:32 +00:00
wosch
4c7a71a89e fix FAQ URL. Note for Jordan: don't merge this change into 2.1.6! 1996-10-23 22:28:56 +00:00
jkh
fb259d46c7 Don't casually blow away FTP site settings now that it's easy for user
to override them.
1996-10-14 21:50:38 +00:00
jkh
a5a5ea9bd9 Remove the now-unusable ports configuration code. Swapping CDs is bogus. 1996-10-14 21:32:39 +00:00
jkh
2512194daf Be less draconian about distribution extraction errors - still write
/etc file changes out.
1996-10-12 23:48:33 +00:00
erich
e8a73c7b79 Get the pysical address for id_maddr when opening an -incore kernel.
This fixes the kernel panic when propagating userconfig changes to
arbitrary kernels.

Remove obsoleted `#include <tcl.h>' added a few <stdio.h> where
necessary.

Fix getting scsi bus information from an -incore kernel.

Turned on SAVE_USERCONFIG by default.
1996-10-12 20:23:26 +00:00
jkh
141fc442c1 Some cosmetic tweaks, attempt to fix package wait problem by checking
for error return as well (not sure if this is it, but it's one possible
explanation).
1996-10-12 19:30:26 +00:00
jkh
65713f6627 Ahem. It might be nice if I included /usr/src/contrib in with the other
src dists.  This alone is a good reason to re-roll the SNAP before putting
it on CD.
1996-10-10 09:22:37 +00:00
jkh
2965c4906d DTRT if ESC is hit in a Yes/No dialog.
Noticed-by: jfieber
1996-10-09 09:53:41 +00:00
jkh
3f6f6cbee9 Sigh. There are still some weird boundry cases (argh!). Turn
off SAVE_USERCONFIG again until Eric comes back from his trip.
1996-10-06 16:31:12 +00:00
jkh
68f1e265e6 Detect the zero-chunks case properly, now that I've reversed the order
of the distribution probes over ftp.

Properly #ifdef the SAVE_USERCONFIG code.
1996-10-06 14:45:57 +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
8c7efc4c90 Turn SAVE_USERCONFIG on again - I found the bug. 1996-10-06 03:20:12 +00:00
jkh
a216538f30 Better PKG_TMPDIR handling. 1996-10-06 03:18:55 +00:00
jkh
c97fa147f1 Be more paranoid about clearing the FTP path when we have the slightest
reason to doubt its authenticity.
1996-10-06 02:10:54 +00:00
jkh
8583f8a2a2 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
jkh
f121795eba Wait for any stray processes we might be sent while running as init.
I have cautious hopes that this will fix the package installer zombie
accumulation problem.
1996-10-05 12:28:36 +00:00
jkh
3e10310dc8 Correct check for ensuring that the network configuration isn't fiddled with
when running multi-user.
1996-10-05 12:16:49 +00:00
jkh
82bceb1edc 1. Change device probing so that high speed network devices are found before
SLIP/PPP devices, putting them before the others in the network device
   selection menu.

2. Change "Other" to "URL" so as not to conflict with the keyboard accellerator
   for the "OK" button in FTP site selection menu.

3. Detect the NULL last symbol in the name list and initialize the other
   members correctly.
1996-10-05 11:56:50 +00:00
jkh
b4845cc65d 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
jkh
2351e3d2a2 Add stuff to CLEANFILES. 1996-10-05 06:04:03 +00:00
jkh
539695771a Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
jkh
a199716f90 Syncronize my tree so Eric can access the latest code. 1996-10-04 13:33:49 +00:00
jkh
83b8c855c7 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
jkh
685b859740 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
jkh
95a3d863aa Fix the "missing nameserver value" bug. Simplify some unnecessarily
crufty code, here and there.
1996-10-03 07:50:09 +00:00
jkh
2df3fb4408 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
3756f2f690 One small policy tweak to something I like better. 1996-10-02 10:44:31 +00:00
jkh
d7457a8968 More strategic screen clears(). 1996-10-02 10:32:28 +00:00
jkh
c6021119ac Fixes and a place-holder for future work. 1996-10-02 08:25:11 +00:00
jkh
a2280f0852 Catch a clear() I missed. 1996-10-02 02:19:35 +00:00
jkh
a95e669575 Don't annoyingly reconfigure the network when you don't have to. 1996-10-02 02:02:18 +00:00
jkh
1c9dc45051 More tweaks to FTP reselection code - allow "none" to stand for
"no specific release - use anything you can find"
1996-10-02 01:30:37 +00:00
jkh
e6cd3de485 Try to get the info file before the whole file - it eliminates
a gratuitous fetch attempt in most situations.
1996-10-02 00:52:38 +00:00
jkh
d8c3b41479 Make FTP site reselection work the way it always should have. 1996-10-02 00:41:40 +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
9e5972340b Saner screen refresh changes, part I. 1996-10-01 04:56:34 +00:00
jkh
e38dfc28b6 Correct a minor misspelling.
Noticed-by: der
1996-09-29 10:03:30 +00:00
pst
62d70d7bef Rate limit the "xxx bytes read from" message to a maximum of one per
chunk or one per second, whichever is less.  Outputting this message once every
couple of K was really crazy on a 9600bps serial console.
1996-09-26 22:12:07 +00:00
pst
c48d91002b If we're running through the FTP setup dialog the *first* time, skip
the FTP path if we've already configured one (this allows preconfigured ftp
servers).
1996-09-26 22:07:32 +00:00
pst
b8c760157a 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
pst
b67d08af4a If /install.cfg exists on the local floppy (or if LOAD_CONFIG_FILE is defined
and the user inserts a floppy), read the config file to pre-define variables
for a custom installation.

[Note: I fixed one bug in LOAD_CONFIG_FILE code, but it's still not perfect.]
1996-09-26 21:03:35 +00:00
jkh
4416080b40 Remove some gratutious screen saves. 1996-09-22 00:48:55 +00:00
jkh
fc55866b21 Don't call copySelf() when upgrading. 1996-09-18 18:40:37 +00:00
jkh
2b662b3cee Remove some bogosities I introduced with the init file hack (not serious,
just bogus).  Also turn off by default - whoops!
1996-09-15 23:55:23 +00:00
jkh
50de073cf3 Various minor improvements. 1996-09-08 01:39:25 +00:00
jkh
953635c797 Close a security hole in anonymous ftp setup.
Submitted-By: Jason Garman <garman@phs.k12.ar.us>
1996-09-06 05:58:27 +00:00
jkh
3d73a083a0 Simplify some dialogs on the basis of my changes to ui_objects.c in libdialog.
Also update copyright notices.
1996-09-01 08:17:14 +00:00
jkh
7fcc118cdf Conditionalize some annoying debug statements, update the docs. 1996-08-23 07:56:06 +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
a876e03162 Make the same fix to the disk partition editor screen. 1996-08-03 05:29:24 +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
a9d8f65f49 Whoops! VTYs return zero values for TIOCGSIZE! Work around this. 1996-08-01 13:47:03 +00:00
jkh
e4cfeaa689 Don't query DNS if we haven't got it configured. 1996-08-01 12:59:54 +00:00
jkh
9f283d4357 Handle SIGPIPE in a couple of crucial places. 1996-08-01 12:35:51 +00:00
jkh
435e6170fb Purely cosmetic tweaks. 1996-08-01 12:02:26 +00:00
jkh
f9a2c3997c Clean up the results from getch(). 1996-08-01 11:39:49 +00:00
jkh
7ddd073de8 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
66a0dca67a Add a required save/restore 1996-07-31 14:49:20 +00:00
jkh
1b3aa0186b Try again. 1996-07-31 10:55:19 +00:00
jkh
efa3bb0eb3 Don't munge keystrokes. 1996-07-31 09:29:35 +00:00
jkh
d345a443bf Prevent Geometry warning messages when the disk is already "dedicated" 1996-07-31 09:10:39 +00:00
jkh
704badacde More minor tweaks (that I'm trying to get into the SNAP). 1996-07-31 06:41:29 +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
13149cdb29 Fix some bogus argument handling - whups! James was right.. 1996-07-22 18:43:21 +00:00
jkh
0012923091 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
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
4857b4d048 Make CD version clash non-fatal. 1996-07-13 05:48:44 +00:00
jkh
d0e8e4a2c5 Back out my change for Peter which did transfer timings based on current
chunk rather than distribution - it's just caused the numbers to fluctuate
too wildly, sorry Peter! ;-(
1996-07-13 05:44:51 +00:00
jkh
c597f9dda1 Fix a bogon in the Novice mode CD auto-selection. 1996-07-13 05:13:25 +00:00
jkh
b26a3ad043 Fix EBUSY checking in devices.c - DTRT when it's detected on a CD. 1996-07-13 05:09:29 +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
f3f9c53d3c 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
jkh
942d376c96 Make the menu height calculation actually work.
Make a menu more self-explanatory at user request.
1996-07-11 18:37:48 +00:00
jkh
acab5c95a7 Better error checking in helpfile expander.
Tart up some of the output a little.
1996-07-10 11:38:29 +00:00
jkh
acb70e2259 Document new GENERIC 1996-07-10 09:41:18 +00:00
jkh
c8cb392655 Try to prevent the status line from jumping around quite so much. 1996-07-09 16:57:14 +00:00
jkh
26a30b6eb7 Take compat dists out of the canned set - they seem to do more harm
than good, actually, and those who actually need them can select them.
1996-07-09 16:29:00 +00:00
jkh
79e1062a56 Update docs to match. 1996-07-09 14:34:58 +00:00
jkh
74b3877fe8 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
jkh
68e945601d 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
jkh
a4edec8c4b Eradicate more lurking bogons. 1996-07-09 03:07:51 +00:00
jkh
128b48f041 Update the documentation here and there. 1996-07-08 12:00:47 +00:00
jkh
eeb3c0cadb Same tweak. 1996-07-08 11:07:08 +00:00
jkh
e3e653a00b Fix even more lurking bogons - why do I never find these until the last
possible minute? :-)
1996-07-08 10:08:22 +00:00
jkh
7315939135 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
5c7fe0a72a 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
6a22d90fda Update docs (more specifically to -current). 1996-07-05 01:24:41 +00:00
jkh
5513142d9c Fix some minor reported bogons from the BETA 1996-07-04 23:12:05 +00:00
jkh
61386f775a Untabify. 1996-07-02 10:59:26 +00:00
jkh
8c06ca329b Document shortcuts.
Fix a bug which prevented variables from working properly
1996-07-02 10:57:58 +00:00
jkh
e697fd9fd2 Add an extra /etc/hosts entry per advice of Joerg. 1996-07-02 09:12:34 +00:00
jkh
a953741c5d Make it plainer how to exit. 1996-07-02 01:03:55 +00:00
jkh
7426e4bbc8 Update the Lynx version number. 1996-06-29 03:49:39 +00:00
jkh
974442fb7c Put my changes back - Thanks, Peter! Boy, an errant Tag sure can mess
you up! :-)
1996-06-29 03:43:25 +00:00
jkh
d1c5935860 Sync with 2.1-stable (I commited my changes there first by mistake due to
an errant CVS tag file).
1996-06-29 02:53:09 +00:00
jkh
88fec0b679 Copy the documentation files up into the release area - I've been doing
this by hand all along.  Silly.
1996-06-29 02:22:48 +00:00
jkh
4ccbf5875d Add 3rd South Africa mirror. 1996-06-27 07:03:44 +00:00
jkh
84c4f7b320 Allow argv[0] to be a command also. 1996-06-26 09:09:30 +00:00
jkh
2487d76066 Make "Fake" turn off more potentially system-nuking options. 1996-06-25 18:41:10 +00:00
jkh
f76d01b1ee Handle tabs in INDEX files.
Display full, un-truncated version of description in status line.
1996-06-25 04:28:23 +00:00
jkh
8fbcaa4c6f ack - left in a typo. Time for bed! 1996-06-17 23:04:24 +00:00
jkh
0b3c4a0d76 Init network at proper time. 1996-06-17 21:48:33 +00:00
jkh
f00792c034 Whups! Slight adjustment. 1996-06-17 19:33:27 +00:00
jkh
7e84aac6fa Add more items to the glossary menu and reformat it slightly. 1996-06-17 19:31:34 +00:00
jkh
b38d21ac89 Add a top level function index. 1996-06-16 23:17:35 +00:00
jkh
cd9edbdbf9 Check network status earlier in FTP/NFS installs in order to reduce
user frustration.
1996-06-16 21:57:35 +00:00
jkh
63d719dc91 Change default user/group to ones that actually exist in default passwd
file.
1996-06-15 17:58:51 +00:00
jkh
a3c3b7ab11 Make the CDROM auto-detection code a little more flexible about accepting
old CDs.
1996-06-14 18:23:26 +00:00
jkh
0b4f57db09 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
jkh
4846cd0a6b Make the editor work again and we're done. 1996-06-13 17:36:28 +00:00
jkh
0b28a882bc Uh, this is what I was really thinking when I made the device registration
changes - honest! :-)
1996-06-13 17:07:41 +00:00
jkh
e6ea6cdfee Correct some embarassing 3am english. 1996-06-13 13:45:16 +00:00
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
941172abac handle a message box which can potentially go past 80 cols. 1996-06-12 07:03:44 +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