From:	ADVAX::"mcnc!VM1.NoDak.EDU!glass%VIXVAX.MGI.COM" "William H. Glass" 23-APR-1991 14:59:06.42
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
CC:	
Subj:	Problem with NEWREGISTER=*/confirm

Received: by ADVAX.DECnet (utk-mail11 v1.5) ; Tue, 23 Apr 91 14:58:44 EDT
Received:  from mcnc by ge-dab.GE.COM (5.61/GE-DAB 1.15) with UUCP
	id AA25253 for ; Tue, 23 Apr 91 14:26:00 -0400
Received: from VM1.NoDak.EDU by mcnc.mcnc.org (5.59/MCNC/3-21-91)
	id AA01807; Tue, 23 Apr 91 10:49:29 -0400
	for ARISIA.DNET.ge.com!EVERHART
Message-Id: <9104231449.AA01807@mcnc.mcnc.org>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP R1.2.1MX) with BSMTP id 5138; Tue, 23 Apr 91 09:48:58 CDT
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 0737; Tue, 23 Apr 91 09:48:57 CDT
Date:         Tue, 23 Apr 91 06:37:44 GMT
Reply-To: "William H. Glass" <mcnc!VM1.NoDak.EDU!glass%VIXVAX.MGI.COM>
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
From: "William H. Glass" <mcnc!VM1.NoDak.EDU!glass%VIXVAX.MGI.COM>
Subject:      Problem with NEWREGISTER=*/confirm
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
 
   In 6.0-2 Geoff added a neat new feature that allowed the user to be
questioned about whether or not he wanted to register to any newsgroups
that weren't already in his NEWSRC file.  Did anyone notice that this
feature disappeared in 6.0-3?  Or was everyone like me, and immediately
turned it off, so you never noticed that it went away?
 
   Attached is a patch file to make 6.0-3 work like 6.0-2 did.  I also fixed
a couple of inconsistent capitalizations in some prompts.  By the way,
make sure that the account running the NEWSSKIM job has done a
SET PROFILE/NONEWREGISTER.  You don't want your batch job to get queried
about any newsgroups that you create from another account.
 
   Bill Glass
 
________________________________________________________________________________
 
*** newsprofile.c;1
--- newsprofile.c
**************
*** 270,276
 
  #if FAST_LOAD
    if (fast_loading) return;
! #else
 
    if (init_scanning) return;
 
--- 270,276 -----
 
  #if FAST_LOAD
    if (fast_loading) return;
! #endif
 
    if (init_scanning) return;
 
**************
*** 302,308
                sprintf(err_oline,"New newsgroup: %s, Registered",ga[g]->grp_nam
e);
              ga[g]->grp_reg = 1;
                if (conf) {
!               sprintf(prompt,"New Group: %s, Register? [Y]",ga[g]->grp_name);
                if ((do_it = ask_confirm(prompt,'Y')) != 1) {
                    ga[g]->grp_reg = 0;
                    sprintf(err_oline,"New newsgroup: %s, not registered",ga[g]-
>grp_name);
--- 302,308 -----
                sprintf(err_oline,"New newsgroup: %s, Registered",ga[g]->grp_nam
e);
              ga[g]->grp_reg = 1;
                if (conf) {
!               sprintf(prompt,"New newsgroup: %s, Register? [Y]",ga[g]->grp_nam
e);
                if ((do_it = ask_confirm(prompt,'Y')) != 1) {
                    ga[g]->grp_reg = 0;
                    sprintf(err_oline,"New newsgroup: %s, not registered",ga[g]-
>grp_name);
**************
*** 319,325
            sprintf(err_oline,"New newsgroup: %s, Registered",ga[g]->grp_name);
          ga[g]->grp_reg = 1;
          if (conf) {
!           sprintf(prompt,"New Newsgroup: %s, Register? [Y]",ga[g]->grp_name);
            if ((do_it = ask_confirm(prompt,'Y')) != 1) {
                ga[g]->grp_reg = 0;
                sprintf(err_oline,"New newsgroup: %s, not registered",ga[g]->grp
_name);
--- 319,325 -----
            sprintf(err_oline,"New newsgroup: %s, Registered",ga[g]->grp_name);
          ga[g]->grp_reg = 1;
          if (conf) {
!           sprintf(prompt,"New newsgroup: %s, Register? [Y]",ga[g]->grp_name);
            if ((do_it = ask_confirm(prompt,'Y')) != 1) {
                ga[g]->grp_reg = 0;
                sprintf(err_oline,"New newsgroup: %s, not registered",ga[g]->grp
_name);
**************
*** 344,350
          }
        }
      }
- #endif
  }
 
 
 
 
 
 
 
 
 
 
  void profile_write(f)
--- 344,349 -----
          }
        }
      }
  }
 
 
 
 
 
 
 
 
 
 
  void profile_write(f)
