Deleted Added
full compact
7c7
< * $Id: msg.c,v 1.28.2.2 1995/06/02 15:31:31 jkh Exp $
---
> * $Id: msg.c,v 1.29.2.8 1995/10/22 21:38:17 jkh Exp $
55,57c55,57
< if (OptFlags & OPT_DEBUG)
< return TRUE;
< return FALSE;
---
> char *cp;
>
> return (cp = variable_get(VAR_DEBUG)) && strcmp(cp, "no");
219c219
< msgDebug("Switching back to VTY 0\n");
---
> msgDebug("Switching back to VTY1\n");
267c267
< msgDebug("Switching back to VTY 0\n");
---
> msgDebug("Switching back to VTY1\n");
301c301
< msgDebug("Switching back to VTY 0\n");
---
> msgDebug("Switching back to VTY1\n");
352c352
< msgInfo("Command output is on debugging screen - type ALT-F2 to see it");
---
> msgInfo("Command output is on VTY2 - type ALT-F2 to see it");
353a354,368
>
> /* Simple versions of msgConfirm() and msgNotify() for calling from scripts */
> int
> msgSimpleConfirm(char *str)
> {
> msgConfirm(str);
> return RET_SUCCESS;
> }
>
> int
> msgSimpleNotify(char *str)
> {
> msgNotify(str);
> return RET_SUCCESS;
> }