* Copyright (c) 1985, 1993
* The Regents of the University of California. All rights reserved.
* This module is believed to contain source code proprietary to AT&T.
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
static char sccsid
[] = "@(#)xqt.c 8.1 (Berkeley) 6/6/93";
* start up uucico for rmtname
/* start uucico for rmtname system */
signal(SIGQUIT
, SIG_IGN
);
signal(SIGKILL
, SIG_IGN
);
sprintf(opt
, "-s%s", rmtname
);
execl(UUCICO
, "uucico", "-r1", "-L", opt
, (char *)0);
execl(UUCICO
, "uucico", "-r1", opt
, (char *)0);
/* Under VMS/EUNICE release the batch job */
execl(STARTUUCP
, "startuucp", "uucico", "-r1", "-L", opt
, (char *)0);
execl(STARTUUCP
, "startuucp", "uucico", "-r1", opt
, (char *)0);
; /* Wait for it to finish!! */
signal(SIGQUIT
, SIG_IGN
);
signal(SIGKILL
, SIG_IGN
);
execl(UUXQT
, "uuxqt", (char *)0);
signal(SIGQUIT
, SIG_IGN
);
signal(SIGKILL
, SIG_IGN
);
sprintf(text
, "%s -r %s", UUCP
, str
);
execl(SHELL
, "sh", "-c", text
, CNULL
);
sleep(15); /* Give uucp chance to finish */