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
26f76fe7
Commit
26f76fe7
authored
6 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Save/restore the menu 'bar' (lightbar) position for various File Options
sub-menus.
parent
7744faee
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/scfg/scfgxfr1.c
+14
-7
14 additions, 7 deletions
src/sbbs3/scfg/scfgxfr1.c
with
14 additions
and
7 deletions
src/sbbs3/scfg/scfgxfr1.c
+
14
−
7
View file @
26f76fe7
...
@@ -39,18 +39,25 @@ void xfer_opts()
...
@@ -39,18 +39,25 @@ void xfer_opts()
int
i
,
j
,
l
;
int
i
,
j
,
l
;
static
int
xfr_dflt
;
static
int
xfr_dflt
;
static
int
fextr_dflt
;
static
int
fextr_dflt
;
static
int
fextr_bar
;
static
int
fextr_opt
;
static
int
fextr_opt
;
static
int
fview_dflt
;
static
int
fview_dflt
;
static
int
fview_bar
;
static
int
fview_opt
;
static
int
fview_opt
;
static
int
ftest_dflt
;
static
int
ftest_dflt
;
static
int
ftest_bar
;
static
int
ftest_opt
;
static
int
ftest_opt
;
static
int
fcomp_dflt
;
static
int
fcomp_dflt
;
static
int
fcomp_bar
;
static
int
fcomp_opt
;
static
int
fcomp_opt
;
static
int
prot_dflt
;
static
int
prot_dflt
;
static
int
prot_bar
;
static
int
prot_opt
;
static
int
prot_opt
;
static
int
dlevent_dflt
;
static
int
dlevent_dflt
;
static
int
dlevent_bar
;
static
int
dlevent_opt
;
static
int
dlevent_opt
;
static
int
altpath_dflt
;
static
int
altpath_dflt
;
static
int
altpath_bar
;
static
fextr_t
savfextr
;
static
fextr_t
savfextr
;
static
fview_t
savfview
;
static
fview_t
savfview
;
static
ftest_t
savftest
;
static
ftest_t
savftest
;
...
@@ -245,7 +252,7 @@ void xfer_opts()
...
@@ -245,7 +252,7 @@ void xfer_opts()
"viewed on the Terminal Server through the execution of an external
\n
"
"viewed on the Terminal Server through the execution of an external
\n
"
"program."
"program."
;
;
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
fview_dflt
,
NULL
,
"Viewable File Types"
,
opt
);
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
fview_dflt
,
&
fview_bar
,
"Viewable File Types"
,
opt
);
if
(
i
==-
1
)
if
(
i
==-
1
)
break
;
break
;
int
msk
=
i
&
MSK_ON
;
int
msk
=
i
&
MSK_ON
;
...
@@ -372,7 +379,7 @@ void xfer_opts()
...
@@ -372,7 +379,7 @@ void xfer_opts()
"This `working string` can be set for each file type and command line
\n
"
"This `working string` can be set for each file type and command line
\n
"
"listed.
\n
"
"listed.
\n
"
;
;
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
ftest_dflt
,
NULL
,
"Testable File Types"
,
opt
);
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
ftest_dflt
,
&
ftest_bar
,
"Testable File Types"
,
opt
);
if
(
i
==-
1
)
if
(
i
==-
1
)
break
;
break
;
int
msk
=
i
&
MSK_ON
;
int
msk
=
i
&
MSK_ON
;
...
@@ -506,7 +513,7 @@ void xfer_opts()
...
@@ -506,7 +513,7 @@ void xfer_opts()
"a text string is displayed to the user. This `working string` can be set
\n
"
"a text string is displayed to the user. This `working string` can be set
\n
"
"for each file type and command line listed.
\n
"
"for each file type and command line listed.
\n
"
;
;
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
dlevent_dflt
,
NULL
,
"Download Events"
,
opt
);
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
dlevent_dflt
,
&
dlevent_bar
,
"Download Events"
,
opt
);
if
(
i
==-
1
)
if
(
i
==-
1
)
break
;
break
;
int
msk
=
i
&
MSK_ON
;
int
msk
=
i
&
MSK_ON
;
...
@@ -634,7 +641,7 @@ void xfer_opts()
...
@@ -634,7 +641,7 @@ void xfer_opts()
"extension. For each file type you must specify the command line used to
\n
"
"extension. For each file type you must specify the command line used to
\n
"
"extract the file(s).
\n
"
"extract the file(s).
\n
"
;
;
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
fextr_dflt
,
NULL
,
"Extractable File Types"
,
opt
);
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
fextr_dflt
,
&
fextr_bar
,
"Extractable File Types"
,
opt
);
if
(
i
==-
1
)
if
(
i
==-
1
)
break
;
break
;
int
msk
=
i
&
MSK_ON
;
int
msk
=
i
&
MSK_ON
;
...
@@ -753,7 +760,7 @@ void xfer_opts()
...
@@ -753,7 +760,7 @@ void xfer_opts()
"These will be used for items such as creating QWK packets, temporary
\n
"
"These will be used for items such as creating QWK packets, temporary
\n
"
"files from the transfer section, and more.
\n
"
"files from the transfer section, and more.
\n
"
;
;
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
fcomp_dflt
,
NULL
,
"Compressable File Types"
,
opt
);
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
fcomp_dflt
,
&
fcomp_bar
,
"Compressable File Types"
,
opt
);
if
(
i
==-
1
)
if
(
i
==-
1
)
break
;
break
;
int
msk
=
i
&
MSK_ON
;
int
msk
=
i
&
MSK_ON
;
...
@@ -879,7 +886,7 @@ void xfer_opts()
...
@@ -879,7 +886,7 @@ void xfer_opts()
"don't wish it to be available for a certain method of transfer, leave
\n
"
"don't wish it to be available for a certain method of transfer, leave
\n
"
"the command line for that method blank.
\n
"
"the command line for that method blank.
\n
"
;
;
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
prot_dflt
,
NULL
,
"File Transfer Protocols"
,
opt
);
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
prot_dflt
,
&
prot_bar
,
"File Transfer Protocols"
,
opt
);
if
(
i
==-
1
)
if
(
i
==-
1
)
break
;
break
;
int
msk
=
i
&
MSK_ON
;
int
msk
=
i
&
MSK_ON
;
...
@@ -1075,7 +1082,7 @@ void xfer_opts()
...
@@ -1075,7 +1082,7 @@ void xfer_opts()
"have file directories where they wish to have files listed from
\n
"
"have file directories where they wish to have files listed from
\n
"
"multiple CD-ROMs or hard disks.
\n
"
"multiple CD-ROMs or hard disks.
\n
"
;
;
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
altpath_dflt
,
NULL
,
"Alternate File Paths"
,
opt
);
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
altpath_dflt
,
&
altpath_bar
,
"Alternate File Paths"
,
opt
);
if
(
i
==-
1
)
if
(
i
==-
1
)
break
;
break
;
int
msk
=
i
&
MSK_ON
;
int
msk
=
i
&
MSK_ON
;
...
...
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