From ncr-sd!ncrcae!hubcap!gatech!rutgers!deimos.cis.ksu.edu!kuhub.cc.ukans.edu!sloane Wed Feb 22 00:55:10 PST 1989 Article 11659 of comp.os.vms: Path: crash!ncr-sd!ncrcae!hubcap!gatech!rutgers!deimos.cis.ksu.edu!kuhub.cc.ukans.edu!sloane >From: sloane@kuhub.cc.ukans.edu (Bob Sloane) Newsgroups: comp.os.vms Subject: Bug fix for ANU News version 5.7. Message-ID: <3757@kuhub.cc.ukans.edu> Date: 20 Feb 89 12:54:07 GMT Organization: University of Kansas Academic Computing Services Lines: 44 Hi All, There is a bug in ANU News V5.7 which prevents posting to moderated news groups. The following changes need to be made to routine do_posting (in file NEWSPOST.C). Change: printf("Post to %s Moderator (%s)\nSpawning MAIL task ..\n", ga[g]->grp_name,post_address); _c$cks(lib$spawn(c$dsc(mail_cmd),0,0,0,0,0,0,0,0,0,0,0)); To: printf("Post to %s Moderator (%s)\nSpawning MAIL task ..\n", ga[g]->grp_name,post_address); if (screen_active) { display_brdcst(2); no_broad_trap(); smg$end_pasteboard_update(&pid); } _c$cks(lib$spawn(c$dsc(mail_cmd),0,0,0,0,0,0,0,0,0,0,0)); if (screen_active) { smg$begin_pasteboard_update(&pid); broad_trap(); } Also, those of you using Wollongong TCP/IP need to change the definition: struct host_ent dest_host; to: struct hostent dest_host; to avoid fatal compilation errors. There will still be some warnings, but they seem to be caused by problems in the Wollongong include files, and can be ignored (I hope :-). +-------------------+-------------------------------------+------------------+ | Bob Sloane \Internet: SLOANE@KUHUB.CC.UKANS.EDU/Anything I said is | | Computer Center \ BITNET: SLOANE@UKANVAX.BITNET / my opinion, not my | | University of Kansas\ AT&T: (913) 864-0444 / employer's. | +-----------------------+-----------------------------+----------------------+