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