Make the editor work again and we're done.
This commit is contained in:
parent
449f66f922
commit
b8c4cd33ea
@ -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
|
||||
|
@ -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");
|
||||
|
||||
|
@ -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
|
||||
|
@ -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");
|
||||
|
||||
|
@ -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
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user