Now the global version is used, so the signal handler
works correct.
struct tws *now;
volatile sig_atomic_t eflag = 0; /* flag to indecate interrupt */
struct tws *now;
volatile sig_atomic_t eflag = 0; /* flag to indecate interrupt */
+static volatile pid_t child_id;
/* flags for pair->p_flags */
#define P_NIL 0x00
/* flags for pair->p_flags */
#define P_NIL 0x00
static int
usr_pipe(int fd, char *cmd, char *pgm, char **vec, int suppress)
{
static int
usr_pipe(int fd, char *cmd, char *pgm, char **vec, int suppress)
{
int bytes, seconds, status, n;
struct stat st;
char *path;
int bytes, seconds, status, n;
struct stat st;
char *path;