summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/msg.c
Commit message (Collapse)AuthorAgeFilesLines
* Return the *right* error codes for yes/no questions when non-interactive.jkh2001-09-111-4/+4
| | | | Submitted by: Alan Judge <Alan.Judge@eircom.net>
* If we're set to non-interactive, we shouldn't ask the user yes/no questionsjkh2001-07-301-0/+4
| | | | but simply return the default answer instead.
* Mark relevant functions __printflike()/__printf0like() and silence some ofkris2001-07-051-2/+2
| | | | | | the non-constant format string warnings. MFC after: 1 week
* Adapt sysinstall to use the new msgNoYes() function which assumesjkh2000-12-141-0/+24
| | | | | | no as a default. Sysinstall should be both less dangerous and less annoying as a result of this change, though that's just my opinion (since they're the defaults which annoy ME the least :).
* Initiate deorbit burn sequence for <machine/console.h>.phk2000-10-081-1/+1
| | | | | | | | | Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/console.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/console.h> files will be removed.
* Ugh. Back out local changes that crept in with my last commit. :(jhb2000-07-141-1/+0
|
* MFS: (yes, from -stable) Note that current.FreeBSD.org is a 5.0 snap serverjhb2000-07-141-0/+1
| | | | now, and replace the releng3 3.0 snap entry with releng4.
* In retrospect, msgNotify() should leave its contents on the screenjkh1999-12-171-3/+1
| | | | | longer to give the user something to look at while things are happening. Change it to do so and insert the appropriate screen saves elsewhere.
* Completely rip-out and redesign sysinstall's refresh model as welljkh1999-12-141-3/+13
| | | | | | | | | | | | 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.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Eliminate some varargs abuse.jkh1999-07-021-15/+1
|
* Do a clean-up pass on error/warning messages.jkh1999-05-271-1/+15
|
* Fix conditional bogon in Label Editor [from Ed Gold]jkh1997-09-201-3/+3
| | | | Print info boxes without titles.
* Eliminate an obviously redundant message title.jkh1997-09-091-3/+3
|
* Sync with 2.2 and clean up some tortured english that was added.jkh1997-04-201-4/+1
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* 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.
* 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>
* Saner screen refresh changes, part I.jkh1996-10-011-10/+1
|
* Try to make screen update more efficient (less flickering) by morejkh1996-08-031-3/+3
| | | | judicious use of dialog_clear_norefresh().
* Close PR#1542. Don't just assume 24 lines, get the tty size.jkh1996-08-011-11/+8
| | | | | | | 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.
* Detect which partitions have already been created with `auto' so as not to ↵jkh1996-07-311-3/+1
| | | | | | | | create them twice. Various cosmetic tweaks.
* Better error checking in helpfile expander.jkh1996-07-101-3/+1
| | | | Tart up some of the output a little.
* Don't use some of the low-contrast text attributes I was using before - theyjkh1996-06-141-5/+5
| | | | | | 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-5/+5
| | | | | selection since an attribute which looks good on a color console doesn't necessarily look good in an xterm.
* Have both distribution and package extraction screens display thejkh1996-05-231-8/+3
| | | | | transfer speed in KB/sec while fetching stuff; this gives you a better idea if your link has crashed or is behaving oddly.
* Fix some long-standing malloc bugs in the package handling code (freeing garbagejkh1996-05-161-2/+2
| | | | | | | | | | | | | in one place, leaking memory in another). Add a facility to invoke subsystems directly by naming them on sysinstall's command-line when running post-install. A replacement for pkg_manage might, for example, be `/stand/sysinstall configPackages' Fix bogon where upgrade shell was entered with tty modes spammed. Fix bug with release name checking in ftp_strat. Turned a bunch of bogus exit()s into proper calls to systemShutdown().
* Bump snapshot release date - looks like I was off by a couplejkh1996-04-281-23/+12
| | | | | | of days! More display fixes to sysinstall and assorted tweaking.
* 1. Update all the copyrights to delete useless clauses 3 and 4.jkh1996-04-131-22/+9
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Update the -current sources from the 2.1 branch.peter1995-12-071-8/+23
| | | | Approved (in spirit) by: jkh
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-8/+5
|
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* Sync up my work for the night. This should implement ALL possiblejkh1995-05-291-6/+19
| | | | | | installation methods and provide a fairly robust set of menu options. This should also fix a few more bugs on Poul-Henning's latest gripe list.
* Make the emergency holographic shell (on VTY4) actually work with jobjkh1995-05-291-4/+7
| | | | | | control and signals and such. Thanks, Gary! Clean up some miscellaneous bogons for Poul.
* Shrink the boot floppy by removing all extraneous stuff. Also increasejkh1995-05-291-4/+6
| | | | | | number of inodes. Fix various bugs reported by Poul. Implement VTY switching.
* Sync to latest ftp-capable sysinstall. We're getting there!jkh1995-05-241-1/+2
|
* 1. Bring in the first cut of Poul's ftp routines. We still don'tjkh1995-05-231-5/+37
| | | | | | | | | | use them yet, but it's close (we're working on the last wrinkles in the CD install for now). 2. Complete the CDROM installation strategy code. 3. Simplify the distribtuion loading code. 4. General error message cleanup. 5. Write the /etc/fstab file now and split those routines into config.c 6. Clean up the menus a little more.
* Implement most of the CD extract code.jkh1995-05-221-7/+10
| | | | | | Clean up a few last display bugs. Add sanity checking that makes sure user creates root and swap partitions. Add swap partitions with swapon().
* Change vsystem to know that the shell is crunched in.phk1995-05-201-2/+2
| | | | Sanitize a couple of messages.
* Try again to get cpio_extract() to work. Also fix the bogonjkh1995-05-201-2/+7
| | | | | I introduced with msgNotify() again. Sigh. I'll get it looking correct someday!
* Clear the screen on msgNotifys.jkh1995-05-201-1/+2
| | | | | | Don't notify in vsystem() - it obscures the original message. Put some debugging code into cpio_extract() so that I can see why it doesn't work now. :(
* 1. Fix a pathological bug I introduced in msgInfo(). Right idea, wrongjkh1995-05-201-5/+11
| | | | | | | | | | | | | | | | | | implementation. 2. Totally rework device registration. It's about half the size and more powerful now. 3. Add DOS discovery. 4. Start filling in some of the strategy routines. 5. Another clean-up pass over the menus. 6. Make wizard code use Disk typedef. If I can get the first strategy routine finished tonite, we should have a working install (from ftp, at least) this weekend.
* Totally re-work cpio_extract.jkh1995-05-201-5/+13
| | | | | Erase the annoying "Command output is on debugging screen" message when it's time to switch back.
* Correct a few wording bogons in the menus.jkh1995-05-201-6/+1
| | | | | Make notify NOT wipe the dialog off right after putting it up. Whoops. Kinda defeated the purpose! :-)
* More assorted verbosity. Also don't log informational messages.jkh1995-05-191-3/+1
|
* 1. Copy the boot floppy into /stand before extracting the CPIO floppy.jkh1995-05-191-4/+18
| | | | | 2. On Justin's advice, remind the user when they should switch back from the debugging screen, if they're looking over there.
* Add some more debugging information and fix a few missing newlines.jkh1995-05-181-4/+4
|
* Also log all user interactions to debugging log.jkh1995-05-181-1/+6
|
* This will now compile and even scribble helpfully on your disks.jkh1995-05-161-2/+17
| | | | | | | | | It remains to be seen how successfully. The distribution loading code is still not here yet, but the partition/newfs/mount/cpio-extract cycle is as complete as it's ever going to get, modulo possible bug fixes. The TCP/IP setup screen is also sort of here, albeit in a highly-changing state due to the fact that per-interface information isn't being kept right now but is being added (thanks, Gary!).
* 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.
OpenPOWER on IntegriCloud