Major rewrite of the upper layers.  Copes with delaybody groups now. Major rewrite of the upper layers.  Copes with delaybody groups now. Can handle multiple -M <MID> options now, multiple -N newsgroup and -N news.groups.pattern, can fine-tune download of delayed bodies, headers and regular articles. Move functionality from main to small functions process_options, deactivate_server, find_server, insert_server, print_fetchnews_mode, make use of create_server. Move subtasks of doxover in functions create_pseudo_header, write_pseudo_header, make use of parsekill_xref_line. Implement orthogonal handling of -[BHPR] options. Remove legacy fopenmsgid, join functionality of do_group in processupstream.  Rewrite do_server to handle errors gracefully and get multiple MIDs. Reset signal handlers for SIGTERM and SIGALRM after fetching, update output counts.
Major rewrite of the upper layers.  Copes with delaybody groups now.
Major rewrite of the upper layers.  Copes with delaybody groups now.
Can handle multiple -M <MID> options now, multiple -N newsgroup and
-N news.groups.pattern, can fine-tune download of delayed bodies,
headers and regular articles.
Move functionality from main to small functions process_options,
deactivate_server, find_server, insert_server, print_fetchnews_mode,
make use of create_server.
Move subtasks of doxover in functions create_pseudo_header,
write_pseudo_header, make use of parsekill_xref_line.
Implement orthogonal handling of -[BHPR] options.
Remove legacy fopenmsgid, join functionality of do_group in
processupstream.  Rewrite do_server to handle errors gracefully and
get multiple MIDs.
Reset signal handlers for SIGTERM and SIGALRM after fetching,
update output counts.

TODO:
output for stored delaybody headers not correct, few error checks missing.
fix forceactive handling.

BackupTheBerlios/leafnode,BackupTheBerlios/leafnode,BackupTheBerlios/leafnode,BackupTheBerlios/leafnode