diff --git a/src/sbbs3/scfg/scfgmsg.c b/src/sbbs3/scfg/scfgmsg.c index 637c191910eeec1e120f74491528dc930e73c438..1b1c5ad7fe449b286a8d442b74dbfc1c05257d64 100644 --- a/src/sbbs3/scfg/scfgmsg.c +++ b/src/sbbs3/scfg/scfgmsg.c @@ -389,8 +389,7 @@ of CRCs, maximum age of messages, storage method, and data directory. strcpy(cfg.sub[j]->origline,cfg.sub[k]->origline); strcpy(cfg.sub[j]->tagline,cfg.sub[k]->tagline); strcpy(cfg.sub[j]->data_dir,cfg.sub[k]->data_dir); - strcpy(cfg.sub[j]->echomail_sem - ,cfg.sub[k]->echomail_sem); + strcpy(cfg.sub[j]->post_sem,cfg.sub[k]->post_sem); cfg.sub[j]->maxmsgs=cfg.sub[k]->maxmsgs; cfg.sub[j]->maxcrcs=cfg.sub[k]->maxcrcs; cfg.sub[j]->maxage=cfg.sub[k]->maxage; @@ -511,7 +510,7 @@ export the current message group into. ,cfg.sub[j]->misc ,cfg.sub[j]->tagline ,cfg.sub[j]->origline - ,cfg.sub[j]->echomail_sem + ,cfg.sub[j]->post_sem ,cfg.sub[j]->newsgroup ,faddrtoa(&cfg.sub[j]->faddr,tmp) ); @@ -682,7 +681,7 @@ import into the current message group. sprintf(tmpsub.origline,"%.*s",50,str); if(!fgets(str,128,stream)) break; truncsp(str); - sprintf(tmpsub.echomail_sem,"%.*s",LEN_DIR,str); + sprintf(tmpsub.post_sem,"%.*s",LEN_DIR,str); if(!fgets(str,128,stream)) break; truncsp(str); SAFECOPY(tmpsub.newsgroup,str); diff --git a/src/sbbs3/scfg/scfgsub.c b/src/sbbs3/scfg/scfgsub.c index ed17e8db9548ec6454a5636be2d9f4290ae8e6c6..84290e54ce4e1844b831678790211e77a897c849 100644 --- a/src/sbbs3/scfg/scfgsub.c +++ b/src/sbbs3/scfg/scfgsub.c @@ -918,12 +918,6 @@ compatible mail programs you use support the LZH translation. sprintf(opt[n++],"%-27.27s%s","FidoNet Address" ,faddrtoa(&cfg.sub[i]->faddr,tmp)); sprintf(opt[n++],"EchoMail Origin Line"); - if(!cfg.sub[i]->echomail_sem[0]) - strcpy(str,cfg.echomail_sem); - else - strcpy(str,cfg.sub[i]->echomail_sem); - sprintf(opt[n++],"%-27.27s%.40s","EchoMail Semaphore File" - ,str); opt[n][0]=0; uifc.savnum=2; SETHELP(WHERE); @@ -1166,18 +1160,8 @@ If this option is blank, the default origin line is used. uifc.input(WIN_MID|WIN_SAV,0,0,nulstr,cfg.sub[i]->origline ,50,K_EDIT); break; - case 10: -SETHELP(WHERE); -/* -EchoMail Semaphore File: - -This is a filename that will be used as a semaphore (signal) to your -FidoNet front-end that new EchoMail has been created and the messages -should be re-scanned. -*/ - uifc.input(WIN_MID|WIN_SAV,0,17,"EchoMail Semaphore" - ,cfg.sub[i]->echomail_sem,50,K_EDIT); - break; } } + } + } break; case 15: while(1) { @@ -1197,6 +1181,7 @@ should be re-scanned. else strcpy(str,cfg.sub[i]->data_dir); sprintf(opt[n++],"%-27.27s%.40s","Storage Directory",str); + sprintf(opt[n++],"%-27.27s%.40s","Semaphore File",cfg.sub[i]->post_sem); opt[n][0]=0; uifc.savnum=2; SETHELP(WHERE); @@ -1315,7 +1300,22 @@ another drive or in another directory besides the default setting. */ uifc.input(WIN_MID|WIN_SAV,0,17,"Directory" ,cfg.sub[i]->data_dir,50,K_EDIT); - break; } } + break; + case 3: +SETHELP(WHERE); +/* +`Sub-board Semaphore File:` + +This is a filename that will be created as a semaphore (signal) to an +external program or event whenever a message is posted in this sub-board. +*/ + uifc.input(WIN_MID|WIN_SAV,0,17,"Semaphore File" + ,cfg.sub[i]->post_sem,50,K_EDIT); + break; + } + } break; - } } } + } + } + } }