Deleted Added
full compact
chat.c (22997) chat.c (23114)
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Most of codes are derived from chat.c by Karl Fox (karl@MorningStar.Com).
7 *
8 * Chat -- a program for automatic session establishment (i.e. dial

--- 4 unchanged lines hidden (view full) ---

13 * Please send all bug reports, requests for information, etc. to:
14 *
15 * Karl Fox <karl@MorningStar.Com>
16 * Morning Star Technologies, Inc.
17 * 1760 Zollinger Road
18 * Columbus, OH 43221
19 * (614)451-1883
20 *
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Most of codes are derived from chat.c by Karl Fox (karl@MorningStar.Com).
7 *
8 * Chat -- a program for automatic session establishment (i.e. dial

--- 4 unchanged lines hidden (view full) ---

13 * Please send all bug reports, requests for information, etc. to:
14 *
15 * Karl Fox <karl@MorningStar.Com>
16 * Morning Star Technologies, Inc.
17 * 1760 Zollinger Road
18 * Columbus, OH 43221
19 * (614)451-1883
20 *
21 * $Id$
21 * $Id: chat.c,v 1.16 1997/02/22 16:10:06 peter Exp $
22 *
23 * TODO:
24 * o Support more UUCP compatible control sequences.
25 * o Dialing shoud not block monitor process.
26 * o Reading modem by select should be unified into main.c
27 */
28#include "defs.h"
29#include <ctype.h>
30#include <sys/uio.h>
31#ifndef isblank
32#define isblank(c) ((c) == '\t' || (c) == ' ')
33#endif
34#include <sys/time.h>
35#include <fcntl.h>
36#include <errno.h>
22 *
23 * TODO:
24 * o Support more UUCP compatible control sequences.
25 * o Dialing shoud not block monitor process.
26 * o Reading modem by select should be unified into main.c
27 */
28#include "defs.h"
29#include <ctype.h>
30#include <sys/uio.h>
31#ifndef isblank
32#define isblank(c) ((c) == '\t' || (c) == ' ')
33#endif
34#include <sys/time.h>
35#include <fcntl.h>
36#include <errno.h>
37#include <sys/cdefs.h>
38#include <signal.h>
37#include "sig.h"
38#include <sys/wait.h>
39#include "timeout.h"
40#include "vars.h"
41
42#define IBSIZE 200
43
44static int TimeoutSec;

--- 545 unchanged lines hidden ---
39#include "sig.h"
40#include <sys/wait.h>
41#include "timeout.h"
42#include "vars.h"
43
44#define IBSIZE 200
45
46static int TimeoutSec;

--- 545 unchanged lines hidden ---