m_reset ();
- return done (0);
+ done (0);
+ return 1;
}
continue;
if (buffer[0] == '?') {
printf ("commands:\n");
- print_sw (ALL, sw, "");
+ print_sw (ALL, sw, "", stdout);
printf ("type CTRL-D or use ``quit'' to leave %s\n",
invo_name);
continue;
parse (char *buffer, struct Cmd *cmdp)
{
int argp = 0;
- char c, *cp, *pp;
+ unsigned char c, *cp;
+ char *pp;
cmdp->line[0] = 0;
pp = cmdp->args[argp++] = cmdp->line;
pINI (void)
{
int i, vrsn;
- char *bp;
+ unsigned char *bp;
struct record rcs, *rc;
rc = &rcs;
case OK:
printf ("commands:\n");
- print_sw (ALL, sw, "");
+ print_sw (ALL, sw, "", stdout);
printf ("type ``quit'' to leave %s\n", invo_name);
fflush (stdout);
fflush (stderr);