summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/dmenu.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a new startup variables menu for tweaking rc.conf variables in morejkh1997-10-141-1/+23
| | | | | | detail (also added more of them to the networking services menu). Add new dmenuISetVariable() function for interactive setting of non-boolean flags.
* Put all variables in VAR_ #define's to force a single location for allpst1997-09-171-2/+2
| | | | | of these magic knobs. This is purely cosmetic and a documentation issue so we don't have to glop through the source code looking for gems.
* YAMF22jkh1997-06-131-14/+30
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Correct a real brain-o in my check for when a "fixup" should be run.jkh1997-01-191-1/+1
| | | | Don't recreate parent menus just for submenus - it's irritating.
* 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-2/+1
| | | | | common layout code into some work functions and make all the layout-using routine adopt them. Also reorganize includes and generally clean up.
* As Paul has just pointed out, much of my strncpy() usage was eitherjkh1996-12-091-2/+2
| | | | | | | 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>
* Sysinstall now offers the installation of a keymap early in the game!joerg1996-11-091-1/+21
| | | | | | | | | | | | | | | 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
* Joerg's changes to add screen font and screenmap setting.jkh1996-11-071-2/+20
| | | | | | 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.
* Try to make screen update more efficient (less flickering) by morejkh1996-08-031-2/+2
| | | | judicious use of dialog_clear_norefresh().
* Close PR#1542. Don't just assume 24 lines, get the tty size.jkh1996-08-011-2/+5
| | | | | | | 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.
* Make the menu height calculation actually work.jkh1996-07-111-2/+2
| | | | Make a menu more self-explanatory at user request.
* Support compressed doc files again.jkh1996-07-051-2/+2
| | | | | | | | 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-9/+13
|
* Fix a truly stupid bug which broke the package installation menujkh1996-06-121-1/+11
| | | | | 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.
* Bump snapshot release date - looks like I was off by a couplejkh1996-04-281-8/+10
| | | | | | of days! More display fixes to sysinstall and assorted tweaking.
* Quite a few changes:jkh1996-04-251-7/+5
| | | | | | | | | | 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-27/+18
| | | | | | | | | | 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-23/+32
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Major surgery.jkh1996-04-071-68/+95
| | | | | | | | | | | | | | | 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.
* Miscellaneous cleanup before big round of menu restructuring (to use newjkh1996-03-021-8/+4
| | | | libdialog features).
* Update the -current sources from the 2.1 branch.peter1995-12-071-23/+39
| | | | Approved (in spirit) by: jkh
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-54/+66
|
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* Bring everybody up to date on my morning's work.jkh1995-05-241-2/+2
| | | | | | | | | | | | | | | | | | | | 1. Fix a few bugs in the ftp installation code and implement proper ftp and network shutdown routines. 2. Clean up the menus a fair bit - add a FreeBSD configuration menu. 3. Eliminate the last of the "chaining" - the installation now does the most obvious thing in the most obvious cases and doesn't present you with more menus than you were expecting. This makes it necessary to be a little more explicit in places, but it's still less confusing. 4. Add a few more safety nets for the user. Change a few hard-and-fast limits to warnings (it now runs as non-root, Bruce). 5. Add descriptions for all the supported ethernet cards. 6. Make the cpio floppy extract put up a menu requesting the drive you wish to use if you have more than one; don't just always assume drive A.
* Commit my latest so that Gary can sync up - this version should alsojkh1995-05-171-3/+4
| | | | | be the grounds for our first round of testing in the release I'm rolling. It doesn't load the distributions yet, but it should do everything else.
* This does _not yet compile_; I'm simply bringing in my changes fromjkh1995-05-161-2/+13
| | | | | this weekend in order to more easily sync with my CVS tree at home. Another commit relative to these changes will follow shortly.
* First round of changes after testing this on actual systems. Clean upjkh1995-05-111-2/+2
| | | | | some of the badly displayed menus, use the proper notification box for messages, make proceed work.
* Whoops - dispatch() takes multiple args now.jkh1995-05-101-2/+2
|
* Fold in all my recent changes.jkh1995-05-101-64/+14
| | | | | | | Do another clean-up pass over this, making the generic menu handler much more powerful (now handles multiple dispatch). A few more menus fleshed out and the beginnings of the distribution handler committed. Should be transfering full distributions over in the next commit.
* Commit my latest changes before having a nap. Still not close to done,jkh1995-05-011-29/+34
| | | | | | nor is it in sync with my working sources, but it leaves me less CVS hassles to bring in the new files at this time. Still no documentation to translate quite yet, but soon. This stuff is actually very close now.
* o Add extra menu types (radio implemented, multiple choice shortly).jkh1995-04-291-79/+64
| | | | | | | | | | o Make the framework generally more robust. o Figured out how to nest the menu descriptions - no more grotty initialization of menus. o Fix bug with helpline and helpfile not being reset. o Add stubs for the media selection code. Coming next: Fdisk and disklabel screens using Phk's new libdisk stuff.
* Latest raft of changes.jkh1995-04-271-2/+20
| | | | | | | Added another couple of menu item types. Reshuffled the menus and added a few more. Sure wish I could figure out how to initialize a menu with _one_ initializer rather than two! :(
* Here is my first "framework" commit of the new sysinstall. There is a LOTjkh1995-04-271-0/+191
more to come in the next 24 hours, this is just the first stable result of 8 hours of hacking so far. The specification format for menus is pretty much hammered out and the beginnings (very humble) of the doc hierarchy are present for an example. It should be quite easy to add a lot more menus quickly to this since I did go somewhat out of my way to make the framework easy to work with. This is NOT the glorious semi-graphical sysinstall (or whatever its name will be) that the install-geeks are working on, this is simply the "son of sysinstall" I've been promising to write in the interim for 2.0.5 and 2.1R (super install doesn't come until 2.2R).
OpenPOWER on IntegriCloud