...
 
Commits (1)
......@@ -1010,7 +1010,7 @@ void shell_cfg()
"\n"
"This is a list of `Command Shells` configured for your system.\n"
"Command shells are the programmable command and menu structures which\n"
"are available for your BBS.\n"
"are available for the users of your BBS's terminal server.\n"
"\n"
"To add a command shell section, select the desired location with the\n"
"arrow keys and hit ~ INS ~.\n"
......
......@@ -47,8 +47,14 @@
#define SETHELP(where) uifc.sethelp(where)
#define SCFG_CMDLINE_PREFIX_HELP "\n" \
"Command lines may begin with a special `prefix` character to indicate:\n" \
"\n" \
" `*` Program is either a JavaScript (`.js`) or Baja (`.bin`) module\n" \
" `?` Program is a JavaScript (`.js`) module\n"
#define SCFG_CMDLINE_SPEC_HELP "\n" \
"The following is a list of commonly-used command-line specifiers:\n" \
"The following is a list of commonly-used command line specifiers:\n" \
"\n" \
" `%f` The path/filename of the file to act upon or door/game `drop file`\n" \
" `%s` File specification (e.g. `*.txt`) or the current `Startup Directory`\n" \
......@@ -70,7 +76,6 @@
"For a complete list of the supported command-line specifiers, see:\n" \
"`http://wiki.synchro.net/config:cmdline`\n"
/*************/
/* Constants */
/*************/
......
......@@ -75,6 +75,7 @@ void page_cfg()
"`External Chat Pager Command Line:`\n"
"\n"
"This is the command line to execute for this external chat pager.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
if(uifc.input(WIN_MID|WIN_SAV,0,0,"Command Line",str,50
......@@ -145,6 +146,7 @@ void page_cfg()
"`External Chat Pager Command Line:`\n"
"\n"
"This is the command line to execute for this external chat pager.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
strcpy(str,cfg.page[i]->cmd);
......
......@@ -1505,10 +1505,18 @@ void msg_opts()
uifc.helpbuf=
"`Extra Attribute Codes...`\n"
"\n"
"Synchronet can support the native text attribute codes of other BBS\n"
"programs in messages (menus, posts, e-mail, etc.) To enable the extra\n"
"attribute codes for another BBS program, set the corresponding option\n"
"to `Yes`.\n"
"Synchronet can support the native text attribute (e.g. color) codes of\n"
"other BBS programs in messages (menus, posts, e-mail, etc.) To enable\n"
"extra attribute codes for another BBS program, set the corresponding\n"
"option to `Yes`.\n"
"\n"
"- WWIV color codes are preceded by a Ctrl-C (ASCII 3) character.\n"
"- PCBoard color codes are of the form `@Xxx` where `xx` are hex digits.\n"
"- Wildcat color codes are of the form `@xx@` where `xx` are hex digits.\n"
"- Celerity color codes are of the form `|x` where `x` is an alpha char.\n"
"- Renegade color codes are of the form `|xx` where `xx` are decimal digits.\n"
"\n"
"See `http://wiki.synchro.net/custom:colors` for details.\n"
;
j=0;
......
......@@ -445,7 +445,7 @@ void net_cfg()
"FidoNet front-end that new NetMail has been created and the messages\n"
"should be re-scanned.\n"
"\n"
"`Command-line specifiers may be included in the semaphore filename.`\n"
"`Command line specifiers may be included in the semaphore filename.`\n"
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,0,"NetMail Semaphore"
......@@ -459,7 +459,7 @@ void net_cfg()
"FidoNet front-end that new EchoMail has been created and the messages\n"
"should be re-scanned.\n"
"\n"
"`Command-line specifiers may be included in the semaphore filename.`\n"
"`Command line specifiers may be included in the semaphore filename.`\n"
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,0,"EchoMail Semaphore"
......@@ -701,7 +701,7 @@ void net_cfg()
"external Internet e-mail processors that new mail has been received\n"
"and the message base should be re-scanned.\n"
"\n"
"`Command-line specifiers may be included in the semaphore filename.`\n"
"`Command line specifiers may be included in the semaphore filename.`\n"
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,0,"Inbound Semaphore"
......@@ -715,7 +715,7 @@ void net_cfg()
"external Internet gateways (if supported) that new mail has been created\n"
"and the message base should be re-scanned.\n"
"\n"
"`Command-line specifiers may be included in the semaphore filename.`\n"
"`Command line specifiers may be included in the semaphore filename.`\n"
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,0,"Outbound Semaphore"
......@@ -937,6 +937,7 @@ void qhub_edit(int num)
"\n"
"This is the command line to use to create (compress) REP packets for\n"
"this QWK network hub.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,0,""
......@@ -948,6 +949,7 @@ void qhub_edit(int num)
"\n"
"This is the command line to use to extract (decompress) QWK packets from\n"
"this QWK network hub.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,0,""
......@@ -959,6 +961,7 @@ void qhub_edit(int num)
"\n"
"This is the command line to use to initiate a call-out to this QWK\n"
"network hub.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,0,""
......
......@@ -513,6 +513,7 @@ void node_cfg()
"\n"
"An event can be any valid command line. If multiple programs or commands\n"
"are required, use a batch file or shell script.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,10,"Daily Event"
......
......@@ -337,7 +337,7 @@ void xfer_opts()
,cfg.fview[i]->ext,sizeof(cfg.fview[i]->ext)-1,K_EDIT);
break;
case 1:
uifc.helpbuf = SCFG_CMDLINE_SPEC_HELP;
uifc.helpbuf = SCFG_CMDLINE_PREFIX_HELP SCFG_CMDLINE_SPEC_HELP;
uifc.input(WIN_MID|WIN_SAV,0,0
,"Command"
,cfg.fview[i]->cmd,sizeof(cfg.fview[i]->cmd)-1,K_EDIT);
......@@ -468,7 +468,7 @@ void xfer_opts()
,cfg.ftest[i]->ext,sizeof(cfg.ftest[i]->ext)-1,K_EDIT);
break;
case 1:
uifc.helpbuf = SCFG_CMDLINE_SPEC_HELP;
uifc.helpbuf = SCFG_CMDLINE_PREFIX_HELP SCFG_CMDLINE_SPEC_HELP;
uifc.input(WIN_MID|WIN_SAV,0,0
,"Command"
,cfg.ftest[i]->cmd,sizeof(cfg.ftest[i]->cmd)-1,K_EDIT);
......@@ -602,7 +602,7 @@ void xfer_opts()
,cfg.dlevent[i]->ext,sizeof(cfg.dlevent[i]->ext)-1,K_EDIT);
break;
case 1:
uifc.helpbuf = SCFG_CMDLINE_SPEC_HELP;
uifc.helpbuf = SCFG_CMDLINE_PREFIX_HELP SCFG_CMDLINE_SPEC_HELP;
uifc.input(WIN_MID|WIN_SAV,0,0
,"Command"
,cfg.dlevent[i]->cmd,sizeof(cfg.dlevent[i]->cmd)-1,K_EDIT);
......@@ -727,7 +727,7 @@ void xfer_opts()
,cfg.fextr[i]->ext,sizeof(cfg.fextr[i]->ext)-1,K_EDIT);
break;
case 1:
uifc.helpbuf = SCFG_CMDLINE_SPEC_HELP;
uifc.helpbuf = SCFG_CMDLINE_PREFIX_HELP SCFG_CMDLINE_SPEC_HELP;
uifc.input(WIN_MID|WIN_SAV,0,0
,"Command"
,cfg.fextr[i]->cmd,sizeof(cfg.fextr[i]->cmd)-1,K_EDIT);
......@@ -845,7 +845,7 @@ void xfer_opts()
,cfg.fcomp[i]->ext,sizeof(cfg.fcomp[i]->ext)-1,K_EDIT);
break;
case 1:
uifc.helpbuf = SCFG_CMDLINE_SPEC_HELP;
uifc.helpbuf = SCFG_CMDLINE_PREFIX_HELP SCFG_CMDLINE_SPEC_HELP;
uifc.input(WIN_MID|WIN_SAV,0,0
,"Command"
,cfg.fcomp[i]->cmd,sizeof(cfg.fcomp[i]->cmd)-1,K_EDIT);
......@@ -998,31 +998,31 @@ void xfer_opts()
getar(str,cfg.prot[i]->arstr);
break;
case 3:
uifc.helpbuf = SCFG_CMDLINE_SPEC_HELP;
uifc.helpbuf = SCFG_CMDLINE_PREFIX_HELP SCFG_CMDLINE_SPEC_HELP;
uifc.input(WIN_MID|WIN_SAV,0,0
,"Command"
,cfg.prot[i]->ulcmd,sizeof(cfg.prot[i]->ulcmd)-1,K_EDIT);
break;
case 4:
uifc.helpbuf = SCFG_CMDLINE_SPEC_HELP;
uifc.helpbuf = SCFG_CMDLINE_PREFIX_HELP SCFG_CMDLINE_SPEC_HELP;
uifc.input(WIN_MID|WIN_SAV,0,0
,"Command"
,cfg.prot[i]->dlcmd,sizeof(cfg.prot[i]->dlcmd)-1,K_EDIT);
break;
case 5:
uifc.helpbuf = SCFG_CMDLINE_SPEC_HELP;
uifc.helpbuf = SCFG_CMDLINE_PREFIX_HELP SCFG_CMDLINE_SPEC_HELP;
uifc.input(WIN_MID|WIN_SAV,0,0
,"Command"
,cfg.prot[i]->batulcmd,sizeof(cfg.prot[i]->batulcmd)-1,K_EDIT);
break;
case 6:
uifc.helpbuf = SCFG_CMDLINE_SPEC_HELP;
uifc.helpbuf = SCFG_CMDLINE_PREFIX_HELP SCFG_CMDLINE_SPEC_HELP;
uifc.input(WIN_MID|WIN_SAV,0,0
,"Command"
,cfg.prot[i]->batdlcmd,sizeof(cfg.prot[i]->batdlcmd)-1,K_EDIT);
break;
case 7:
uifc.helpbuf = SCFG_CMDLINE_SPEC_HELP;
uifc.helpbuf = SCFG_CMDLINE_PREFIX_HELP SCFG_CMDLINE_SPEC_HELP;
uifc.input(WIN_MID|WIN_SAV,0,0
,"Command"
,cfg.prot[i]->bicmd,sizeof(cfg.prot[i]->bicmd)-1,K_EDIT);
......
......@@ -1272,7 +1272,7 @@ void dir_cfg(uint libnum)
"the directory based on the date the file was uploaded or last\n"
"downloaded (If the `Purge by Last Download` toggle option is used).\n"
"\n"
"The Synchronet file base maintenance program (`DELFILES`) must be used\n"
"The Synchronet file base maintenance program (`delfiles`) must be used\n"
"to automatically remove files based on age.\n"
;
uifc.input(WIN_MID|WIN_SAV,0,17,"Maximum Age of Files (in days)"
......@@ -1746,7 +1746,7 @@ void dir_cfg(uint libnum)
uifc.helpbuf=
"`Purge Files Based on Date of Last Download:`\n"
"\n"
"Using the Synchronet file base maintenance utility (`DELFILES`), you can\n"
"Using the Synchronet file base maintenance utility (`delfiles`), you can\n"
"have files removed based on the number of days since last downloaded\n"
"rather than the number of days since the file was uploaded (default),\n"
"by setting this option to `Yes`.\n"
......@@ -1911,7 +1911,10 @@ void dir_cfg(uint libnum)
"`Upload Semaphore File:`\n"
"\n"
"This is a filename that will be used as a semaphore (signal) to your\n"
"FidoNet front-end that new files are ready to be hatched for export.\n"
"FidoNet software that new files are ready to be hatched for export.\n"
"\n"
"`Command line specifiers may be included in the semaphore filename.`\n"
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,17,"Upload Semaphore"
,cfg.dir[i]->upload_sem,sizeof(cfg.dir[i]->upload_sem)-1,K_EDIT);
......
......@@ -44,11 +44,11 @@ static char* use_shell_opt = "Use Shell / New Context";
static char* use_shell_help =
"`Use System Shell or New JavaScript Context to Execute:`\n"
"\n"
"If this command-line requires the system command shell to execute\n"
"If this command line requires the system command shell to execute\n"
"(e.g. uses pipes/redirection or invokes a Unix shell script or\n"
"DOS/Windows batch/command file), then set this option to ~Yes~.\n"
"\n"
"If this command-line is invoking a Synchronet JavaScript module\n"
"If this command line is invoking a Synchronet JavaScript module\n"
"(e.g. it begins with a '`?`' character), then setting this option to ~Yes~\n"
"will enable the creation and initialization of a new JavaScript run-time\n"
"context for it to execute within, for every invocation."
......@@ -313,8 +313,8 @@ void xprogs_cfg()
uifc.helpbuf=
"`Online External Programs:`\n"
"\n"
"From this menu, you can configure external events, external editors, or\n"
"online external programs (doors).\n"
"From this menu, you can configure external events, external message\n"
"editors, or online external programs (e.g. `door games`).\n"
;
switch(uifc.list(WIN_ORG|WIN_CHE|WIN_ACT,0,0,0,&xprogs_dflt,0
,"External Programs",opt)) {
......@@ -383,6 +383,7 @@ void fevents_cfg()
"in the logon sequence of users that includes interaction or requires\n"
"account information, you probably want to use an online external\n"
"program configured to run as a logon event.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,0,"Logon Event"
......@@ -398,6 +399,7 @@ void fevents_cfg()
"wish to have a program execute before carrier is dropped, you probably\n"
"want to use an `Online External Program` configured to run as a logoff\n"
"event.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,0,"Logout Event"
......@@ -409,6 +411,7 @@ void fevents_cfg()
"\n"
"This is the command line for a program that will run after the first\n"
"user that logs on after midnight, logs off (regardless of what node).\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,0,"Daily Event"
......@@ -584,6 +587,7 @@ void tevents_cfg()
"`Timed Event Command Line:`\n"
"\n"
"This is the command line to execute upon this timed event.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,10,"Command"
......@@ -1122,6 +1126,7 @@ void xtrn_cfg(uint section)
"`Online Program Command Line:`\n"
"\n"
"This is the command line to execute to run the online program.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,10,"Command"
......@@ -1133,6 +1138,7 @@ void xtrn_cfg(uint section)
"\n"
"This is the command line to execute after the main command line. This\n"
"option is usually only used for multiuser online programs.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,10,"Clean-up"
......@@ -1373,8 +1379,9 @@ void xtrn_cfg(uint section)
"Set this option to ~Yes~ if you would like an automatic screen pause\n"
"(`[Hit a key]` prompt) to appear after the program executes.\n"
"\n"
"This can be useful if the program displays information just before exiting\n"
"or you want to debug a program with a program not running correctly.\n"
"This can be useful if the program displays information just before\n"
"exiting or you want to debug a program with a program not running\n"
"correctly.\n"
;
k=uifc.list(WIN_MID|WIN_SAV,0,0,0,&k,0
,"Pause After Execution",uifcYesNoOpts);
......@@ -1769,6 +1776,7 @@ void xedit_cfg()
"`External Editor Command Line:`\n"
"\n"
"This is the command line to execute when using this editor.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,10,"Command"
......@@ -2543,6 +2551,7 @@ void hotkey_cfg(void)
"`Hot Key Event Command Line:`\n"
"\n"
"This is the command line to execute when this hot key is pressed.\n"
SCFG_CMDLINE_PREFIX_HELP
SCFG_CMDLINE_SPEC_HELP
;
uifc.input(WIN_MID|WIN_SAV,0,10,"Command"
......