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
e3c4dbe9
Commit
e3c4dbe9
authored
2 years ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetic improvements to the Setup Wizard, especial for > 80 col screens
parent
650c9c3d
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Pipeline
#3797
failed
2 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/scfg/scfg.c
+7
-14
7 additions, 14 deletions
src/sbbs3/scfg/scfg.c
src/sbbs3/scfg/scfgsys.c
+1
-1
1 addition, 1 deletion
src/sbbs3/scfg/scfgsys.c
with
8 additions
and
15 deletions
src/sbbs3/scfg/scfg.c
+
7
−
14
View file @
e3c4dbe9
...
...
@@ -155,13 +155,13 @@ void sort_dirs(int libnum)
void
wizard_msg
(
const
char
*
text
)
{
uifc
.
showbuf
(
WIN_HLP
|
WIN_DYN
|
WIN_L2R
,
2
,
2
,
8
0
,
20
,
"Setup Wizard"
,
text
,
NULL
,
NULL
);
uifc
.
showbuf
(
WIN_HLP
|
WIN_DYN
|
WIN_L2R
,
2
,
2
,
7
8
,
20
,
"Setup Wizard"
,
text
,
NULL
,
NULL
);
}
static
bool
abort_wizard
(
void
)
{
char
*
opt
[]
=
{
"Abort"
,
"Restart"
,
NULL
};
wizard_msg
(
"You can abort the Setup Wizard or restart from the beginning."
);
wizard_msg
(
"You can abort the Setup Wizard
now
or restart from the beginning."
);
return
uifc
.
list
(
WIN_SAV
|
WIN_L2R
|
WIN_NOBRDR
,
0
,
10
,
0
,
NULL
,
NULL
,
"Abort Setup Wizard"
,
opt
)
==
0
;
}
...
...
@@ -195,8 +195,7 @@ void cfg_wizard(void)
"Press ~ ENTER ~ to advance through the setup wizard or ~ ESC ~ to abort
\n
"
"or restart the wizard."
);
if
(
uifc
.
list
(
WIN_SAV
|
WIN_L2R
|
WIN_NOBRDR
,
0
,
12
,
0
,
NULL
,
NULL
,
"Continue"
,
opt
)
==
-
1
)
if
(
uifc
.
list
(
WIN_SAV
|
WIN_L2R
|
WIN_NOBRDR
,
0
,
12
,
0
,
NULL
,
NULL
,
NULL
,
opt
)
==
-
1
)
continue
;
if
(
edit_sys_name
(
true
)
<
1
)
continue
;
...
...
@@ -253,18 +252,12 @@ void cfg_wizard(void)
"required to run Synchronet - the ultimate choice in BBS software for the
\n
"
"Internet Age.
\n
"
"
\n
"
"
\n
"
"
\n
"
"
\n
"
"
\n
"
"
\n
"
"
\n
"
"
\n
"
"
\n
"
"Thank you for choosing Synchronet,
\n
"
" Rob Swindell (digital man)
\n
"
"
\n
"
"Rob Swindell (digital man)
\n
"
);
if
(
!
uifc
.
confirm
(
"Save Changes"
))
char
*
save_opts
[]
=
{
"Save Changes"
,
"Discard Changes"
,
NULL
};
if
(
uifc
.
list
(
WIN_SAV
|
WIN_L2R
|
WIN_NOBRDR
,
0
,
14
,
0
,
NULL
,
NULL
,
NULL
,
save_opts
)
!=
0
)
continue
;
if
(
strcmp
(
saved_cfg
.
sys_pass
,
cfg
.
sys_pass
)
!=
0
)
reencrypt_keys
(
saved_cfg
.
sys_pass
,
cfg
.
sys_pass
);
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/scfg/scfgsys.c
+
1
−
1
View file @
e3c4dbe9
...
...
@@ -231,7 +231,7 @@ int edit_sys_timezone(bool wiz)
;
if
(
wiz
)
mode
=
wiz_help
(
uifc
.
helpbuf
);
i
=
uifc
.
list
(
mode
,
0
,
10
,
0
,
&
i
,
0
i
=
uifc
.
list
(
mode
,
0
,
9
,
0
,
&
i
,
0
,
"U.S. Time Zone"
,
opt
);
if
(
i
==-
1
)
return
-
1
;
...
...
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