1 const char *default_timer_phrases[] = {
2 	"Elapsed Time = %v1% mins %v2% seconds\n",		/* 0 */
3 	"%v1% Bytes received in %v2% mins %v3% secs, BPS = %v4%\n",
4 	"%v1% BPS",
5 	"%v1% Bytes received\n"
6 };
7 
8 const char *default_chkh_phrases[] = {
9 	"Can not open %v1%, Skipping\n",		/* 0 */
10 	"Processing History File ",
11 	"Bogus line, ignoring: %v1%",
12 	"Processed history, %v1% dupes removed\n",
13 	"Out of Memory, skipping history check",
14 	"Processing History Database ",			/* 5 */
15 	"Unknown error reading history file %v1%\n",
16 };
17 
18 const char *default_dedupe_phrases[] = {
19 	"Deduping ",				/* 0 */
20 	"Out of Memory, skipping Dedupe\n",
21 	"Deduped, %v1% items remaining, %v2% dupes removed.\n",
22 };
23 
24 const char *default_killf_reasons[] = {
25 	"No Reason - major screwup",		/* 0 */
26 	"Over Hi-Line parameter",
27 	"Under Low-Line parameter",
28 	"Too many Newsgroups",
29 	"Not matched in Group Keep file",
30 	"Multiple Matches/Tiebreaker Used",     /* 5 */
31 	"Header match:",
32 	"Body match:",
33 	"Body Size exceeded, size=",
34 	"Body Size too small, size="
35 	"Too many Groups in Xref",             /* 10 */
36 };
37 
38 const char *default_killf_phrases[] = {
39 	"Out of memory\n",				/* 0 */
40 	"Out of memory, can't use killfiles\n",
41 	"Invalid parameter line %v1%\n",
42 	"Unable to log killed article\n",
43 	"ARTICLE KILLED: group %v1% - %v2% - MsgID %v3%\n",
44 	"Out of memory, skipping killfile regex processing\n",		/* 5 */
45 	"No character to process for quote, ignoring\n",
46 	"Nothing to scan for in header scan, ignoring\n",
47 	"Out of memory, skipping killfile header scan processing\n",
48 	"Unable to write article to disk\n",
49 	"Nothing to scan for in body scan, ignoring\n", /* 10 */
50 	"Invalid regular expression, ignoring, %v1% - %v2%\n"
51 	"No character to process for non-regex, ignoring\n",
52 };
53 
54 const char *default_killp_phrases[] = {
55 	"Out of memory processing killprg args",		/* 0 */
56 	"Setting up pipes",
57 	"Out of memory processing path",
58 	"%v1%: Unable to find, sorry",
59 	"Unable to write to child process",
60 	"Unable to read from child process",			/* 5 */
61 	"Process Error",
62 	"Child Process died",
63 	"Child process closed pipe, waiting for child to end\n",
64 	"Child exited with a status of %v1%\n",
65 	"Child exited due to signal %v1%\n",				/* 10 */
66 	"Child died, cause of death unknown\n",
67 	"killprg: Unable to log killed article",
68 	"killprg: ARTICLE KILLED: MsgID %v1%\n",
69 	"killperl: unable to allocate memory, ignoring\n",
70 	"killperl: error parsing program - %v1%\n", /* 15 */
71 	"killperl: evaluation error: %v1%\n",
72 	"killperl: invalid number of values returned: %v1%\n",
73 	"killperl: ARTICLE KILLED: MsgID %v1%\n",
74 	"killperl: Unable to log killed article",
75 };
76 
77 const char *default_sucku_phrases[] = {
78 	"%v1%: Not a directory\n",		/* 0 */
79 	"%v1%: Write permission denied\n",
80 	"Lock File %v1%, Invalid PID, aborting\n",
81 	"Lock File %v1%, stale PID, removed\n",
82 	"Lock File %v1%, stale PID, Unable to remove, aborting\n",
83 	"Lock file %v1%, PID exists, aborting\n",	/* 5 */
84 	"Unable to create Lock File %v1%\n",
85 	"Error writing to file %v1%\n",
86 	"Error reading from file %v1%\n",
87 	"Invalid call to move_file(), notify programer\n"
88 };
89 
90 const char *default_suck_phrases[] = {
91 	"suck: status log",		/* 0 */
92 	"Attempting to connect to %v1%\n",
93 	"Initiating restart\n",
94 	"No articles\n",
95 	"Closed connection to %v1%\n",
96 	"BPS",	/* 5*/
97 	"No local host name\n",
98 	"Cleaning up after myself\n",
99 	"Skipping Line: %v1%",
100 	"Invalid Line: %v1%",
101 	"Invalid number for maxread field: %v1% : ignoring\n",	/* 10 */
102 	"GROUP <%v1%> not found on host\n",
103 	"GROUP <%v1%>, unexpected response, %v2%\n",
104 	"%v1% - %v2%...High Article Nr is low, did host reset its counter?\n",
105 	"%v1% - limiting # of articles to %v2%\n",
106 	"%v1% - %v2% articles %v3%-%v4%\n",			/* 15 */
107 	"%v1% Articles to download\n",
108 	"Processing Supplemental List\n",
109 	"Supplemental Invalid Line: %v1%, ignoring\n",
110 	"Supplemental List Processed, %v1% articles added, %v2% articles to download\n",
111 	"Total articles to download: %v1%\n",		/* 20 */
112 	"Invalid Article Nr, skipping: %v1%\n",
113 	"Out of Memory, aborting\n",
114 	"Unable to write db record to disk, aborting\n",
115 	"Signal received, will finish downloading article.\n",
116 	"Notify programmer, problem with pause_signal()\n",	/* 25 */
117 	"\nGot Pause Signal, swapping pause values\n",
118 	"Weird Response to Authorization: %v1%",
119 	"Authorization Denied",
120 	"***Unexpected response to command, %v1%\n%v2%\n",
121 	"Moving newsrc to backup",				/* 30 */
122 	"Moving newrc to newsrc",
123 	"Removing Suck DB File",
124 	"Removing supplemental article file",
125 	"Invalid argument: %v1%\n",
126 	"No rnews batch file size provided\n",			/* 35 */
127 	"No postfix provided\n",
128 	"No directory name provided\n",
129 	"Invalid directory\n",
130 	"Invalid Batch arg: %v1%\n",
131 	"No Batch file name provided\n",			/* 40 */
132 	"No Error Log name provided\n",
133 	"No Status Log name provided\n",
134 	"No Userid provided\n",
135 	"No Passwd provided\n",
136 	"No Port Number provided\n",				/* 45 */
137 	"Invalid pause arguments\n",
138 	"No phrase file provided\n",
139 	"GROUP command not recognized, try the -M option\n",
140 	"No number of reconnects provided\n",
141 	"No host to post to provided\n", /* 50 */
142 	"No host name specified\n",
143 	"No timeout value specified\n",
144 	"No Article Number provided, can't use MsgNr mode\n",
145 	"Switching to MsgID mode\n",
146 	"Userid or Password not provided, unable to auto-authenticate\n", /* 55 */
147 	"No local active file provided\n",
148 	"Error writing article to file\n",
149 	"Can't pre-batch files, no batch mode specified\n",
150 	"Broken connection, aborting\n",
151 	"Restart: Skipping first article\n", /*60*/
152 	"No kill log file name provided\n",
153 	"No post filter provided\n",
154 	"-%v1%-%v2%-Message-ID too long, ignoring\n",
155 	"No history file path provided\n",
156 	"No default read for new active groups provided\n", /* 65 */
157 	"Invalid default read for new active group, must be <= 0\n",
158 	"Error setting up signal handlers",
159 	"Processing Nodownload File\n",
160         "Invalid line in Nodownload File %v1%, ignoring\n",
161         "Nodownload File processed, %v1% lines read, %v2% articles deleted, %v3% articles remaining\n", /* 70 */
162 	"%v1% - %v2%... High Number article is low, resetting last read to %v3%\n",
163 	"No batch_post count provide\n",
164 	"Userid or Password not provided, unable to authenticate\n",
165 	"No host name on command line, aborting\n",
166 };
167 
168 const char *default_batch_phrases[] = {
169 	"Calling lmove\n",	/* 0 */
170 	"Forking lmove\n",
171 	"Running lmove\n",
172 	"Building INN Batch File\n",
173 	"Building RNews Batch File(s)\n",
174 	"Posting Messages to %v1%\n", /* 5 */
175 	"No batchfile to process\n",
176 	"Invalid batchfile line %v1%, ignoring",
177 	"Can't post: %v1% : reason : %v2%",
178 	"Error posting: %v1% : reason : %v2%",
179 	"%v1% Messages Posted\n", /* 10 */
180 	"Article Not Wanted, deleting: %v1% - %v2%",
181 	"Article Rejected, deleting: %v1% - %v2%",
182 };
183 
184 const char *default_active_phrases[] = {
185 	"Unable to get active list from local host\n", /* 0 */
186 	"Out of memory reading local list\n",
187 	"Loading active file from %v1%\n",
188 	"Invalid group line in sucknewsrc, ignoring: %v1%\n",
189 	"Deleted group in sucknewsrc, ignoring: %v1%",
190 	"%v1% Articles to download\n", /* 5 */
191 	"No sucknewsrc to read, creating\n",
192 	"Out of memory reading ignore list, skipping\n",
193 	"Adding new groups from local active file to sucknewsrc\n",
194 	"Reading current sucknewsrc\n",
195 	"New Group - adding to sucknewsrc: %v1%\n", /* 10 */
196 	"Unable to open %v1%\n",
197 	"Active-ignore - error in expression %v1% - %v2%\n",
198 };
199 
200 const char *default_xover_phrases[] = {
201 	"Unexpected XOVER command error, aborting: %v1%", /* 0 */
202 	"Xover - Invalid Article Number - %v1%",
203 	"Xover - Invalid Subject or early termination of line - %v1%",
204 	"Xover - Invalid Author or early termination of line - %v1%",
205 	"Xover - Invalid Date or early termination of line - %v1%",
206 	"Xover - Invalid Article-ID or early termination of line - %v1%", /* 5 */
207 	"Xover - Invalid Reference or early termination of line - %v1%",
208 	"Xover - Invalid Byte Count - %v1%",
209 	"Xover - Invalid Line Count - %v1%",
210 	"ARTICLE KILLED XOVER: group %v1% - %v2% - MsgID %v3%\n",
211 	"Xover=%v1%\n", /* 10 */
212 	"Unable to log Xover-killed article",
213 	"Out of memory, unable to process Xover killfiles",
214 	"No Message-ID in XOVER-%v1%- skipping\n",
215 };
216 
217 const char *default_xover_reasons[] = {
218 	"Xover - Article too big", /* 0 */
219 	"Xover - Article too small",
220 	"Xover - Too many lines",
221 	"Xover - Too few lines",
222 	"Xover - Match on Header",
223 	"Xover - No Match on Group Keep file", /* 5 */
224 	"Xover - Multiple Matches/Tiebreaker used",
225 	"Xover - Too many Groups in Xref",
226 	"Xover - Match by external program",
227 	"Xover - Match by perl program"
228 };
229 
230 int nr_suck_phrases= sizeof(default_suck_phrases)/sizeof(default_suck_phrases[0]);
231 int nr_timer_phrases= sizeof(default_timer_phrases)/sizeof(default_timer_phrases[0]);
232 int nr_chkh_phrases= sizeof(default_chkh_phrases)/sizeof(default_chkh_phrases[0]);
233 int nr_dedupe_phrases= sizeof(default_dedupe_phrases)/sizeof(default_dedupe_phrases[0]);
234 int nr_killf_reasons= sizeof(default_killf_reasons)/sizeof(default_killf_reasons[0]);
235 int nr_killf_phrases= sizeof(default_killf_phrases)/sizeof(default_killf_phrases[0]);
236 int nr_killp_phrases= sizeof(default_killp_phrases)/sizeof(default_killp_phrases[0]);
237 int nr_sucku_phrases= sizeof(default_sucku_phrases)/sizeof(default_sucku_phrases[0]);
238 int nr_active_phrases=sizeof(default_active_phrases)/sizeof(default_active_phrases[0]);
239 int nr_batch_phrases=sizeof(default_batch_phrases)/sizeof(default_batch_phrases[0]);
240 int nr_xover_phrases=sizeof(default_xover_phrases)/sizeof(default_xover_phrases[0]);
241 int nr_xover_reasons=sizeof(default_xover_reasons)/sizeof(default_xover_reasons[0]);
242 
243