History log of /freebsd-9.3-release/usr.sbin/sysinstall/msg.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 211417 17-Aug-2010 brucec

To restart, sysinstall calls execl. Since it will create a new process, we
can't check to see if sysinstall is running as init just by checking if the
PID is 0. Introduce a new option that sets the RunningAsInit flag, and update
the code to check RunningAsInit intstead of getpid().

PR: bin/38854
Submitted by: Peter Sedeffow <peter at trumanbrewery.com>
Approved by: rrs (mentor)
MFC after: 1 month


# 209782 07-Jul-2010 randi

Add support for remote logging to syslogd via an install.cfg variable.

Approved by: cperciva (mentor)
MFC after: 3 weeks


# 83351 11-Sep-2001 jkh

Return the *right* error codes for yes/no questions when non-interactive.

Submitted by: Alan Judge <Alan.Judge@eircom.net>


# 80674 30-Jul-2001 jkh

If we're set to non-interactive, we shouldn't ask the user yes/no questions
but simply return the default answer instead.


# 79304 05-Jul-2001 kris

Mark relevant functions __printflike()/__printf0like() and silence some of
the non-constant format string warnings.

MFC after: 1 week


# 70005 14-Dec-2000 jkh

Adapt sysinstall to use the new msgNoYes() function which assumes
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 :).


# 66834 08-Oct-2000 phk

Initiate deorbit burn sequence for <machine/console.h>.

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.


# 63115 14-Jul-2000 jhb

