aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/options.c
Commit message (Collapse)AuthorAgeFilesLines
* Add terminal type configuration to the Options screen. It allows selectingJimmy Olgeni2001-06-131-0/+32
| | | | | | | | | | | a monochrome display after booting into sysinstall, if you have any trouble with the default color scheme. Approved by: jkh MFC after: 2 weeks Notes: svn path=/head/; revision=78160
* Remove the bogus check against "none" for release names (whichJordan K. Hubbard2000-09-221-1/+1
| | | | | | | | | | | | | really doesn't make any sense, what was I smoking) and allow the more canonical usage of "any" for either side of the comparison for release name or architecture (meaning you can also set CD_VERSION=any in a cdrom.inf file to cause sysinstall to always match it and likewise with the architecture, if specified). Sensibly suggested by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org> Notes: svn path=/head/; revision=66225
* IPv6 support.Hajimu UMEMOTO2000-07-141-0/+2
| | | | | | | | | | | | | | IPv6 configuration is only done by rtsol. Does someone really need manual configuration? :-) You can specify IPv6 DNS server as well. We have only one server ftp7.jp.freebsd.org that speaks IPv6 in this time. ftp7.jp speaks IPv4 as well and also listed as Japan #7. Approved by: jkh Notes: svn path=/head/; revision=63118
* Add an option to select the Fix-it tty. The current behavior is utterlyDavid E. O'Brien2000-05-161-0/+21
| | | | | | | *useless* on serial consoled machines. Notes: svn path=/head/; revision=60657
* D'oh! Inserted a clear() in a *very* wrong place with my last commit.Jordan K. Hubbard1999-12-191-1/+0
| | | | Notes: svn path=/head/; revision=54839
* Bah, I got the MFC and this commit backwards. :)Jordan K. Hubbard1999-12-191-1/+1
| | | | Notes: svn path=/head/; revision=54835
* More cosmetic surgery and a nasty null pointer bug in index.c fixed.Jordan K. Hubbard1999-12-191-0/+1
| | | | Notes: svn path=/head/; revision=54805
* Be paranoid about refreshing after an action.Jordan K. Hubbard1999-12-191-2/+1
| | | | Notes: svn path=/head/; revision=54800
* Completely rip-out and redesign sysinstall's refresh model as wellJordan K. Hubbard1999-12-141-3/+5
| | | | | | | | | | | | | | | as redoing all the menus to have proper, or at least non-hallucinogenic, keyboard accelerators. This requires my recent update to libdialog to work properly and will probably also exhibit some other "interesting" behavior while the last few missing screen clears are found (which is why I'm not going to MFC immediately). At least now, however, sysinstall does not gratuitously redraw random screens at the drop of a hat and drive serial console installers out of their minds. Notes: svn path=/head/; revision=54587
* Oh crud, did I ever screw the pooch! Rather than sync this with -stable,Jordan K. Hubbard1999-09-021-4/+10
| | | | | | | | | | | | | I backed-out the changes in -current and didn't touch stable at all (I thought I had my patch order reversed, not what actually happened). AIEEE! I can't even blame the crack for this one since I broke my crack pipe a few weeks ago. I think sleep deprivation gets the blame for this one. Medal for noticing this one goes to: Jim Bloom <bloom@acm.org> Notes: svn path=/head/; revision=50780
* MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,Jordan K. Hubbard1999-09-011-10/+4
| | | | | | | | | | bringing in DHCP support. The only thing I left out were Poul-Henning's newfs changes since I'm not sure if he's brought the rest of that support into -stable yet. If it turns out that this is the case, I'll MFC those changes too. Notes: svn path=/head/; revision=50725
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Make the newfs parameters a global option.Poul-Henning Kamp1999-08-051-1/+4
| | | | | | | | | The default is still "-b 8192 -f 1024" but my experiments show that "-b 16384 -f 4096 -c 100" is a more sensible value for modern disksizes. Notes: svn path=/head/; revision=49441
* Re-enable DHCP client support again (but optional and turned off by defaultJordan K. Hubbard1999-07-161-5/+11
| | | | | | | | | for the time being) for debugging purposes. Fix bug in options selection. Notes: svn path=/head/; revision=48843
* Make saving kernel configuration info disable-able (may be useful in certainJordan K. Hubbard1999-05-071-1/+3
| | | | | | | situations). Notes: svn path=/head/; revision=46637
* o Make package matching for specific package loading use the Latest/Jordan K. Hubbard1999-04-271-7/+1
| | | | | | | | | | | feature of packages now so that no version info is embedded. o Add a default X desktop menu offering afterstep, enlightenment, KDE, GNOME and Windowmaker desktops instead of the boring twm(1) based one if the user so chooses. This will require a little testing. Notes: svn path=/head/; revision=46117
* Add an option for resetting and rescanning the probed device list, perhapsJordan K. Hubbard1999-04-061-1/+3
| | | | | | | | | | | to now detect that CD you just remembered to put in the drive or that pccard NIC that you've inserted (anybody can put pccardd in an mfsroot image now you know.. :) Requested by: Annelise Anderson <andrsn@andrsn.Stanford.EDU> Notes: svn path=/head/; revision=45371
* Totally change the way variables are accounted for in sysinstall.Jordan K. Hubbard1999-02-051-3/+3
| | | | | | | | | | | Now we know which variables are internal and which need to be backed to /etc/rc.conf.site. rc.conf is not touched now. Also kget kernel change information back properly and set up a loader.rc file to use it. Notes: svn path=/head/; revision=43685
* Eliminate Samba configuration. Sorry, but this was another one ofJordan K. Hubbard1997-07-161-4/+1
| | | | | | | | | | | | | | | | those ideas that, like the Apache server setup, was well-intentioned but doomed to fail in the face of change. That and the fact that it shouldn't be part of the installation tool, it should be part of the post-installation setup tool (which we need to write). Combining the two utilities into one utility was my first conceptual mistake. Apologies also to Coranth Gryphon, who worked hard on the Apache and Samba server setup code. These features were quite useful for awhile, if that's any consolation, I just simply had the wrong ideas about where to put them. :-( Notes: svn path=/head/; revision=27433
* 1. Add a noWarn flag so that scripts can turn warnings off.Jordan K. Hubbard1997-06-181-1/+3
| | | | | | | 2. If hostname not set from script, bring up interactive dialog anyway. Notes: svn path=/head/; revision=26717
* Actually, rethink last commit and simply remove the apache configurationJordan K. Hubbard1997-05-221-4/+1
| | | | | | | | entirely, as promised earlier (it's outdated now and doesn't really belong in sysinstall). Notes: svn path=/head/; revision=25989
* It's easier to go forwards than backwards with this, and the RELENG_2_1_0Jordan K. Hubbard1997-02-071-1/+1
| | | | | | | | sysinstall was already broken (I think there's a PR for this somewhere). This will require some additional changes elsewhere, like bringing in pw. Notes: svn path=/head/; revision=22388
* OK, I've got two ideas to file in the "really seemed like a good ideaJordan K. Hubbard1997-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | at the time, but on further reflection..." bucket with these changes. 1. Checking the media before frobbing the disks was a fine idea, and I wish it could have worked, but that leads to a rather difficult situation when you need to mount the media someplace and you're about to: a) Chroot away from your present root. b) Newfs the root to be. You're basically screwed since there's no place to stick the mount point where it will be found following the newfs/chroot (and eliminating the chroot in favor of just using the "root bias" feature would work great for the distributions but not the pkg_add calls done by the package installer). 2. Automatic timeout handling. I don't know why, but alarm() frequently returns no residual even when the alarm didn't go off, which defies the man page but hey, since when was that so unusual? Take out timeouts but retain the code which temporarily replaces the SIGINT handler in favor of a more media-specific handler. This way, at least, if it's hanging you can at least whap it. I think the timeout code would have been losing over *really slow* links anyway, so it's probably best that it go. This should fix NFS, tape & CDROM installs again (serves me right for getting complacent and using just the FTP installs in my testing). Notes: svn path=/head/; revision=21976
* This is a patch that makes some of the "partitions" --> "slice" to beJordan K. Hubbard1997-01-241-4/+4
| | | | | | | | | | 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) Notes: svn path=/head/; revision=21971
* Add extra variables for the configuration of all packages, not justJordan K. Hubbard1997-01-201-4/+16
| | | | | | | | | the lynx browser. Submitted-By: David O'Brien <obrien@cs.ucdavis.edu> Notes: svn path=/head/; revision=21897
* Fix a variety of problems with my timeout handling, make it moreJordan K. Hubbard1997-01-181-0/+3
| | | | | | | | configurable (you can now set the timeout interval), fix a crash-bug when no network device was attached. Notes: svn path=/head/; revision=21855
* Accept emacs-style editing keys for traversal and ESC as an abort character.Jordan K. Hubbard1997-01-151-0/+3
| | | | Notes: svn path=/head/; revision=21698
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* 1. Take out console setup in options now that Joerg has moved it intoJordan K. Hubbard1996-11-091-28/+1
| | | | | | | | | | 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. Notes: svn path=/head/; revision=19577
* Joerg's changes to add screen font and screenmap setting.Jordan K. Hubbard1996-11-071-1/+28
| | | | | | | | | 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. Notes: svn path=/head/; revision=19488
* More tweaks to FTP reselection code - allow "none" to stand forJordan K. Hubbard1996-10-021-2/+2
| | | | | | | "no specific release - use anything you can find" Notes: svn path=/head/; revision=18634
* Installation cleanup, round II.Jordan K. Hubbard1996-10-011-9/+14
| | | | Notes: svn path=/head/; revision=18619
* Try to make screen update more efficient (less flickering) by moreJordan K. Hubbard1996-08-031-2/+2
| | | | | | | judicious use of dialog_clear_norefresh(). Notes: svn path=/head/; revision=17404
* A number of improvements in the way statistics are printed, add a "chroot"Jordan K. Hubbard1996-07-091-1/+4
| | | | | | | | | | 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. Notes: svn path=/head/; revision=17034
* Fix even more lurking bogons - why do I never find these until the lastJordan K. Hubbard1996-07-081-6/+1
| | | | | | | possible minute? :-) Notes: svn path=/head/; revision=17007
* Don't use some of the low-contrast text attributes I was using before - theyJordan K. Hubbard1996-06-141-9/+9
| | | | | | | | | 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. Notes: svn path=/head/; revision=16366
* Implement selective text attributes for the syscons vty / vt100 emulatorJordan K. Hubbard1996-06-081-2/+2
| | | | | | | | selection since an attribute which looks good on a color console doesn't necessarily look good in an xterm. Notes: svn path=/head/; revision=16208
* Put back some changes I inadvertantly spammed with a cvs update.Jordan K. Hubbard1996-06-081-2/+2
| | | | Notes: svn path=/head/; revision=16204
* Some cosmetic changes:Jordan K. Hubbard1996-05-091-5/+7
| | | | | | | | | | | | | | 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!). Notes: svn path=/head/; revision=15695
* Quite a few changes:Jordan K. Hubbard1996-04-251-1/+2
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=15383
* Bring this into sync.Jordan K. Hubbard1996-04-231-3/+4
| | | | | | | | | | | | | 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! Notes: svn path=/head/; revision=15355
* 1. Update all the copyrights to delete useless clauses 3 and 4.Jordan K. Hubbard1996-04-131-10/+3
| | | | | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor. Notes: svn path=/head/; revision=15242
* Major surgery.Jordan K. Hubbard1996-04-071-2/+2
| | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=15091
* Clean up the options screen a little bit by shortening it by one lineJordan K. Hubbard1996-03-241-2/+2
| | | | | | | in the vertical axis. Notes: svn path=/head/; revision=14786
* Make the editor a selectable option. Some people don't care for `ee'!Jordan K. Hubbard1996-03-231-1/+4
| | | | Notes: svn path=/head/; revision=14763
* Major enhancements to the package adder (next step is to use the new dialogJordan K. Hubbard1996-03-211-4/+2
| | | | | | | | | 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. Notes: svn path=/head/; revision=14738
* Small tweaks to the presentation of this stuff.Jordan K. Hubbard1996-03-191-4/+4
| | | | Notes: svn path=/head/; revision=14696
* Some general fixes for the package menu (still need to fix the "more than 10Jordan K. Hubbard1995-11-061-2/+5
| | | | | | | | items checked bug though). Now allow user to specify a PKG_TMPDIR. If not selected, we try to make one. Notes: svn path=/head/; revision=12129
* Lots-o-cleanup(tm):Jordan K. Hubbard1995-11-031-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | 1. Fix the bogon I introduced that made some root filesystems fail to be made with `unable to make filesystem on sd1s1a' or some such error message. 2. Latest installment in the never-ending chapter on making FTP do the right thing on a cruel internet. 3. Make `express install' a truly express install and split off what it used to do into a `novice install' that's even more geared to the novice by asking questions in order, rather than forcing them through the menu interface. 4. Make anonymous FTP setup truly DTRT. 5. Build lndir directly into sysinstall and make the novice install offer to set up the ports tree. Also make the ports setup truly explanatory about what it's doing, and always link the ports destination to /usr/ports if necessary so that bsd.port.mk doesn't need to be tweaked. Notes: svn path=/head/; revision=12025
* o Fix installUpgrade to start the holographic shell as well.Jordan K. Hubbard1995-10-261-1/+3
| | | | | | | | | | o Lots of documentation fixes. o Rename FTP active to "FTP" and explain passive mode better. o Make tcpip screen a bit more friendly. o Literally dozens of nits. Notes: svn path=/head/; revision=11799