Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
8d2f526b
Commit
8d2f526b
authored
2 years ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Updated help text: added references to wiki, removed ref to alt file paths
Minor beautifications
parent
3527d0a0
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Pipeline
#4066
passed
2 years ago
Stage: build
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/scfg/scfgxfr2.c
+39
-26
39 additions, 26 deletions
src/sbbs3/scfg/scfgxfr2.c
with
39 additions
and
26 deletions
src/sbbs3/scfg/scfgxfr2.c
+
39
−
26
View file @
8d2f526b
...
...
@@ -22,6 +22,7 @@
#include
<stdbool.h>
#define CUT_LIBNUM USHRT_MAX
#define ADDFILES_HELP "Help adding files to directories, see `http://wiki.synchro.net/faq:files`"
void
dir_defaults_cfg
(
dir_t
*
);
...
...
@@ -83,7 +84,9 @@ static char* max_files_help =
"
\n
"
"This value is the maximum number of files allowed in this directory.
\n
"
"
\n
"
"The value 0 indicates an unlimited number of files will be allowed."
"The value `0` indicates an unlimited number of files will be allowed."
"
\n
"
ADDFILES_HELP
;
static
char
*
file_ext_help
=
...
...
@@ -93,6 +96,8 @@ static char* file_ext_help =
"directory. This is a list of file extensions that are allowed, each
\n
"
"separated by a comma (Example: `ZIP,EXE`). If this option is left
\n
"
"blank, all file extensions will be allowed to be uploaded.
\n
"
"
\n
"
ADDFILES_HELP
;
static
char
*
data_dir_help
=
...
...
@@ -100,6 +105,8 @@ static char* data_dir_help =
"
\n
"
"Use this if you wish to place the data directory for this directory
\n
"
"on another drive or in another directory besides the default setting.
\n
"
"
\n
"
ADDFILES_HELP
;
static
char
*
upload_sem_help
=
...
...
@@ -347,16 +354,17 @@ void xfer_cfg()
"
\n
"
"This is a listing of file libraries for your BBS. File Libraries are
\n
"
"used to logically separate your file `directories` into groups. Every
\n
"
"directory belongs to a file library.
\n
"
"
\n
"
"One popular use for file libraries is to separate CD-ROM and hard disk
\n
"
"directories. One might have an `Uploads` file library that contains
\n
"
"uploads to the hard disk directories and also have a `PC-SIG` file
\n
"
"library that contains directories from a PC-SIG CD-ROM. Some sysops
\n
"
"separate directories into more specific areas such as `Main`, `Graphics`,
\n
"
"or `Adult`. If you have many directories that have a common subject
\n
"
"denominator, you may want to have a separate file library for those
\n
"
"directories for a more organized file structure.
\n
"
"directory (database of files available for transfer) must be a child of
\n
"
"a file library.
\n
"
"
\n
"
"To add a library, select the desired position with the arrow keys and
\n
"
"hit ~ INS ~.
\n
"
"
\n
"
"To delete a library, select it with the arrow keys and hit ~ DEL ~.
\n
"
"
\n
"
"To configure a library, select it with the arrow keys and hit ~ ENTER ~.
\n
"
"
\n
"
ADDFILES_HELP
;
i
=
uifc
.
list
(
j
,
0
,
0
,
0
,
&
libs_dflt
,
&
libs_bar
,
"File Libraries Directories"
,
opt
);
if
((
signed
)
i
==-
1
)
{
...
...
@@ -526,6 +534,8 @@ void xfer_cfg()
"
\n
"
"The left and right arrow keys may be used to cycle through file
\n
"
"libraries.
\n
"
"
\n
"
ADDFILES_HELP
;
uifc_winmode_t
wmode
=
WIN_BOT
|
WIN_SAV
|
WIN_ACT
|
WIN_EXTKEYS
;
if
(
libnum
>
0
)
...
...
@@ -1652,8 +1662,7 @@ void dir_cfg(uint libnum)
"either the library's `Parent Directory` (if set) or the data directory
\n
"
"(e.g. ../data/dirs)
\n
"
"
\n
"
"This path can be overridden on a per-file basis using `Alternate File
\n
"
"Paths`.
\n
"
ADDFILES_HELP
;
while
(
1
)
{
...
...
@@ -1698,6 +1707,8 @@ void dir_cfg(uint libnum)
"To delete a directory, select it with the arrow keys and hit ~ DEL ~.
\n
"
"
\n
"
"To configure a directory, select it with the arrow keys and hit ~ ENTER ~.
\n
"
"
\n
"
ADDFILES_HELP
;
i
=
uifc
.
list
(
mode
,
0
,
0
,
0
,
&
dflt
,
&
bar
,
str
,
opt
);
if
((
signed
)
i
==-
1
)
...
...
@@ -1870,6 +1881,8 @@ void dir_cfg(uint libnum)
"
\n
"
"The left and right arrow keys may be used to cycle through file
\n
"
"directories.
\n
"
"
\n
"
ADDFILES_HELP
;
uifc_winmode_t
wmode
=
WIN_SAV
|
WIN_ACT
|
WIN_L2R
|
WIN_BOT
|
WIN_EXTKEYS
;
int
prev
=
prev_dirnum
(
cfg
.
dir
[
i
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment