/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2001 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* University Copyright- Copyright (c) 1982, 1986, 1988
* The Regents of the University of California
* All Rights Reserved
*
* University Acknowledgment- Portions of this document are derived from
* software developed by the University of California, Berkeley, and its
* contributors.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <libintl.h>
#include <stdlib.h>
#include "ftp_var.h"
#include <signal.h>
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
void
{
register int i, j;
struct cmd *c;
int len;
if (argc < 2) {
stop_timer();
printf("(macro name) ");
reset_timer();
makeargv();
}
if (argc < 2) {
code = -1;
return;
}
for (i = 0; i < macnum; ++i) {
break;
}
}
if (i == macnum) {
code = -1;
return;
}
TOP:
cp1++;
}
while (*cp1 != '\0') {
switch (*cp1) {
case '\\':
cp1++;
len = 1;
break;
case '$':
j = 0;
if (argc - 2 >= j) {
}
break;
}
loopflg = 1;
cp1 += 2;
}
break;
}
/* intentional drop through */
default:
len = 1;
break;
}
}
*cp2 = '\0';
makeargv();
code = -1;
return;
} else {
}
if (c == (struct cmd *)-1) {
printf("?Ambiguous command\n");
code = -1;
} else if (c == 0) {
printf("?Invalid command\n");
code = -1;
printf("Not connected.\n");
code = -1;
} else {
if (verbose) {
}
}
makeargv();
}
cp1++;
}
}
goto TOP;
}
}