diff --git a/src/sbbs3/scfg/scfgchat.c b/src/sbbs3/scfg/scfgchat.c index 9867776d61c3378dba09d21ebfe7aef515181005..63397d2939370b5d1e916cdff37078c8c9b5e9a8 100644 --- a/src/sbbs3/scfg/scfgchat.c +++ b/src/sbbs3/scfg/scfgchat.c @@ -1,5 +1,3 @@ -/* $Id: scfgchat.c,v 1.23 2018/06/21 20:22:07 rswindell Exp $ */ - /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * @@ -114,8 +112,8 @@ void page_cfg() done=0; while(!done) { k=0; - sprintf(opt[k++],"%-27.27s%.40s","Command Line",cfg.page[i]->cmd); - sprintf(opt[k++],"%-27.27s%.40s","Access Requirements",cfg.page[i]->arstr); + sprintf(opt[k++],"%-27.27s%s","Command Line",cfg.page[i]->cmd); + sprintf(opt[k++],"%-27.27s%s","Access Requirements",cfg.page[i]->arstr); sprintf(opt[k++],"%-27.27s%s","Intercept I/O" ,(cfg.page[i]->misc&XTRN_STDIO) ? "Standard" :cfg.page[i]->misc&XTRN_CONIO ? "Console":"No"); diff --git a/src/sbbs3/scfg/scfgmsg.c b/src/sbbs3/scfg/scfgmsg.c index 30183d39450f66aff51b39f023d2e4207c698397..1db94148cd8e5b4fee89064bd4a14e64c4fb172f 100644 --- a/src/sbbs3/scfg/scfgmsg.c +++ b/src/sbbs3/scfg/scfgmsg.c @@ -1,5 +1,3 @@ -/* $Id: scfgmsg.c,v 1.74 2020/08/18 06:03:09 rswindell Exp $ */ - /* Configuring Message Options and Message Groups (but not sub-boards) */ /**************************************************************************** @@ -642,7 +640,7 @@ void msgs_cfg() sprintf(opt[j++],"%-27.27s%s","Long Name",cfg.grp[grpnum]->lname); sprintf(opt[j++],"%-27.27s%s","Short Name",cfg.grp[grpnum]->sname); sprintf(opt[j++],"%-27.27s%s","Internal Code Prefix",cfg.grp[grpnum]->code_prefix); - sprintf(opt[j++],"%-27.27s%.40s","Access Requirements" + sprintf(opt[j++],"%-27.27s%s","Access Requirements" ,cfg.grp[grpnum]->arstr); sprintf(opt[j++],"%-27.27s%s","Sort Group by Sub-board", area_sort_desc[cfg.grp[grpnum]->sort]); strcpy(opt[j++],"Clone Options"); diff --git a/src/sbbs3/scfg/scfgnet.c b/src/sbbs3/scfg/scfgnet.c index d2305c2e6eb69a0f059d6999c6d9e2784da3507b..f002815f0858c8a2f0210fc7226c9de859a5365a 100644 --- a/src/sbbs3/scfg/scfgnet.c +++ b/src/sbbs3/scfg/scfgnet.c @@ -1,6 +1,3 @@ -/* $Id: scfgnet.c,v 1.49 2020/05/01 17:21:48 rswindell Exp $ */ -// vi: tabstop=4 - /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * @@ -14,21 +11,9 @@ * See the GNU General Public License for more details: gpl.txt or * * http://www.fsf.org/copyleft/gpl.html * * * - * Anonymous FTP access to the most recent released source is available at * - * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net * - * * - * Anonymous CVS access to the development source and modification history * - * is available at cvs.synchro.net:/cvsroot/sbbs, example: * - * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs login * - * (just hit return, no password is necessary) * - * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs checkout src * - * * * For Synchronet coding style and modification guidelines, see * * http://www.synchro.net/source.html * * * - * You are encouraged to submit any modifications (preferably in Unix diff * - * format) via e-mail to mods@synchro.net * - * * * Note: If this box doesn't appear square, then you need to fix your tabs. * ****************************************************************************/ @@ -293,13 +278,13 @@ void net_cfg() strcat(tmp, ", ..."); sprintf(opt[i++],"%-33.33s%s" ,"System Addresses",tmp); - sprintf(opt[i++],"%-33.33s%.40s" + sprintf(opt[i++],"%-33.33s%s" ,"Default Origin Line", cfg.origline); - sprintf(opt[i++],"%-33.33s%.40s" + sprintf(opt[i++],"%-33.33s%s" ,"NetMail Semaphore",cfg.netmail_sem); - sprintf(opt[i++],"%-33.33s%.40s" + sprintf(opt[i++],"%-33.33s%s" ,"EchoMail Semaphore",cfg.echomail_sem); - sprintf(opt[i++],"%-33.33s%.40s" + sprintf(opt[i++],"%-33.33s%s" ,"NetMail Directory",cfg.netmail_dir); sprintf(opt[i++],"%-33.33s%s" ,"Allow Sending of NetMail" @@ -652,9 +637,9 @@ void net_cfg() i=0; sprintf(opt[i++],"%-27.27s%s" ,"System Address",cfg.sys_inetaddr); - sprintf(opt[i++],"%-27.27s%.40s" + sprintf(opt[i++],"%-27.27s%s" ,"Inbound E-mail Semaphore",cfg.smtpmail_sem); - sprintf(opt[i++],"%-27.27s%.40s" + sprintf(opt[i++],"%-27.27s%s" ,"Outbound E-mail Semaphore",cfg.inetmail_sem); sprintf(opt[i++],"%-27.27s%s" ,"Allow Sending of E-mail" @@ -839,9 +824,9 @@ void qhub_edit(int num) while(!done) { i=0; sprintf(opt[i++],"%-27.27s%s","Hub System ID",cfg.qhub[num]->id); - sprintf(opt[i++],"%-27.27s%.40s","Pack Command Line",cfg.qhub[num]->pack); - sprintf(opt[i++],"%-27.27s%.40s","Unpack Command Line",cfg.qhub[num]->unpack); - sprintf(opt[i++],"%-27.27s%.40s","Call-out Command Line",cfg.qhub[num]->call); + sprintf(opt[i++],"%-27.27s%s","Pack Command Line",cfg.qhub[num]->pack); + sprintf(opt[i++],"%-27.27s%s","Unpack Command Line",cfg.qhub[num]->unpack); + sprintf(opt[i++],"%-27.27s%s","Call-out Command Line",cfg.qhub[num]->call); if(cfg.qhub[num]->node == NODE_ANY) SAFECOPY(str, "Any"); else diff --git a/src/sbbs3/scfg/scfgnode.c b/src/sbbs3/scfg/scfgnode.c index 54c80f74ea3d88ecebd4449270bff7c3491c6fdc..cb3844283ff656ecc569277d8763dd087a49558a 100644 --- a/src/sbbs3/scfg/scfgnode.c +++ b/src/sbbs3/scfg/scfgnode.c @@ -1,5 +1,3 @@ -/* $Id: scfgnode.c,v 1.37 2020/08/08 19:24:27 rswindell Exp $ */ - /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * @@ -13,24 +11,12 @@ * See the GNU General Public License for more details: gpl.txt or * * http://www.fsf.org/copyleft/gpl.html * * * - * Anonymous FTP access to the most recent released source is available at * - * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net * - * * - * Anonymous CVS access to the development source and modification history * - * is available at cvs.synchro.net:/cvsroot/sbbs, example: * - * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs login * - * (just hit return, no password is necessary) * - * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs checkout src * - * * * For Synchronet coding style and modification guidelines, see * * http://www.synchro.net/source.html * * * - * You are encouraged to submit any modifications (preferably in Unix diff * - * format) via e-mail to mods@synchro.net * - * * * Note: If this box doesn't appear square, then you need to fix your tabs. * - ****************************************************************************/ - + ****************************************************************************/ + #include "scfg.h" /* These correlate with the LOG_* definitions in syslog.h/gen_defs.h */ @@ -184,7 +170,7 @@ void node_cfg() while(1) { i=0; sprintf(opt[i++],"%-27.27s%s","Phone Number",cfg.node_phone); - sprintf(opt[i++],"%-27.27s%.40s","Logon Requirements",cfg.node_arstr); + sprintf(opt[i++],"%-27.27s%s","Logon Requirements",cfg.node_arstr); strcpy(opt[i++],"Toggle Options..."); strcpy(opt[i++],"Advanced Options..."); opt[i][0]=0; @@ -390,9 +376,9 @@ void node_cfg() ,cfg.sec_warn); sprintf(opt[i++],"%-27.27s%u seconds","Inactivity Disconnection" ,cfg.sec_hangup); - sprintf(opt[i++],"%-27.27s%.40s","Daily Event",cfg.node_daily); - sprintf(opt[i++],"%-27.27s%.40s","Node Directory",cfg.node_path[cfg.node_num-1]); - sprintf(opt[i++],"%-27.27s%.40s","Text Directory",cfg.text_dir); + sprintf(opt[i++],"%-27.27s%s","Daily Event",cfg.node_daily); + sprintf(opt[i++],"%-27.27s%s","Node Directory",cfg.node_path[cfg.node_num-1]); + sprintf(opt[i++],"%-27.27s%s","Text Directory",cfg.text_dir); opt[i][0]=0; uifc.helpbuf= "`Node Advanced Options:`\n" diff --git a/src/sbbs3/scfg/scfgsub.c b/src/sbbs3/scfg/scfgsub.c index 5e0cb7fae8db281f5ffca50da8a7eb977429b70d..c4e5663c98da6f23f84def6232cc67b0b8efad66 100644 --- a/src/sbbs3/scfg/scfgsub.c +++ b/src/sbbs3/scfg/scfgsub.c @@ -1,5 +1,3 @@ -/* $Id: scfgsub.c,v 1.62 2020/05/27 02:49:22 rswindell Exp $ */ - /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * @@ -13,21 +11,9 @@ * See the GNU General Public License for more details: gpl.txt or * * http://www.fsf.org/copyleft/gpl.html * * * - * Anonymous FTP access to the most recent released source is available at * - * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net * - * * - * Anonymous CVS access to the development source and modification history * - * is available at cvs.synchro.net:/cvsroot/sbbs, example: * - * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs login * - * (just hit return, no password is necessary) * - * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs checkout src * - * * * For Synchronet coding style and modification guidelines, see * * http://www.synchro.net/source.html * * * - * You are encouraged to submit any modifications (preferably in Unix diff * - * format) via e-mail to mods@synchro.net * - * * * Note: If this box doesn't appear square, then you need to fix your tabs. * ****************************************************************************/ @@ -344,15 +330,15 @@ void sub_cfg(uint grpnum) sprintf(opt[n++],"%-27.27s%s%s","Internal Code" ,cfg.grp[cfg.sub[i]->grp]->code_prefix, cfg.sub[i]->code_suffix); sprintf(opt[n++],"%-27.27s%s","Newsgroup Name",cfg.sub[i]->newsgroup); - sprintf(opt[n++],"%-27.27s%.40s","Access Requirements" + sprintf(opt[n++],"%-27.27s%s","Access Requirements" ,cfg.sub[i]->arstr); - sprintf(opt[n++],"%-27.27s%.40s","Reading Requirements" + sprintf(opt[n++],"%-27.27s%s","Reading Requirements" ,cfg.sub[i]->read_arstr); - sprintf(opt[n++],"%-27.27s%.40s","Posting Requirements" + sprintf(opt[n++],"%-27.27s%s","Posting Requirements" ,cfg.sub[i]->post_arstr); - sprintf(opt[n++],"%-27.27s%.40s","Operator Requirements" + sprintf(opt[n++],"%-27.27s%s","Operator Requirements" ,cfg.sub[i]->op_arstr); - sprintf(opt[n++],"%-27.27s%.40s","Moderated Posting User" + sprintf(opt[n++],"%-27.27s%s","Moderated Posting User" ,cfg.sub[i]->mod_arstr); if(cfg.sub[i]->maxmsgs) sprintf(str, "%"PRIu32, cfg.sub[i]->maxmsgs); @@ -1421,8 +1407,8 @@ void sub_cfg(uint grpnum) sprintf(str,"%ssubs/",cfg.data_dir); 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); + sprintf(opt[n++],"%-27.27s%s","Storage Directory",str); + sprintf(opt[n++],"%-27.27s%s","Semaphore File",cfg.sub[i]->post_sem); sprintf(opt[n++],"%-27.27s%u","Pointer File Index",cfg.sub[i]->ptridx); sprintf(opt[n++],"%-27.27sNow %u / Was %u","Sub-board Index", i, cfg.sub[i]->subnum); opt[n][0]=0; diff --git a/src/sbbs3/scfg/scfgsys.c b/src/sbbs3/scfg/scfgsys.c index 7268b9e9ef9656f4e301de9cdd1445d43bb696f7..7cf34735cfeb179292d3c0d50b26014a7712dd81 100644 --- a/src/sbbs3/scfg/scfgsys.c +++ b/src/sbbs3/scfg/scfgsys.c @@ -1,5 +1,3 @@ -/* $Id: scfgsys.c,v 1.63 2020/08/18 06:03:09 rswindell Exp $ */ - /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * @@ -13,21 +11,9 @@ * See the GNU General Public License for more details: gpl.txt or * * http://www.fsf.org/copyleft/gpl.html * * * - * Anonymous FTP access to the most recent released source is available at * - * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net * - * * - * Anonymous CVS access to the development source and modification history * - * is available at cvs.synchro.net:/cvsroot/sbbs, example: * - * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs login * - * (just hit return, no password is necessary) * - * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs checkout src * - * * * For Synchronet coding style and modification guidelines, see * * http://www.synchro.net/source.html * * * - * You are encouraged to submit any modifications (preferably in Unix diff * - * format) via e-mail to mods@synchro.net * - * * * Note: If this box doesn't appear square, then you need to fix your tabs. * ****************************************************************************/ @@ -1334,13 +1320,13 @@ void sys_cfg(void) while(!done) { i=0; sprintf(opt[i++],"%-27.27s%s","New User Magic Word",cfg.new_magic); - sprintf(opt[i++],"%-27.27s%.40s","Data Directory" + sprintf(opt[i++],"%-27.27s%s","Data Directory" ,cfg.data_dir); - sprintf(opt[i++],"%-27.27s%.40s","Logs Directory" + sprintf(opt[i++],"%-27.27s%s","Logs Directory" ,cfg.logs_dir); - sprintf(opt[i++],"%-27.27s%.40s","Exec Directory" + sprintf(opt[i++],"%-27.27s%s","Exec Directory" ,cfg.exec_dir); - sprintf(opt[i++],"%-27.27s%.40s","Mods Directory" + sprintf(opt[i++],"%-27.27s%s","Mods Directory" ,cfg.mods_dir); sprintf(opt[i++],"%-27.27s%s","Input SIF Questionnaire" ,cfg.new_sif); @@ -1358,7 +1344,7 @@ void sys_cfg(void) ,cfg.sys_lastnode); sprintf(opt[i++],"%-27.27s%s","Phone Number Format" ,cfg.sys_phonefmt); - sprintf(opt[i++],"%-27.27s%.40s","Sysop Chat Override" + sprintf(opt[i++],"%-27.27s%s","Sysop Chat Override" ,cfg.sys_chat_arstr); if(cfg.user_backup_level) sprintf(str,"%hu",cfg.user_backup_level); diff --git a/src/sbbs3/scfg/scfgxfr2.c b/src/sbbs3/scfg/scfgxfr2.c index 1e70d07a5c1db1de031666a35a31bf0247944fed..c85037852b64966b5001d61f0ecbe16be11350ed 100644 --- a/src/sbbs3/scfg/scfgxfr2.c +++ b/src/sbbs3/scfg/scfgxfr2.c @@ -1,5 +1,3 @@ -/* $Id: scfgxfr2.c,v 1.62 2019/08/12 06:21:28 rswindell Exp $ */ - /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * @@ -13,21 +11,9 @@ * See the GNU General Public License for more details: gpl.txt or * * http://www.fsf.org/copyleft/gpl.html * * * - * Anonymous FTP access to the most recent released source is available at * - * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net * - * * - * Anonymous CVS access to the development source and modification history * - * is available at cvs.synchro.net:/cvsroot/sbbs, example: * - * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs login * - * (just hit return, no password is necessary) * - * cvs -d :pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs checkout src * - * * * For Synchronet coding style and modification guidelines, see * * http://www.synchro.net/source.html * * * - * You are encouraged to submit any modifications (preferably in Unix diff * - * format) via e-mail to mods@synchro.net * - * * * Note: If this box doesn't appear square, then you need to fix your tabs. * ****************************************************************************/ @@ -388,11 +374,11 @@ void xfer_cfg() sprintf(opt[j++],"%-27.27s%s","Long Name",cfg.lib[i]->lname); sprintf(opt[j++],"%-27.27s%s","Short Name",cfg.lib[i]->sname); sprintf(opt[j++],"%-27.27s%s","Internal Code Prefix",cfg.lib[i]->code_prefix); - sprintf(opt[j++],"%-27.27s%.40s","Parent Directory" + sprintf(opt[j++],"%-27.27s%s","Parent Directory" ,cfg.lib[i]->parent_path); - sprintf(opt[j++],"%-27.27s%.40s","Access Requirements" + sprintf(opt[j++],"%-27.27s%s","Access Requirements" ,cfg.lib[i]->arstr); - sprintf(opt[j++],"%-27.27s%.40s","Access to Sub-directories" + sprintf(opt[j++],"%-27.27s%s","Access to Sub-directories" ,cfg.lib[i]->misc&LIB_DIRS ? "Yes":"No"); sprintf(opt[j++],"%-27.27s%s","Sort Library By Directory", area_sort_desc[cfg.lib[i]->sort]); strcpy(opt[j++],"Clone Options"); @@ -1143,15 +1129,15 @@ void dir_cfg(uint libnum) sprintf(opt[n++],"%-27.27s%s","Short Name",cfg.dir[i]->sname); sprintf(opt[n++],"%-27.27s%s%s","Internal Code" ,cfg.lib[cfg.dir[i]->lib]->code_prefix, cfg.dir[i]->code_suffix); - sprintf(opt[n++],"%-27.27s%.40s","Access Requirements" + sprintf(opt[n++],"%-27.27s%s","Access Requirements" ,cfg.dir[i]->arstr); - sprintf(opt[n++],"%-27.27s%.40s","Upload Requirements" + sprintf(opt[n++],"%-27.27s%s","Upload Requirements" ,cfg.dir[i]->ul_arstr); - sprintf(opt[n++],"%-27.27s%.40s","Download Requirements" + sprintf(opt[n++],"%-27.27s%s","Download Requirements" ,cfg.dir[i]->dl_arstr); - sprintf(opt[n++],"%-27.27s%.40s","Operator Requirements" + sprintf(opt[n++],"%-27.27s%s","Operator Requirements" ,cfg.dir[i]->op_arstr); - sprintf(opt[n++],"%-27.27s%.40s","Exemption Requirements" + sprintf(opt[n++],"%-27.27s%s","Exemption Requirements" ,cfg.dir[i]->ex_arstr); SAFECOPY(path, cfg.dir[i]->path); if(!path[0]) { @@ -1171,7 +1157,7 @@ void dir_cfg(uint libnum) SAFECOPY(str, path); else SAFEPRINTF(str, "[%s]", path); - sprintf(opt[n++],"%-27.27s%.40s","Transfer File Path" + sprintf(opt[n++],"%-27.27s%s","Transfer File Path" ,str); sprintf(opt[n++],"%-27.27s%u","Maximum Number of Files" ,cfg.dir[i]->maxfiles); @@ -1867,9 +1853,9 @@ void dir_cfg(uint libnum) sprintf(str,"[%sdirs/]",cfg.data_dir); else strcpy(str,cfg.dir[i]->data_dir); - sprintf(opt[n++],"%-27.27s%.40s","Data Directory" + sprintf(opt[n++],"%-27.27s%s","Data Directory" ,str); - sprintf(opt[n++],"%-27.27s%.40s","Upload Semaphore File" + sprintf(opt[n++],"%-27.27s%s","Upload Semaphore File" ,cfg.dir[i]->upload_sem); sprintf(opt[n++],"%-27.27s%s","Sort Value and Direction" , cfg.dir[i]->sort==SORT_NAME_A ? "Name Ascending" diff --git a/src/sbbs3/scfg/scfgxtrn.c b/src/sbbs3/scfg/scfgxtrn.c index e1695e3cd7b0157af637b5877855276a49627a0f..6f788b5861392407f6a41d8dce17e2e88222450f 100644 --- a/src/sbbs3/scfg/scfgxtrn.c +++ b/src/sbbs3/scfg/scfgxtrn.c @@ -346,9 +346,9 @@ void fevents_cfg() while(1) { i=0; - sprintf(opt[i++],"%-32.32s%.40s","Logon Event",cfg.sys_logon); - sprintf(opt[i++],"%-32.32s%.40s","Logout Event",cfg.sys_logout); - sprintf(opt[i++],"%-32.32s%.40s","Daily Event",cfg.sys_daily); + sprintf(opt[i++],"%-32.32s%s","Logon Event",cfg.sys_logon); + sprintf(opt[i++],"%-32.32s%s","Logout Event",cfg.sys_logout); + sprintf(opt[i++],"%-32.32s%s","Daily Event",cfg.sys_daily); opt[i][0]=0; uifc.helpbuf= "`External Events:`\n" @@ -420,7 +420,7 @@ void tevents_cfg() while(1) { for(i=0;i<cfg.total_events && i<MAX_OPTS;i++) - sprintf(opt[i],"%-8.8s %.50s",cfg.event[i]->code,cfg.event[i]->cmd); + sprintf(opt[i],"%-8.8s %s",cfg.event[i]->code,cfg.event[i]->cmd); opt[i][0]=0; j=WIN_SAV|WIN_ACT|WIN_CHE|WIN_RHT; if(cfg.total_events) @@ -487,8 +487,8 @@ void tevents_cfg() while(!done) { k=0; sprintf(opt[k++],"%-32.32s%s","Internal Code",cfg.event[i]->code); - sprintf(opt[k++],"%-32.32s%.40s","Start-up Directory",cfg.event[i]->dir); - sprintf(opt[k++],"%-32.32s%.40s","Command Line",cfg.event[i]->cmd); + sprintf(opt[k++],"%-32.32s%s","Start-up Directory",cfg.event[i]->dir); + sprintf(opt[k++],"%-32.32s%s","Command Line",cfg.event[i]->cmd); sprintf(opt[k++],"%-32.32s%s","Enabled" ,cfg.event[i]->misc&EVENT_DISABLED ? "No":"Yes"); if(cfg.event[i]->node == NODE_ANY) @@ -981,16 +981,16 @@ void xtrn_cfg(uint section) k=0; sprintf(opt[k++],"%-27.27s%s","Name",cfg.xtrn[i]->name); sprintf(opt[k++],"%-27.27s%s","Internal Code",cfg.xtrn[i]->code); - sprintf(opt[k++],"%-27.27s%.40s","Start-up Directory",cfg.xtrn[i]->path); - sprintf(opt[k++],"%-27.27s%.40s","Command Line",cfg.xtrn[i]->cmd); - sprintf(opt[k++],"%-27.27s%.40s","Clean-up Command Line",cfg.xtrn[i]->clean); + sprintf(opt[k++],"%-27.27s%s","Start-up Directory",cfg.xtrn[i]->path); + sprintf(opt[k++],"%-27.27s%s","Command Line",cfg.xtrn[i]->cmd); + sprintf(opt[k++],"%-27.27s%s","Clean-up Command Line",cfg.xtrn[i]->clean); if(cfg.xtrn[i]->cost) sprintf(str,"%"PRIu32" credits",cfg.xtrn[i]->cost); else strcpy(str,"None"); sprintf(opt[k++],"%-27.27s%s","Execution Cost",str); - sprintf(opt[k++],"%-27.27s%.40s","Access Requirements",cfg.xtrn[i]->arstr); - sprintf(opt[k++],"%-27.27s%.40s","Execution Requirements" + sprintf(opt[k++],"%-27.27s%s","Access Requirements",cfg.xtrn[i]->arstr); + sprintf(opt[k++],"%-27.27s%s","Execution Requirements" ,cfg.xtrn[i]->run_arstr); sprintf(opt[k++],"%-27.27s%s","Multiple Concurrent Users" ,cfg.xtrn[i]->misc&MULTIUSER ? "Yes" : "No"); @@ -1583,7 +1583,7 @@ void xedit_cfg() while(1) { for(i=0;i<cfg.total_xedits && i<MAX_OPTS;i++) - sprintf(opt[i],"%-8.8s %.40s",cfg.xedit[i]->code,cfg.xedit[i]->rcmd); + sprintf(opt[i],"%-8.8s %s",cfg.xedit[i]->code,cfg.xedit[i]->rcmd); opt[i][0]=0; j=WIN_SAV|WIN_ACT|WIN_CHE|WIN_RHT; if(cfg.total_xedits) @@ -1668,8 +1668,8 @@ void xedit_cfg() k=0; sprintf(opt[k++],"%-32.32s%s","Name",cfg.xedit[i]->name); sprintf(opt[k++],"%-32.32s%s","Internal Code",cfg.xedit[i]->code); - sprintf(opt[k++],"%-32.32s%.40s","Command Line",cfg.xedit[i]->rcmd); - sprintf(opt[k++],"%-32.32s%.40s","Access Requirements",cfg.xedit[i]->arstr); + sprintf(opt[k++],"%-32.32s%s","Command Line",cfg.xedit[i]->rcmd); + sprintf(opt[k++],"%-32.32s%s","Access Requirements",cfg.xedit[i]->arstr); sprintf(opt[k++],"%-32.32s%s%s","Intercept I/O" ,cfg.xedit[i]->misc&XTRN_STDIO ? "Standard" :cfg.xedit[i]->misc&XTRN_CONIO ? "Console":"No" @@ -2368,7 +2368,7 @@ void xtrnsec_cfg() k=0; sprintf(opt[k++],"%-27.27s%s","Name",cfg.xtrnsec[i]->name); sprintf(opt[k++],"%-27.27s%s","Internal Code",cfg.xtrnsec[i]->code); - sprintf(opt[k++],"%-27.27s%.40s","Access Requirements" + sprintf(opt[k++],"%-27.27s%s","Access Requirements" ,cfg.xtrnsec[i]->arstr); sprintf(opt[k++],"%s","Available Online Programs..."); opt[k][0]=0; @@ -2431,7 +2431,7 @@ void hotkey_cfg(void) while(1) { for(i=0;i<cfg.total_hotkeys && i<MAX_OPTS;i++) - sprintf(opt[i],"Ctrl-%c %.40s" + sprintf(opt[i],"Ctrl-%c %s" ,cfg.hotkey[i]->key+'@' ,cfg.hotkey[i]->cmd); opt[i][0]=0; @@ -2516,7 +2516,7 @@ void hotkey_cfg(void) k=0; sprintf(opt[k++],"%-27.27sCtrl-%c","Global Hot Key" ,cfg.hotkey[i]->key+'@'); - sprintf(opt[k++],"%-27.27s%.40s","Command Line",cfg.hotkey[i]->cmd); + sprintf(opt[k++],"%-27.27s%s","Command Line",cfg.hotkey[i]->cmd); opt[k][0]=0; uifc.helpbuf= "`Global Hot Key Event:`\n"