Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commits (1)
  • Rob Swindell's avatar
    Fix-ups for the "continuous random tone" sysop chat pager · 1903e398
    Rob Swindell authored
    I haven't played with this chat pager in *years*! The lowest tones were inaudible (raise the range from 0-800Hz to 400-1200Hz).
    Increase the msgabort() tone from 1 to 10ms, sounds like those computerized voice recognition phone systems now.
    
    Remove the redundant "<user> paged you to chat" notifications (and log message) when turning *off* the chat pager.
    1903e398
......@@ -691,11 +691,12 @@ bool sbbs_t::sysop_page(void)
|| (cfg.sys_chat_ar[0] && chk_ar(cfg.sys_chat_ar,&useron,&client))
|| useron.exempt&FLAG('C')) {
logline("C", "paged sysop for chat");
sprintf(str, "%s paged you to chat", useron.alias);
notify(&cfg, 1, str, NULL);
ftouch(syspage_semfile);
if(!(sys_status&SS_SYSPAGE)) {
logline("C", "paged sysop for chat");
sprintf(str, "%s paged you to chat", useron.alias);
notify(&cfg, 1, str, NULL);
ftouch(syspage_semfile);
}
for(i=0;i<cfg.total_pages;i++)
if(chk_ar(cfg.page[i]->ar,&useron,&client))
break;
......
......@@ -1355,7 +1355,7 @@ bool sbbs_t::msgabort(bool clear)
static ulong counter;
if(sys_status&SS_SYSPAGE && !(++counter%100))
sbbs_beep(sbbs_random(800),1);
sbbs_beep(400 + sbbs_random(800), 10);
if(sys_status&SS_ABORT) {
if(clear)
......
......@@ -87,11 +87,12 @@ int sbbs_t::inkey(long mode, unsigned long timeout)
{
int ch=0;
ch=kbincom(this,timeout);
ch=kbincom(this,timeout);
if(sys_status&SS_SYSPAGE)
sbbs_beep(400 + sbbs_random(800), ch == NOINP ? 100 : 10);
if(ch == NOINP) {
if(sys_status&SS_SYSPAGE)
sbbs_beep(sbbs_random(800),100);
if(mode & K_NUL) // distinguish between timeout and '\0'
return NOINP;
return 0;
......