forked from quinot/taylor-uucp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cu.h
79 lines (59 loc) · 2.92 KB
/
cu.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/* cu.h
Header file for cu.
Copyright (C) 1992 Ian Lance Taylor
This file is part of the Taylor UUCP package.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
The author of the program may be contacted at [email protected].
*/
/* The user settable variables supported by cu. */
/* The escape character used to introduce a special command. The
escape character is the first character of this string. */
extern const char *zCuvar_escape;
/* Whether to delay for a second before printing the host name after
seeing an escape character. */
extern boolean fCuvar_delay;
/* The input characters which finish a line. The escape character is
only recognized following one of these characters. */
extern const char *zCuvar_eol;
/* Whether to transfer binary data (nonprintable characters other than
newline and tab) when sending a file. If this is FALSE, then
newline is changed to carriage return. */
extern boolean fCuvar_binary;
/* A prefix string to use before sending a binary character from a
file; this is only used if fCuvar_binary is TRUE. */
extern const char *zCuvar_binary_prefix;
/* Whether to check for echoes of characters sent when sending a file.
This is ignored if fCuvar_binary is TRUE. */
extern boolean fCuvar_echocheck;
/* A character to look for after each newline is sent when sending a
file. The character is the first character in this string, except
that a '\0' means that no echo check is done. */
extern const char *zCuvar_echonl;
/* The timeout to use when looking for an character. */
extern int cCuvar_timeout;
/* The character to use to kill a line if an echo check fails. The
first character in this string is sent. */
extern const char *zCuvar_kill;
/* The number of times to try resending a line if the echo check keeps
failing. */
extern int cCuvar_resend;
/* The string to send at the end of a file sent with ~>. */
extern const char *zCuvar_eofwrite;
/* The string to look for to finish a file received with ~<. For tip
this is a collection of single characters, but I don't want to do
that because it means that there are characters which cannot be
received. */
extern const char *zCuvar_eofread;
/* Whether to provide verbose information when sending or receiving a
file. */
extern boolean fCuvar_verbose;