printf("Type y or SP to add %s to your .newsrc.\nType Y to add all new groups to the end of your .newsrc.\nType N to add all new groups to the end of your .newsrc unsubscribed.\n", ngname)
; FLUSH;
}
ELSE
#endif
#ifdef TERSE
fputs("y or SP to add, Y to add all new groups, N to add all new groups unsubscribed\n",stdout) ; FLUSH;
#endif
fputs(ntoforget,stdout) ; FLUSH;
goto reask_add;
}
else if (*buf == 'n' || *buf == 'q') {
ng = add_newsgroup(ngname, '!');
return FALSE;
}
else if (*buf == 'y') {
ng = add_newsgroup(ngname, ':');
do_reloc = TRUE;
}
else if (*buf == 'Y') {
fputs(
"(I'll add all new newsgroups (subscribed) to the end of your .newsrc.)\n",
stdout);
addnewbydefault = ADDNEW_SUB;
printf("(Adding %s to end of your .newsrc subscribed)\n", ngname);
ng = add_newsgroup(ngname, ':');
do_reloc = FALSE;
}
else if (*buf == 'N') {
fputs(
"(I'll add all new newsgroups (unsubscribed) to the end of your .newsrc.)\n",
stdout);
addnewbydefault = ADDNEW_UNSUB;
printf("(Adding %s to end of your .newsrc unsubscribed)\n", ngname);
ng = add_newsgroup(ngname, '!');
do_reloc = FALSE;
}
else {
fputs(hforhelp,stdout) ; FLUSH;
settle_down();
goto reask_add;
}
}
}
else if (mode == 'i') /* adding new groups during init? */
return FALSE;
else if (rcchar[ng] == NEGCHAR) { /* unsubscribed? */
#ifdef VERBOSE
IF(verbose) {
sprintf(promptbuf,
"\nNewsgroup %s is currently unsubscribed to--resubscribe? [yn] ",ngname)