summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/options.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix numerous warnings. Aside from menu items in system.c and menu.cjhb2006-02-281-10/+10
| | | | | | | | this now compiles on i386 with WARNS?= 3. Most of the fixes included adding missing 'static' keywords to internal functions, using fully-defined terminators in statically defined arrays of structs, and various signed vs unsigned mismatches. Also G/C'd unused configSecurity() function.
* Various NFS-related bug fixes (mostly related to using variable_get()des2003-10-191-0/+4
| | | | | | instead of variable_cmp() to test boolean rc.conf variables). Submitted by: hmp
* The PCMCIA Standard dictates that those funny cards you insert intoimp2003-08-201-1/+1
| | | | | laptops are "PC Cards" and uses said term consistantly. Allow my foolish hobgoblins to get the better of me and become consistant.
* Add a new variable 'skipPCCARD'. This variable will cause sysinstallimp2003-08-201-0/+2
| | | | | | | | | to ignore all PC Card devices. Submitted by: Anders Nordby PR: bin/37650 MFC After: 2 weeks
* Add a missing DITEM_CONTINUE flag so the options menu returns to themurray2003-07-131-1/+1
| | | | | | | correct place when you exit it with 'Q'. PR: misc/47906 MFC after: 3 days
* Remove kget() feature, which is removed from 5-current kernel.matusita2001-12-011-2/+0
| | | | | | | | | Since userconfig feature is implemented by tweaking variables (hint.*) with loader(8), we can put back an equivalent feature. Maybe the first step for this is to commit yokota-san's patch (add userconfig command for loader). Approved by: jkh
* Back out rev 1.74. This functionality causes a panic on 4.4-RELEASEmurray2001-09-251-32/+0
| | | | | | | | | | | | | | | | floppies if you try to actually use it. This code will work fine if you build and use sysinstall on a running system, since you have the benefit of an installed termcap file. However, this code does not work on an MFSROOT, where you must set the TERMCAP environment variable properly. Unfortunately the quick fix of setting the TERMCAP variable doesn't seem to fix the problem either. olgeni will add this functionality back once it's been fully implemented (hopefully using the working code in termcap.c). PR: bin/30739 Submitted by: Alexey V. Neyman <alex.neyman@auriga.ru> Discussed with / Pointy hat to: olgeni MFC after: 3 days
* Silence warnings.murray2001-09-221-1/+3
|
* Add terminal type configuration to the Options screen. It allows selectingolgeni2001-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
* Remove the bogus check against "none" for release names (whichjkh2000-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>
* IPv6 support.ume2000-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
* Add an option to select the Fix-it tty. The current behavior is utterlyobrien2000-05-161-0/+21
| | | | *useless* on serial consoled machines.
* D'oh! Inserted a clear() in a *very* wrong place with my last commit.jkh1999-12-191-1/+0
|
* Bah, I got the MFC and this commit backwards. :)jkh1999-12-191-1/+1
|
* More cosmetic surgery and a nasty null pointer bug in index.c fixed.jkh1999-12-191-0/+1
|
* Be paranoid about refreshing after an action.jkh1999-12-191-2/+1
|
* Completely rip-out and redesign sysinstall's refresh model as welljkh1999-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.
* Oh crud, did I ever screw the pooch! Rather than sync this with -stable,jkh1999-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>
* MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,jkh1999-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.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Make the newfs parameters a global option.phk1999-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.
* Re-enable DHCP client support again (but optional and turned off by defaultjkh1999-07-161-5/+11
| | | | | | for the time being) for debugging purposes. Fix bug in options selection.
* Make saving kernel configuration info disable-able (may be useful in certainjkh1999-05-071-1/+3
| | | | situations).
* o Make package matching for specific package loading use the Latest/jkh1999-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.
* Add an option for resetting and rescanning the probed device list, perhapsjkh1999-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>
* Totally change the way variables are accounted for in sysinstall.jkh1999-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.
* Eliminate Samba configuration. Sorry, but this was another one ofjkh1997-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. :-(
* 1. Add a noWarn flag so that scripts can turn warnings off.jkh1997-06-181-1/+3
| | | | 2. If hostname not set from script, bring up interactive dialog anyway.
* Actually, rethink last commit and simply remove the apache configurationjkh1997-05-221-4/+1
| | | | | entirely, as promised earlier (it's outdated now and doesn't really belong in sysinstall).
* It's easier to go forwards than backwards with this, and the RELENG_2_1_0jkh1997-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.
* OK, I've got two ideas to file in the "really seemed like a good ideajkh1997-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).
* This is a patch that makes some of the "partitions" --> "slice" to bejkh1997-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)
* Add extra variables for the configuration of all packages, not justjkh1997-01-201-4/+16
| | | | | | the lynx browser. Submitted-By: David O'Brien <obrien@cs.ucdavis.edu>
* Fix a variety of problems with my timeout handling, make it morejkh1997-01-181-0/+3
| | | | | configurable (you can now set the timeout interval), fix a crash-bug when no network device was attached.
* Accept emacs-style editing keys for traversal and ESC as an abort character.jkh1997-01-151-0/+3
|
* 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.
* 1. Take out console setup in options now that Joerg has moved it intojkh1996-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.
* Joerg's changes to add screen font and screenmap setting.jkh1996-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.
* More tweaks to FTP reselection code - allow "none" to stand forjkh1996-10-021-2/+2
| | | | "no specific release - use anything you can find"
* Installation cleanup, round II.jkh1996-10-011-9/+14
|
* Try to make screen update more efficient (less flickering) by morejkh1996-08-031-2/+2
| | | | judicious use of dialog_clear_norefresh().
* A number of improvements in the way statistics are printed, add a "chroot"jkh1996-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.
* Fix even more lurking bogons - why do I never find these until the lastjkh1996-07-081-6/+1
| | | | possible minute? :-)
* Don't use some of the low-contrast text attributes I was using before - theyjkh1996-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.
* Implement selective text attributes for the syscons vty / vt100 emulatorjkh1996-06-081-2/+2
| | | | | selection since an attribute which looks good on a color console doesn't necessarily look good in an xterm.
* Put back some changes I inadvertantly spammed with a cvs update.jkh1996-06-081-2/+2
|
* Some cosmetic changes:jkh1996-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!).
* Quite a few changes:jkh1996-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.
* Bring this into sync.jkh1996-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!
* 1. Update all the copyrights to delete useless clauses 3 and 4.jkh1996-04-131-10/+3
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
OpenPOWER on IntegriCloud