summaryrefslogtreecommitdiff
path: root/usr.sbin/sade/msg.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace sade the extracted piece of sysinstall with sade the extractedNathan Whitehorn2012-12-301-357/+0
| | | | | | | | | | | piece of bsdinstall (although this time with a symlink instead of duplicated source code). Discussed on: freebsd-geom MFC after: 3 months Notes: svn path=/head/; revision=244859
* Port to new libdialog.Max Khon2011-11-241-20/+27
| | | | Notes: svn path=/head/; revision=227944
* Make sade(8) WARNS=3 clean.Xin LI2006-08-081-14/+14
| | | | Notes: svn path=/head/; revision=161099
* Say welcome to 'sade', the SysAdmins Disk Editor. It's the fdisk and ↵Alexander Leidinger2006-08-071-7/+1
| | | | | | | | | | | | | | | disklabel part of sysinstall. So sysinstall may retire now, we have the important non-install part of it covered. ATM it doesn't understand GEOM stuff (like mirror, stripe, raid, ...), but patches to change this and to clean it up internally are more than welcome. Submitted by: mami@nyitolap.hu Notes: svn path=/head/; revision=161060
* Return the *right* error codes for yes/no questions when non-interactive.Jordan K. Hubbard2001-09-111-4/+4
| | | | | | | Submitted by: Alan Judge <Alan.Judge@eircom.net> Notes: svn path=/head/; revision=83351
* If we're set to non-interactive, we shouldn't ask the user yes/no questionsJordan K. Hubbard2001-07-301-0/+4
| | | | | | | but simply return the default answer instead. Notes: svn path=/head/; revision=80674
* Mark relevant functions __printflike()/__printf0like() and silence some ofKris Kennaway2001-07-051-2/+2
| | | | | | | | | the non-constant format string warnings. MFC after: 1 week Notes: svn path=/head/; revision=79304
* Adapt sysinstall to use the new msgNoYes() function which assumesJordan K. Hubbard2000-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 :). Notes: svn path=/head/; revision=70005
* Initiate deorbit burn sequence for <machine/console.h>.Poul-Henning Kamp2000-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. Notes: svn path=/head/; revision=66834
* Ugh. Back out local changes that crept in with my last commit. :(John Baldwin2000-07-141-1/+0
| | | | Notes: svn path=/head/; revision=63115
* MFS: (yes, from -stable) Note that current.FreeBSD.org is a 5.0 snap serverJohn Baldwin2000-07-141-0/+1
| | | | | | | now, and replace the releng3 3.0 snap entry with releng4. Notes: svn path=/head/; revision=63113
* In retrospect, msgNotify() should leave its contents on the screenJordan K. Hubbard1999-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. Notes: svn path=/head/; revision=54722
* Completely rip-out and redesign sysinstall's refresh model as wellJordan K. Hubbard1999-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. Notes: svn path=/head/; revision=54587
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Eliminate some varargs abuse.Jordan K. Hubbard1999-07-021-15/+1
| | | | Notes: svn path=/head/; revision=48482
* Do a clean-up pass on error/warning messages.Jordan K. Hubbard1999-05-271-1/+15
| | | | Notes: svn path=/head/; revision=47542
* Fix conditional bogon in Label Editor [from Ed Gold]Jordan K. Hubbard1997-09-201-3/+3
| | | | | | | Print info boxes without titles. Notes: svn path=/head/; revision=29628
* Eliminate an obviously redundant message title.Jordan K. Hubbard1997-09-091-3/+3
| | | | Notes: svn path=/head/; revision=29247
* Sync with 2.2 and clean up some tortured english that was added.Jordan K. Hubbard1997-04-201-4/+1
| | | | Notes: svn path=/head/; revision=25052
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* 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
* As Paul has just pointed out, much of my strncpy() usage was eitherJordan K. Hubbard1996-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> Notes: svn path=/head/; revision=20247
* Saner screen refresh changes, part I.Jordan K. Hubbard1996-10-011-10/+1
| | | | Notes: svn path=/head/; revision=18612
* Try to make screen update more efficient (less flickering) by moreJordan K. Hubbard1996-08-031-3/+3
| | | | | | | judicious use of dialog_clear_norefresh(). Notes: svn path=/head/; revision=17404
* Close PR#1542. Don't just assume 24 lines, get the tty size.Jordan K. Hubbard1996-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. Notes: svn path=/head/; revision=17375
* Detect which partitions have already been created with `auto' so as not to ↵Jordan K. Hubbard1996-07-311-3/+1
| | | | | | | | | | | create them twice. Various cosmetic tweaks. Notes: svn path=/head/; revision=17362
* Better error checking in helpfile expander.Jordan K. Hubbard1996-07-101-3/+1
| | | | | | | Tart up some of the output a little. Notes: svn path=/head/; revision=17065
* Don't use some of the low-contrast text attributes I was using before - theyJordan K. Hubbard1996-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. Notes: svn path=/head/; revision=16366
* Implement selective text attributes for the syscons vty / vt100 emulatorJordan K. Hubbard1996-06-081-5/+5
| | | | | | | | 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
* Have both distribution and package extraction screens display theJordan K. Hubbard1996-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. Notes: svn path=/head/; revision=15883
* Fix some long-standing malloc bugs in the package handling code (freeing garbageJordan K. Hubbard1996-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(). Notes: svn path=/head/; revision=15788
* Bump snapshot release date - looks like I was off by a coupleJordan K. Hubbard1996-04-281-23/+12
| | | | | | | | | of days! More display fixes to sysinstall and assorted tweaking. Notes: svn path=/head/; revision=15416
* 1. Update all the copyrights to delete useless clauses 3 and 4.Jordan K. Hubbard1996-04-131-22/+9
| | | | | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor. Notes: svn path=/head/; revision=15242
* Update the -current sources from the 2.1 branch.Peter Wemm1995-12-071-8/+23
| | | | | | | Approved (in spirit) by: jkh Notes: svn path=/head/; revision=12661
* Merge RELENG_2_0_5 into HEADRodney W. Grimes1995-06-111-8/+5
| | | | Notes: svn path=/head/; revision=9202
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-3/+3
| | | | Notes: svn path=/head/; revision=8881
* Sync up my work for the night. This should implement ALL possibleJordan K. Hubbard1995-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. Notes: svn path=/head/; revision=8837
* Make the emergency holographic shell (on VTY4) actually work with jobJordan K. Hubbard1995-05-291-4/+7
| | | | | | | | | control and signals and such. Thanks, Gary! Clean up some miscellaneous bogons for Poul. Notes: svn path=/head/; revision=8828
* Shrink the boot floppy by removing all extraneous stuff. Also increaseJordan K. Hubbard1995-05-291-4/+6
| | | | | | | | | number of inodes. Fix various bugs reported by Poul. Implement VTY switching. Notes: svn path=/head/; revision=8825
* Sync to latest ftp-capable sysinstall. We're getting there!Jordan K. Hubbard1995-05-241-1/+2
| | | | Notes: svn path=/head/; revision=8722
* 1. Bring in the first cut of Poul's ftp routines. We still don'tJordan K. Hubbard1995-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. Notes: svn path=/head/; revision=8705
* Implement most of the CD extract code.Jordan K. Hubbard1995-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(). Notes: svn path=/head/; revision=8702
* Change vsystem to know that the shell is crunched in.Poul-Henning Kamp1995-05-201-2/+2
| | | | | | | Sanitize a couple of messages. Notes: svn path=/head/; revision=8658
* Try again to get cpio_extract() to work. Also fix the bogonJordan K. Hubbard1995-05-201-2/+7
| | | | | | | | I introduced with msgNotify() again. Sigh. I'll get it looking correct someday! Notes: svn path=/head/; revision=8649
* Clear the screen on msgNotifys.Jordan K. Hubbard1995-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. :( Notes: svn path=/head/; revision=8645
* 1. Fix a pathological bug I introduced in msgInfo(). Right idea, wrongJordan K. Hubbard1995-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. Notes: svn path=/head/; revision=8641
* Totally re-work cpio_extract.Jordan K. Hubbard1995-05-201-5/+13
| | | | | | | | Erase the annoying "Command output is on debugging screen" message when it's time to switch back. Notes: svn path=/head/; revision=8640
* Correct a few wording bogons in the menus.Jordan K. Hubbard1995-05-201-6/+1
| | | | | | | | Make notify NOT wipe the dialog off right after putting it up. Whoops. Kinda defeated the purpose! :-) Notes: svn path=/head/; revision=8639
* More assorted verbosity. Also don't log informational messages.Jordan K. Hubbard1995-05-191-3/+1
| | | | Notes: svn path=/head/; revision=8633
* 1. Copy the boot floppy into /stand before extracting the CPIO floppy.Jordan K. Hubbard1995-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. Notes: svn path=/head/; revision=8628