1999-09-20 02:17:43 +00:00
|
|
|
*** mshell.c.orig Sun Sep 19 11:00:53 1999
|
|
|
|
--- mshell.c Sun Sep 19 11:09:05 1999
|
|
|
|
***************
|
|
|
|
*** 26,33 ****
|
|
|
|
exec_string [DESCLEN],
|
|
|
|
*args [MAXARGS],
|
|
|
|
*menu_array [LINES],
|
|
|
|
! tmpword [WORDLEN],
|
|
|
|
! *malloc();
|
|
|
|
|
|
|
|
int i,
|
|
|
|
idx,
|
|
|
|
--- 26,32 ----
|
|
|
|
exec_string [DESCLEN],
|
|
|
|
*args [MAXARGS],
|
|
|
|
*menu_array [LINES],
|
|
|
|
! tmpword [WORDLEN];
|
|
|
|
|
|
|
|
int i,
|
|
|
|
idx,
|
|
|
|
***************
|
|
|
|
*** 35,42 ****
|
|
|
|
firsttime = TRUE,
|
|
|
|
dontdisplay = FALSE,
|
|
|
|
unix_flag,
|
|
|
|
! menu_flag,
|
|
|
|
! exit();
|
|
|
|
|
|
|
|
static jmp_buf topenv;
|
|
|
|
static int topenvset;
|
|
|
|
--- 34,40 ----
|
|
|
|
firsttime = TRUE,
|
|
|
|
dontdisplay = FALSE,
|
|
|
|
unix_flag,
|
|
|
|
! menu_flag;
|
|
|
|
|
|
|
|
static jmp_buf topenv;
|
|
|
|
static int topenvset;
|
|
|
|
***************
|
|
|
|
*** 49,55 ****
|
|
|
|
signal (SIGPIPE, SIG_IGN); /* ignore dead pipes */
|
|
|
|
log("enter", m);
|
|
|
|
|
|
|
|
! while TRUE {
|
|
|
|
|
|
|
|
if (!topenvset) {
|
|
|
|
topenvset = TRUE;
|
|
|
|
--- 47,53 ----
|
|
|
|
signal (SIGPIPE, SIG_IGN); /* ignore dead pipes */
|
|
|
|
log("enter", m);
|
|
|
|
|
|
|
|
! while (TRUE) {
|
|
|
|
|
|
|
|
if (!topenvset) {
|
|
|
|
topenvset = TRUE;
|
1994-09-24 03:57:13 +00:00
|
|
|
***************
|
|
|
|
*** 142,148 ****
|
|
|
|
|
|
|
|
if ( strcmp (action_string, NULLSTR) == 0 ) {
|
|
|
|
invalid_option = TRUE;
|
|
|
|
! printf ("\tNo such help option name as: %s\!\!\n", opt2);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
tmpword[0] = EOS;
|
1999-09-20 02:17:43 +00:00
|
|
|
--- 140,146 ----
|
1994-09-24 03:57:13 +00:00
|
|
|
|
|
|
|
if ( strcmp (action_string, NULLSTR) == 0 ) {
|
|
|
|
invalid_option = TRUE;
|
|
|
|
! printf ("\tNo such help option name as: %s!!\n", opt2);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
tmpword[0] = EOS;
|