| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
accessing files from various types of media nice and abstracted away from
the wet-work involved in preparing, validating, and initializing those
types of media. This will be used for the package management system module
and other modules that need access to files and want to allow the user to
decide where those files come from (either in a scripted fashion, prompted
fashion, or any combination thereof).
Heavily inspired by sysinstall and even uses the same reserved words so
that scripts are portable. Coded over months, tested continuously through-
out, and reviewed several times.
Some notes about the changes:
- Move network-setting acquisition/validation routines to media/tcpip.subr
- The options screen from sysinstall has been converted to a dialog menu
- The "UFS" media choice is renamed to "Directory" to reflect how sysinstall
treats the choice and a new [true] "UFS" media choice has been added that
acts on real UFS partitions (such as external disks with disklabels).
- Many more help files have been resurrected from sysinstall (I noticed that
some of the content seems a bit dated; I gave them a once-over but they
could really use an update).
- A total of 10 media choices are presented (via mediaGetType) including:
CD/DVD, FTP, FTP Passive, HTTP Proxy, Directory, NFS, DOS, UFS, Floppy, USB
- Novel struct/device management layer for managing the issue of passing
more information than can comfortably fit in an argument list.
|
| |
|
|
|
|
|
|
|
| |
GZIP compressed manuals to appear in ./src instead of the appropriate obj dir.
PR: conf/175844
Submitted by: Dominique Goncalves <dominique.goncalves@gmail.com>
|
| |
|
|
|
|
| |
number of unnecessary forks).
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Reviewed by: jilles
|
| |
|
| |
|
| |
|
|
|
|
| |
running as an rvalue to a pipe).
|
|
|
|
| |
or both stdout and a file (precede $debugFile pathname with a plus-sign, `+').
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
bootstrapped on-include unless DIALOG_SELF_INITIALIZE is set to NO before-hand)
|
|
|
|
|
|
| |
transparent validators that can be used free of dialog(1) where needed.
Syntax/return of the original dialog(1)-based validators remains unchanged.
|
| |
|
|
|
|
| |
automatic initialization by setting appropriate variable to particular value.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
all one has to do is set the environment variable DEBUGGING to get the debug
messages to appear on the console.
|
|
|
|
| |
requesting input from the user.
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
|
|
|
| |
which was to self-initialize during the first function-call. This didn't work
so well because the first call was may or may-not be within a sub-shell
(which prevented proper setup of the pass-thru file descriptor, resulting in
dialogs that would not display).
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
| |
quad notation in IPv6 addresses.
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
|
|
|
|
|
|
| |
stable/9/usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
If /usr/sbin/sysinstall is linked to another filename, say
`/usr/local/bin/configPackages', then the basename will be used
as an implicit command name.
To get a list of modules you can link to, see `bsdconfig -h' output.
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
|
|
|
|
|
| |
problem with using a msgbox was one of truncation in the case of Xdialog(1)
and lack of screen real-estate (since the msgbox is not scrollable in X11
while a textbox is).
The textbox renders the text much better and is more appropriate for this
type of data display.
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
|
| |
acts like dialog(1) in that it returns exit status 2 when the help button is
chosen.
Approved by: adri (co-mentor) (implicit)
|
|
|
|
|
|
| |
into bsdconfig(8).
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
improve upon the system by giving the user a "Help" button instead of requiring
the user to press F1.
NOTE: In FreeBSD-9 and higher, dialog(1) does not support the F1 hook, so the
mechanism for providing help to the user had to be changed to a button.
This now means we can resurrect *.hlp files from usr.sbin/sysinstall/help/ as-
is and reusing them as-needed in bsdconfig (holding to the goal of losing as
little functionality from sysinstall as possible).
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
|
|
|
|
|
|
|
| |
function returns zero when $0 is the NULL string).
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
|
|
|
|
|
| |
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
|
|
|
|
|
| |
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
|
|
|
|
|
|
|
|
| |
Teach the dot module about the new location these includes moved to (as part
of r240684) and clean things up a bit.
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
|