Make the editor work again and we're done.

This commit is contained in:
Jordan K. Hubbard 1996-06-13 17:36:28 +00:00
parent 5d2541dab0
commit 16bf435eeb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16350
6 changed files with 18 additions and 33 deletions

View file

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: config.c,v 1.34 1996/06/08 07:02:18 jkh Exp $
* $Id: config.c,v 1.35 1996/06/12 14:20:16 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -420,14 +420,9 @@ configResolv(void)
int
configRoutedFlags(dialogMenuItem *self)
{
if (variable_get(VAR_ROUTEDFLAGS)) {
variable_unset(VAR_ROUTEDFLAGS);
return DITEM_SUCCESS | DITEM_REDRAW;
}
else
return variable_get_value(VAR_ROUTEDFLAGS,
"Specify the flags for routed; -q is the default, -s is\n"
"a good choice for gateway machines.") ? DITEM_SUCCESS : DITEM_FAILURE;
return variable_get_value(VAR_ROUTEDFLAGS,
"Specify the flags for routed; -q is the default, -s is\n"
"a good choice for gateway machines.") ? DITEM_SUCCESS : DITEM_FAILURE;
}
int

View file

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: install.c,v 1.99 1996/06/11 10:16:53 jkh Exp $
* $Id: install.c,v 1.100 1996/06/12 14:02:09 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -788,7 +788,7 @@ installVarDefaults(dialogMenuItem *self)
variable_set2(VAR_CPIO_VERBOSITY, "high");
variable_set2(VAR_TAPE_BLOCKSIZE, DEFAULT_TAPE_BLOCKSIZE);
if (RunningAsInit)
variable_set2(VAR_EDITOR, "/stand/ee");
variable_set2(VAR_EDITOR, "/usr/bin/ee");
else {
char *cp = getenv("EDITOR");

View file

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: config.c,v 1.34 1996/06/08 07:02:18 jkh Exp $
* $Id: config.c,v 1.35 1996/06/12 14:20:16 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -420,14 +420,9 @@ configResolv(void)
int
configRoutedFlags(dialogMenuItem *self)
{
if (variable_get(VAR_ROUTEDFLAGS)) {
variable_unset(VAR_ROUTEDFLAGS);
return DITEM_SUCCESS | DITEM_REDRAW;
}
else
return variable_get_value(VAR_ROUTEDFLAGS,
"Specify the flags for routed; -q is the default, -s is\n"
"a good choice for gateway machines.") ? DITEM_SUCCESS : DITEM_FAILURE;
return variable_get_value(VAR_ROUTEDFLAGS,
"Specify the flags for routed; -q is the default, -s is\n"
"a good choice for gateway machines.") ? DITEM_SUCCESS : DITEM_FAILURE;
}
int

View file

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: install.c,v 1.99 1996/06/11 10:16:53 jkh Exp $
* $Id: install.c,v 1.100 1996/06/12 14:02:09 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -788,7 +788,7 @@ installVarDefaults(dialogMenuItem *self)
variable_set2(VAR_CPIO_VERBOSITY, "high");
variable_set2(VAR_TAPE_BLOCKSIZE, DEFAULT_TAPE_BLOCKSIZE);
if (RunningAsInit)
variable_set2(VAR_EDITOR, "/stand/ee");
variable_set2(VAR_EDITOR, "/usr/bin/ee");
else {
char *cp = getenv("EDITOR");

View file

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: config.c,v 1.34 1996/06/08 07:02:18 jkh Exp $
* $Id: config.c,v 1.35 1996/06/12 14:20:16 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -420,14 +420,9 @@ configResolv(void)
int
configRoutedFlags(dialogMenuItem *self)
{
if (variable_get(VAR_ROUTEDFLAGS)) {
variable_unset(VAR_ROUTEDFLAGS);
return DITEM_SUCCESS | DITEM_REDRAW;
}
else
return variable_get_value(VAR_ROUTEDFLAGS,
"Specify the flags for routed; -q is the default, -s is\n"
"a good choice for gateway machines.") ? DITEM_SUCCESS : DITEM_FAILURE;
return variable_get_value(VAR_ROUTEDFLAGS,
"Specify the flags for routed; -q is the default, -s is\n"
"a good choice for gateway machines.") ? DITEM_SUCCESS : DITEM_FAILURE;
}
int

View file

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: install.c,v 1.99 1996/06/11 10:16:53 jkh Exp $
* $Id: install.c,v 1.100 1996/06/12 14:02:09 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -788,7 +788,7 @@ installVarDefaults(dialogMenuItem *self)
variable_set2(VAR_CPIO_VERBOSITY, "high");
variable_set2(VAR_TAPE_BLOCKSIZE, DEFAULT_TAPE_BLOCKSIZE);
if (RunningAsInit)
variable_set2(VAR_EDITOR, "/stand/ee");
variable_set2(VAR_EDITOR, "/usr/bin/ee");
else {
char *cp = getenv("EDITOR");