Ugh. Back out local changes that crept in with my last commit. :(


# 63113 14-Jul-2000 jhb

MFS: (yes, from -stable) Note that current.FreeBSD.org is a 5.0 snap server
now, and replace the releng3 3.0 snap entry with releng4.


# 54722 17-Dec-1999 jkh

In retrospect, msgNotify() should leave its contents on the screen
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.


# 54587 14-Dec-1999 jkh

Completely rip-out and redesign sysinstall's refresh model as well
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.


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 48482 02-Jul-1999 jkh

Eliminate some varargs abuse.


# 47542 27-May-1999 jkh

Do a clean-up pass on error/warning messages.


# 29628 20-Sep-1997 jkh

Fix conditional bogon in Label Editor [from Ed Gold]
Print info boxes without titles.


# 29247 09-Sep-1997 jkh

Eliminate an obviously redundant message title.


# 25052 20-Apr-1997 jkh

Sync with 2.2 and clean up some tortured english that was added.


# 22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

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.


# 20247 09-Dec-1996 jkh

As Paul has just pointed out, much of my strncpy() usage was either
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>


# 18612 01-Oct-1996 jkh

Saner screen refresh changes, part I.


# 17404 03-Aug-1996 jkh

Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().


# 17375 01-Aug-1996 jkh

Close PR#1542. Don't just assume 24 lines, get the tty size.
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.


# 17362 31-Jul-1996 jkh

Detect which partitions have already been created with `auto' so as not to create them
twice.

Various cosmetic tweaks.


# 17065 10-Jul-1996 jkh

Better error checking in helpfile expander.
Tart up some of the output a little.


# 16366 14-Jun-1996 jkh

Don't use some of the low-contrast text attributes I was using before - they
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.


# 16208 08-Jun-1996 jkh

Implement selective text attributes for the syscons vty / vt100 emulator
selection since an attribute which looks good on a color console doesn't
necessarily look good in an xterm.


# 15883 23-May-1996 jkh

Have both distribution and package extraction screens display the
transfer speed in KB/sec while fetching stuff; this gives you a better
idea if your link has crashed or is behaving oddly.


# 15788 16-May-1996 jkh

Fix some long-standing malloc bugs in the package handling code (freeing garbage
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().


# 15416 27-Apr-1996 jkh

Bump snapshot release date - looks like I was off by a couple
of days!

More display fixes to sysinstall and assorted tweaking.


# 15242 13-Apr-1996 jkh

1. Update all the copyrights to delete useless clauses 3 and 4.
2. Change more of the menu code over to new system.
3. Streamline label editor.


# 12661 07-Dec-1995 peter

Update the -current sources from the 2.1 branch.

Approved (in spirit) by: jkh


# 9202 11-Jun-1995 rgrimes

Merge RELENG_2_0_5 into HEAD


# 8881 30-May-1995 rgrimes

Remove trailing whitespace.


# 8837 29-May-1995 jkh

Sync up my work for the night. This should implement ALL possible
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.


# 8828 28-May-1995 jkh

Make the emergency holographic shell (on VTY4) actually work with job
control and signals and such. Thanks, Gary!

Clean up some miscellaneous bogons for Poul.


# 8825 28-May-1995 jkh

Shrink the boot floppy by removing all extraneous stuff. Also increase
number of inodes.

Fix various bugs reported by Poul. Implement VTY switching.


# 8722 24-May-1995 jkh

Sync to latest ftp-capable sysinstall. We're getting there!


# 8705 23-May-1995 jkh

1. Bring in the first cut of Poul's ftp routines. We still don't
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.


# 8702 22-May-1995 jkh

Implement most of the CD extract code.
Clean up a few last display bugs.
Add sanity checking that makes sure user creates root and swap partitions.
Add swap partitions with swapon().


# 8658 20-May-1995 phk

Change vsystem to know that the shell is crunched in.
Sanitize a couple of messages.


# 8649 20-May-1995 jkh

Try again to get cpio_extract() to work. Also fix the bogon
I introduced with msgNotify() again. Sigh. I'll get it looking
correct someday!


# 8645 20-May-1995 jkh

Clear the screen on msgNotifys.
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. :(


# 8641 20-May-1995 jkh

1. Fix a pathological bug I introduced in msgInfo(). Right idea, wrong
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.


# 8640 20-May-1995 jkh

Totally re-work cpio_extract.
Erase the annoying "Command output is on debugging screen" message
when it's time to switch back.


# 8639 20-May-1995 jkh

Correct a few wording bogons in the menus.
Make notify NOT wipe the dialog off right after putting
it up. Whoops. Kinda defeated the purpose! :-)


# 8633 19-May-1995 jkh

More assorted verbosity. Also don't log informational messages.


# 8628 19-May-1995 jkh

1. Copy the boot floppy into /stand before extracting the CPIO floppy.

2. On Justin's advice, remind the user when they should switch back
from the debugging screen, if they're looking over there.


# 8600 18-May-1995 jkh

Add some more debugging information and fix a few missing newlines.


# 8594 18-May-1995 jkh

Also log all user interactions to debugging log.


# 8556 16-May-1995 jkh

This will now compile and even scribble helpfully on your disks.
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!).


# 8438 11-May-1995 jkh

First round of changes after testing this on actual systems. Clean up
some of the badly displayed menus, use the proper notification box for
messages, make proceed work.


# 8347 08-May-1995 jkh

Ok, we should now create all filesystems, mount them and extract the
cpio floppy at this point.


# 8317 07-May-1995 jkh

Make this compile again. Poul and I need to sync up again.


# 8314 07-May-1995 jkh

Correct a few ordering errors in how the partitions were being displayed.


# 8302 05-May-1995 jkh

All the editors are finished. Now if I can just get a problem with libdisk
fixed, we should be able to fully set up the user's disk. Still to come
with next commit: filesystem setup, distribution extraction, final
configuration.


# 8281 04-May-1995 jkh

Everything but the partition editor is done. This commit is for MBR testing.


# 8278 04-May-1995 jkh

This will now write MBR entries - should be enough for testing.


# 8262 04-May-1995 jkh

My latest round of changes - make the "slices" editor work.


# 8208 01-May-1995 jkh

Commit my latest changes before having a nap. Still not close to done,
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.


# 8098 27-Apr-1995 jkh

This commit was generated by cvs2svn to compensate for changes in r8097,
which included commits to RCS files with non-trunk default branches.


# 8097 27-Apr-1995 jkh

Here is my first "framework" commit of the new sysinstall. There is a LOT
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).