Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!cerritos!tanner From: tanner@cerritos.edu Newsgroups: news.software.anu-news Subject: Selecting initial registered newsgroups Message-ID: <4898.257d63a7@cerritos.edu> Date: 7 Dec 89 03:08:22 GMT Organization: Cerritos College, Norwalk CA Lines: 40 When users run News for the first time, they are registered for all newsgroups. The same is true for existing News readers and newly created newsgroups. I wanted to tailor News so that new users would be registered in a certain set of local newsgroups and no others. This can be done by creating NEWS_MANAGER:NEWSRC.TEMPLATE with NEWSRC. type entries for the registered newsgroups. You also need to change a couple of lines in News to not register new newsgroups: ************ File USER_DISK:NEWSFILES.OLD;2 342 newsgrp.grp_reg = 1; 343 newsgrp.grp_ia = newsgrp.grp_iasize = 0; ****** File USER_DISK:NEWSFILES.C;3 342 newsgrp.grp_reg = 0; /* [BT] was 1 */ 343 newsgrp.grp_ia = newsgrp.grp_iasize = 0; ************ ************ File USER_DISK:NEWSUTILITY.OLD;2 924 ga[i]->grp_reg = 1; 925 ga[i]->grp_display_indx = (cur_dir_type < DIR_NEW); ****** File USER_DISK:NEWSUTILITY.C;3 924 ga[i]->grp_reg = 0; /* [BT] was 1 */ 925 ga[i]->grp_display_indx = (cur_dir_type < DIR_NEW); ************ I would suggest to Geoff that the constants used should at least be made symbolic and placed in NEWSSITE.H so that we can choose which way News will act. Cheers, -Bruce -- Bruce Tanner (213) 860-2451 x 596 Tanner@Cerritos.EDU Cerritos College Norwalk, CA cerritos!tanner