summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/options.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-03-23 07:21:31 +0000
committerjkh <jkh@FreeBSD.org>1996-03-23 07:21:31 +0000
commit33dd2634029f993cc967dd2c850365cfa202d82e (patch)
tree5351c9675149d497a1f0ce4a474a1093a609459a /release/sysinstall/options.c
parentef4a30ef51083ce3376d731fbdb563eb6c3a327b (diff)
downloadFreeBSD-src-33dd2634029f993cc967dd2c850365cfa202d82e.zip
FreeBSD-src-33dd2634029f993cc967dd2c850365cfa202d82e.tar.gz
Make the editor a selectable option. Some people don't care for `ee'!
Diffstat (limited to 'release/sysinstall/options.c')
-rw-r--r--release/sysinstall/options.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/sysinstall/options.c b/release/sysinstall/options.c
index 9ea597d..c4e9a84 100644
--- a/release/sysinstall/options.c
+++ b/release/sysinstall/options.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
- * $Id: options.c,v 1.28 1996/03/19 12:08:00 jkh Exp $
+ * $Id: options.c,v 1.29 1996/03/21 09:30:12 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -104,6 +104,7 @@ mediaCheck(Option opt)
#define RELNAME_PROMPT "Please specify the release you wish to load:"
#define BPKG_PROMPT "Please specify the name of the HTML browser package:"
#define BBIN_PROMPT "Please specify a full pathname to the HTML browser binary:"
+#define EDITOR_PROMPT "Please specify the name of the text editor you wish to use:"
#define RETRY_PROMPT "Please specify the number of times to retry an FTP request:"
#define PKG_PROMPT "Please specify a temporary directory with lots of free space:"
@@ -122,6 +123,8 @@ static Option Options[] = {
OPT_IS_VAR, RETRY_PROMPT, VAR_FTP_RETRIES, varCheck },
{ "FTP username", "Username and password to use instead of anonymous",
OPT_IS_FUNC, mediaSetFtpUserPass, VAR_FTP_USER, varCheck },
+{ "Editor", "Which text editor to use during installation",
+ OPT_IS_VAR, EDITOR_PROMPT, VAR_EDITOR, varCheck },
{ "Tape Blocksize", "Tape media block size in 512 byte blocks",
OPT_IS_VAR, TAPE_PROMPT, VAR_TAPE_BLOCKSIZE, varCheck },
{ "Extract Detail", "How verbosely to display file name information during extractions",
OpenPOWER on IntegriCloud