More assorted verbosity. Also don't log informational messages.
This commit is contained in:
parent
1c1834210c
commit
c7c32addb2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8633
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: command.c,v 1.6 1995/05/18 09:01:44 jkh Exp $
|
* $Id: command.c,v 1.7 1995/05/18 23:36:21 gpalmer Exp $
|
||||||
*
|
*
|
||||||
* Copyright (c) 1995
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -172,7 +172,7 @@ command_execute(void)
|
|||||||
else {
|
else {
|
||||||
/* It's a function pointer - call it with the key and the data */
|
/* It's a function pointer - call it with the key and the data */
|
||||||
func = (commandFunc)commandStack[i]->cmds[j].ptr;
|
func = (commandFunc)commandStack[i]->cmds[j].ptr;
|
||||||
msgNotify("Executing internal command @ %0x", func);
|
msgNotify("%x: Execute(%s, %s)", func, commandStack[i]->key, commandStack[i]->cmds[j].data);
|
||||||
ret = (*func)(commandStack[i]->key, commandStack[i]->cmds[j].data);
|
ret = (*func)(commandStack[i]->key, commandStack[i]->cmds[j].data);
|
||||||
msgDebug("Function @ %x returns status %d\n", commandStack[i]->cmds[j].ptr, ret);
|
msgDebug("Function @ %x returns status %d\n", commandStack[i]->cmds[j].ptr, ret);
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: install.c,v 1.29 1995/05/19 01:49:57 gpalmer Exp $
|
* $Id: install.c,v 1.30 1995/05/19 15:56:01 jkh Exp $
|
||||||
*
|
*
|
||||||
* Copyright (c) 1995
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -186,6 +186,7 @@ make_filesystems(void)
|
|||||||
else {
|
else {
|
||||||
extern int makedevs(void);
|
extern int makedevs(void);
|
||||||
|
|
||||||
|
msgNotify("Making device files");
|
||||||
if (Mkdir("/mnt/dev", NULL)
|
if (Mkdir("/mnt/dev", NULL)
|
||||||
|| chdir("/mnt/dev")
|
|| chdir("/mnt/dev")
|
||||||
|| makedevs())
|
|| makedevs())
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: msg.c,v 1.13 1995/05/18 14:11:16 jkh Exp $
|
* $Id: msg.c,v 1.14 1995/05/19 15:56:02 jkh Exp $
|
||||||
*
|
*
|
||||||
* Copyright (c) 1995
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -61,8 +61,6 @@ msgYap(char *fmt, ...)
|
|||||||
mvaddstr(23, 0, errstr);
|
mvaddstr(23, 0, errstr);
|
||||||
attrset(attrs);
|
attrset(attrs);
|
||||||
refresh();
|
refresh();
|
||||||
if (OnVTY)
|
|
||||||
msgDebug("Informational message `%s'\n", errstr);
|
|
||||||
free(errstr);
|
free(errstr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: system.c,v 1.18 1995/05/19 04:17:38 jkh Exp $
|
* $Id: system.c,v 1.19 1995/05/19 16:58:58 jkh Exp $
|
||||||
*
|
*
|
||||||
* Jordan Hubbard
|
* Jordan Hubbard
|
||||||
*
|
*
|
||||||
@ -273,6 +273,7 @@ systemChangeScreenmap(const u_char newmap[])
|
|||||||
if (ioctl(0, PIO_SCRNMAP, newmap) < 0)
|
if (ioctl(0, PIO_SCRNMAP, newmap) < 0)
|
||||||
msgConfirm("Sorry! Unable to load the screenmap for %s",
|
msgConfirm("Sorry! Unable to load the screenmap for %s",
|
||||||
getenv("LANG"));
|
getenv("LANG"));
|
||||||
|
dialog_clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: command.c,v 1.6 1995/05/18 09:01:44 jkh Exp $
|
* $Id: command.c,v 1.7 1995/05/18 23:36:21 gpalmer Exp $
|
||||||
*
|
*
|
||||||
* Copyright (c) 1995
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -172,7 +172,7 @@ command_execute(void)
|
|||||||
else {
|
else {
|
||||||
/* It's a function pointer - call it with the key and the data */
|
/* It's a function pointer - call it with the key and the data */
|
||||||
func = (commandFunc)commandStack[i]->cmds[j].ptr;
|
func = (commandFunc)commandStack[i]->cmds[j].ptr;
|
||||||
msgNotify("Executing internal command @ %0x", func);
|
msgNotify("%x: Execute(%s, %s)", func, commandStack[i]->key, commandStack[i]->cmds[j].data);
|
||||||
ret = (*func)(commandStack[i]->key, commandStack[i]->cmds[j].data);
|
ret = (*func)(commandStack[i]->key, commandStack[i]->cmds[j].data);
|
||||||
msgDebug("Function @ %x returns status %d\n", commandStack[i]->cmds[j].ptr, ret);
|
msgDebug("Function @ %x returns status %d\n", commandStack[i]->cmds[j].ptr, ret);
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: install.c,v 1.29 1995/05/19 01:49:57 gpalmer Exp $
|
* $Id: install.c,v 1.30 1995/05/19 15:56:01 jkh Exp $
|
||||||
*
|
*
|
||||||
* Copyright (c) 1995
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -186,6 +186,7 @@ make_filesystems(void)
|
|||||||
else {
|
else {
|
||||||
extern int makedevs(void);
|
extern int makedevs(void);
|
||||||
|
|
||||||
|
msgNotify("Making device files");
|
||||||
if (Mkdir("/mnt/dev", NULL)
|
if (Mkdir("/mnt/dev", NULL)
|
||||||
|| chdir("/mnt/dev")
|
|| chdir("/mnt/dev")
|
||||||
|| makedevs())
|
|| makedevs())
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: msg.c,v 1.13 1995/05/18 14:11:16 jkh Exp $
|
* $Id: msg.c,v 1.14 1995/05/19 15:56:02 jkh Exp $
|
||||||
*
|
*
|
||||||
* Copyright (c) 1995
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -61,8 +61,6 @@ msgYap(char *fmt, ...)
|
|||||||
mvaddstr(23, 0, errstr);
|
mvaddstr(23, 0, errstr);
|
||||||
attrset(attrs);
|
attrset(attrs);
|
||||||
refresh();
|
refresh();
|
||||||
if (OnVTY)
|
|
||||||
msgDebug("Informational message `%s'\n", errstr);
|
|
||||||
free(errstr);
|
free(errstr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: system.c,v 1.18 1995/05/19 04:17:38 jkh Exp $
|
* $Id: system.c,v 1.19 1995/05/19 16:58:58 jkh Exp $
|
||||||
*
|
*
|
||||||
* Jordan Hubbard
|
* Jordan Hubbard
|
||||||
*
|
*
|
||||||
@ -273,6 +273,7 @@ systemChangeScreenmap(const u_char newmap[])
|
|||||||
if (ioctl(0, PIO_SCRNMAP, newmap) < 0)
|
if (ioctl(0, PIO_SCRNMAP, newmap) < 0)
|
||||||
msgConfirm("Sorry! Unable to load the screenmap for %s",
|
msgConfirm("Sorry! Unable to load the screenmap for %s",
|
||||||
getenv("LANG"));
|
getenv("LANG"));
|
||||||
|
dialog_clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: command.c,v 1.6 1995/05/18 09:01:44 jkh Exp $
|
* $Id: command.c,v 1.7 1995/05/18 23:36:21 gpalmer Exp $
|
||||||
*
|
*
|
||||||
* Copyright (c) 1995
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -172,7 +172,7 @@ command_execute(void)
|
|||||||
else {
|
else {
|
||||||
/* It's a function pointer - call it with the key and the data */
|
/* It's a function pointer - call it with the key and the data */
|
||||||
func = (commandFunc)commandStack[i]->cmds[j].ptr;
|
func = (commandFunc)commandStack[i]->cmds[j].ptr;
|
||||||
msgNotify("Executing internal command @ %0x", func);
|
msgNotify("%x: Execute(%s, %s)", func, commandStack[i]->key, commandStack[i]->cmds[j].data);
|
||||||
ret = (*func)(commandStack[i]->key, commandStack[i]->cmds[j].data);
|
ret = (*func)(commandStack[i]->key, commandStack[i]->cmds[j].data);
|
||||||
msgDebug("Function @ %x returns status %d\n", commandStack[i]->cmds[j].ptr, ret);
|
msgDebug("Function @ %x returns status %d\n", commandStack[i]->cmds[j].ptr, ret);
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: install.c,v 1.29 1995/05/19 01:49:57 gpalmer Exp $
|
* $Id: install.c,v 1.30 1995/05/19 15:56:01 jkh Exp $
|
||||||
*
|
*
|
||||||
* Copyright (c) 1995
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -186,6 +186,7 @@ make_filesystems(void)
|
|||||||
else {
|
else {
|
||||||
extern int makedevs(void);
|
extern int makedevs(void);
|
||||||
|
|
||||||
|
msgNotify("Making device files");
|
||||||
if (Mkdir("/mnt/dev", NULL)
|
if (Mkdir("/mnt/dev", NULL)
|
||||||
|| chdir("/mnt/dev")
|
|| chdir("/mnt/dev")
|
||||||
|| makedevs())
|
|| makedevs())
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: msg.c,v 1.13 1995/05/18 14:11:16 jkh Exp $
|
* $Id: msg.c,v 1.14 1995/05/19 15:56:02 jkh Exp $
|
||||||
*
|
*
|
||||||
* Copyright (c) 1995
|
* Copyright (c) 1995
|
||||||
* Jordan Hubbard. All rights reserved.
|
* Jordan Hubbard. All rights reserved.
|
||||||
@ -61,8 +61,6 @@ msgYap(char *fmt, ...)
|
|||||||
mvaddstr(23, 0, errstr);
|
mvaddstr(23, 0, errstr);
|
||||||
attrset(attrs);
|
attrset(attrs);
|
||||||
refresh();
|
refresh();
|
||||||
if (OnVTY)
|
|
||||||
msgDebug("Informational message `%s'\n", errstr);
|
|
||||||
free(errstr);
|
free(errstr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* This is probably the last program in the `sysinstall' line - the next
|
* This is probably the last program in the `sysinstall' line - the next
|
||||||
* generation being essentially a complete rewrite.
|
* generation being essentially a complete rewrite.
|
||||||
*
|
*
|
||||||
* $Id: system.c,v 1.18 1995/05/19 04:17:38 jkh Exp $
|
* $Id: system.c,v 1.19 1995/05/19 16:58:58 jkh Exp $
|
||||||
*
|
*
|
||||||
* Jordan Hubbard
|
* Jordan Hubbard
|
||||||
*
|
*
|
||||||
@ -273,6 +273,7 @@ systemChangeScreenmap(const u_char newmap[])
|
|||||||
if (ioctl(0, PIO_SCRNMAP, newmap) < 0)
|
if (ioctl(0, PIO_SCRNMAP, newmap) < 0)
|
||||||
msgConfirm("Sorry! Unable to load the screenmap for %s",
|
msgConfirm("Sorry! Unable to load the screenmap for %s",
|
||||||
getenv("LANG"));
|
getenv("LANG"));
|
||||||
|
dialog_clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user