summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/media.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Use alarm's return status to more properly denote timeout rather than keepingjkh1997-01-191-3/+2
| | | | an icky global around.
* Fix a variety of problems with my timeout handling, make it morejkh1997-01-181-17/+32
| | | | | configurable (you can now set the timeout interval), fix a crash-bug when no network device was attached.
* Be more aggressive about timeouts.jkh1997-01-171-2/+2
|
* Add timeout support to sysinstall's general media handling,jkh1997-01-171-0/+22
| | | | allow SIGINT to stand for "time out now!" in certain cases.
* Now that I know which parts of the installation really need it (sincejkh1997-01-171-11/+11
| | | | | 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).
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Do something I've wanted to do for quite some time - collapse all thejkh1997-01-031-5/+2
| | | | | common layout code into some work functions and make all the layout-using routine adopt them. Also reorganize includes and generally clean up.
* Now that I've got my source tree sorted out, bring all the thingsjkh1996-12-141-10/+44
| | | | I've been committing into 2.2 directly all this time.
* Whups, remove relic from close method going away.jkh1996-12-121-2/+1
|
* Do a few things I've been threatening to do for a long time:jkh1996-12-111-7/+5
| | | | | | | | | | | | | | | | 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>
* As Paul has just pointed out, much of my strncpy() usage was eitherjkh1996-12-091-3/+3
| | | | | | | 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>
* Properly clear FTP site selection info when network init fails; thejkh1996-11-071-1/+2
| | | | site name may have been wrong, or need to be specified by IP.
* Make it clearer that DNS has succeeded for your host choice.jkh1996-11-041-3/+6
|
* Fix a bogus decent into the network setup screen when runningjkh1996-11-021-3/+4
| | | | | | | 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.
* Don't casually blow away FTP site settings now that it's easy for userjkh1996-10-141-5/+4
| | | | to override them.
* Some cosmetic tweaks, attempt to fix package wait problem by checkingjkh1996-10-121-3/+7
| | | | | for error return as well (not sure if this is it, but it's one possible explanation).
* DTRT if ESC is hit in a Yes/No dialog.jkh1996-10-091-2/+2
| | | | Noticed-by: jfieber
* Be more paranoid about clearing the FTP path when we have the slightestjkh1996-10-061-3/+10
| | | | reason to doubt its authenticity.
* Fixes and a place-holder for future work.jkh1996-10-021-2/+2
|
* Don't annoyingly reconfigure the network when you don't have to.jkh1996-10-021-7/+16
|
* Make FTP site reselection work the way it always should have.jkh1996-10-021-18/+1
|
* Round 2.5jkh1996-10-011-8/+20
|
* Installation cleanup, round II.jkh1996-10-011-16/+23
|
* If we're running through the FTP setup dialog the *first* time, skippst1996-09-261-5/+11
| | | | | the FTP path if we've already configured one (this allows preconfigured ftp servers).
* Try to make screen update more efficient (less flickering) by morejkh1996-08-031-3/+3
| | | | judicious use of dialog_clear_norefresh().
* Don't query DNS if we haven't got it configured.jkh1996-08-011-12/+16
|
* Purely cosmetic tweaks.jkh1996-08-011-3/+3
|
* Update the documentation here and there.jkh1996-07-081-2/+2
|
* Same tweak.jkh1996-07-081-1/+2
|
* Fix even more lurking bogons - why do I never find these until the lastjkh1996-07-081-22/+2
| | | | possible minute? :-)
* Whoops! Now that I'm decompressing docs into /tmp, it's important tojkh1996-07-081-3/+3
| | | | | make sure that /tmp is there first! :-) While I'm at it, clean up the somewhat inexplicably bogus Mkdir() function.
* Support compressed doc files again.jkh1996-07-051-18/+18
| | | | | | | | 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.
* Make it plainer how to exit.jkh1996-07-021-7/+7
|
* Handle tabs in INDEX files.jkh1996-06-251-1/+2
| | | | Display full, un-truncated version of description in status line.
* ack - left in a typo. Time for bed!jkh1996-06-171-2/+2
|
* Init network at proper time.jkh1996-06-171-2/+12
|
* Check network status earlier in FTP/NFS installs in order to reducejkh1996-06-161-4/+46
| | | | user frustration.
* Make CDROMs automagically select as the default media type.jkh1996-06-081-6/+7
| | | | | If you're running multi-user, check off items in the packages menu based on whether or not they're actually installed.
* Fix an ancient index list bug.jkh1996-04-281-14/+24
| | | | | Make FTP re-initializion work. Fix fix fix.
* Move some of functions around in order to make this stuff easierjkh1996-04-281-4/+9
| | | | to work on.
* Bump snapshot release date - looks like I was off by a couplejkh1996-04-281-5/+5
| | | | | | of days! More display fixes to sysinstall and assorted tweaking.
* Fix display refresh bug in displayHelp()jkh1996-04-261-5/+6
| | | | | | | 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.
* Quite a few changes:jkh1996-04-251-17/+17
| | | | | | | | | | 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.
* Bring this into sync.jkh1996-04-231-30/+11
| | | | | | | | | | 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!
* 1. Update all the copyrights to delete useless clauses 3 and 4.jkh1996-04-131-59/+47
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Major surgery.jkh1996-04-071-28/+25
| | | | | | | | | | | | | | | 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.
* Whoops! Total brain-fade on that last "optimization" for mountingjkh1996-03-211-10/+1
| | | | the CD (thanks to Mike O'Dell for finding it). Fixed.
* Fix cpioVerbosity() botch when verbosity set very low.jkh1996-03-191-2/+5
|
* Lots of fixes:jkh1996-03-181-2/+2
| | | | | | | | | | | | | | | | 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.
* Update the -current sources from the 2.1 branch.peter1995-12-071-55/+174
| | | | Approved (in spirit) by: jkh
OpenPOWER on IntegriCloud