chat.c (95289b278a615ee45551c70f0ac343c7a8243f33) | chat.c (391a2becf119235471047fabab35d36523784b0c) |
---|---|
1/*- 2 * Copyright (c) 1997 3 * David L Nugent <davidn@blaze.net.au>. 4 * All rights reserved. 5 * 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, is permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * For semi-intelligent modem handling. 24 */ 25 26#ifndef lint 27static const char rcsid[] = 28 "$FreeBSD$"; 29#endif /* not lint */ 30 | 1/*- 2 * Copyright (c) 1997 3 * David L Nugent <davidn@blaze.net.au>. 4 * All rights reserved. 5 * 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, is permitted provided that the following conditions --- 14 unchanged lines hidden (view full) --- 23 * For semi-intelligent modem handling. 24 */ 25 26#ifndef lint 27static const char rcsid[] = 28 "$FreeBSD$"; 29#endif /* not lint */ 30 |
31#include <sys/param.h> 32#include <sys/stat.h> | 31#include <sys/types.h> |
33#include <sys/ioctl.h> | 32#include <sys/ioctl.h> |
34#include <sys/resource.h> 35#include <sys/ttydefaults.h> | |
36#include <sys/utsname.h> | 33#include <sys/utsname.h> |
34 |
|
37#include <ctype.h> | 35#include <ctype.h> |
38#include <errno.h> 39#include <fcntl.h> 40#include <libutil.h> 41#include <locale.h> 42#include <setjmp.h> | |
43#include <signal.h> 44#include <stdlib.h> 45#include <string.h> 46#include <syslog.h> | 36#include <signal.h> 37#include <stdlib.h> 38#include <string.h> 39#include <syslog.h> |
47#include <time.h> 48#include <termios.h> | |
49#include <unistd.h> | 40#include <unistd.h> |
50#include <sys/socket.h> | |
51 52#include "extern.h" 53 54#define PAUSE_CH (unsigned char)'\xff' /* pause kludge */ 55 56#define CHATDEBUG_RECEIVE 0x01 57#define CHATDEBUG_SEND 0x02 58#define CHATDEBUG_EXPECT 0x04 --- 441 unchanged lines hidden --- | 41 42#include "extern.h" 43 44#define PAUSE_CH (unsigned char)'\xff' /* pause kludge */ 45 46#define CHATDEBUG_RECEIVE 0x01 47#define CHATDEBUG_SEND 0x02 48#define CHATDEBUG_EXPECT 0x04 --- 441 unchanged lines hidden --- |