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
077fd929
Commit
077fd929
authored
15 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Remove the "Sound Alarm on Error" option (no longer used).
parent
aa6b18e2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/scfg/scfgsys.c
+9
-32
9 additions, 32 deletions
src/sbbs3/scfg/scfgsys.c
with
9 additions
and
32 deletions
src/sbbs3/scfg/scfgsys.c
+
9
−
32
View file @
077fd929
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* *
* Copyright 200
8
Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 200
9
Rob Swindell - http://www.synchro.net/copyright.html *
* *
* *
* This program is free software; you can redistribute it and/or *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
* modify it under the terms of the GNU General Public License *
...
@@ -244,8 +244,6 @@ be able to logon as New, leave this option blank.
...
@@ -244,8 +244,6 @@ be able to logon as New, leave this option blank.
,
cfg
.
sys_misc
&
SM_ECHO_PW
?
"Yes"
:
"No"
);
,
cfg
.
sys_misc
&
SM_ECHO_PW
?
"Yes"
:
"No"
);
sprintf
(
opt
[
i
++
],
"%-33.33s%s"
,
"Short Sysop Page"
sprintf
(
opt
[
i
++
],
"%-33.33s%s"
,
"Short Sysop Page"
,
cfg
.
sys_misc
&
SM_SHRTPAGE
?
"Yes"
:
"No"
);
,
cfg
.
sys_misc
&
SM_SHRTPAGE
?
"Yes"
:
"No"
);
sprintf
(
opt
[
i
++
],
"%-33.33s%s"
,
"Sound Alarm on Error"
,
cfg
.
sys_misc
&
SM_ERRALARM
?
"Yes"
:
"No"
);
sprintf
(
opt
[
i
++
],
"%-33.33s%s"
,
"Include Sysop in Statistics"
sprintf
(
opt
[
i
++
],
"%-33.33s%s"
,
"Include Sysop in Statistics"
,
cfg
.
sys_misc
&
SM_SYSSTAT
?
"Yes"
:
"No"
);
,
cfg
.
sys_misc
&
SM_SYSSTAT
?
"Yes"
:
"No"
);
sprintf
(
opt
[
i
++
],
"%-33.33s%s"
,
"Closed to New Users"
sprintf
(
opt
[
i
++
],
"%-33.33s%s"
,
"Closed to New Users"
...
@@ -410,27 +408,6 @@ than continuous random tones, set this option to Yes.
...
@@ -410,27 +408,6 @@ than continuous random tones, set this option to Yes.
break
;
break
;
case
6
:
case
6
:
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
1
],
"No"
);
opt
[
2
][
0
]
=
0
;
i
=
cfg
.
sys_misc
&
SM_ERRALARM
?
0
:
1
;
SETHELP
(
WHERE
);
/*
Sound Alarm on Error:
If you would like to have an alarm sounded locally when a critical
system error has occured, set this option to Yes.
*/
i
=
uifc
.
list
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
0
,
&
i
,
0
,
"Sound Alarm on Error"
,
opt
);
if
(
i
==
1
&&
cfg
.
sys_misc
&
SM_ERRALARM
)
{
cfg
.
sys_misc
&=~
SM_ERRALARM
;
uifc
.
changes
=
1
;
}
else
if
(
!
i
&&
!
(
cfg
.
sys_misc
&
SM_ERRALARM
))
{
cfg
.
sys_misc
|=
SM_ERRALARM
;
uifc
.
changes
=
1
;
}
break
;
case
7
:
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
1
],
"No"
);
strcpy
(
opt
[
1
],
"No"
);
opt
[
2
][
0
]
=
0
;
opt
[
2
][
0
]
=
0
;
i
=
cfg
.
sys_misc
&
SM_SYSSTAT
?
0
:
1
;
i
=
cfg
.
sys_misc
&
SM_SYSSTAT
?
0
:
1
;
...
@@ -453,7 +430,7 @@ include sysop maintenance activity.
...
@@ -453,7 +430,7 @@ include sysop maintenance activity.
cfg
.
sys_misc
&=~
SM_SYSSTAT
;
cfg
.
sys_misc
&=~
SM_SYSSTAT
;
uifc
.
changes
=
1
;
}
uifc
.
changes
=
1
;
}
break
;
break
;
case
8
:
case
7
:
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
1
],
"No"
);
strcpy
(
opt
[
1
],
"No"
);
opt
[
2
][
0
]
=
0
;
opt
[
2
][
0
]
=
0
;
...
@@ -473,7 +450,7 @@ If you want callers to be able to logon as New, set this option to No.
...
@@ -473,7 +450,7 @@ If you want callers to be able to logon as New, set this option to No.
cfg
.
sys_misc
&=~
SM_CLOSED
;
cfg
.
sys_misc
&=~
SM_CLOSED
;
uifc
.
changes
=
1
;
}
uifc
.
changes
=
1
;
}
break
;
break
;
case
9
:
case
8
:
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
1
],
"No"
);
strcpy
(
opt
[
1
],
"No"
);
opt
[
2
][
0
]
=
0
;
opt
[
2
][
0
]
=
0
;
...
@@ -496,7 +473,7 @@ set this option to Yes. If this option is set to No, the user notes
...
@@ -496,7 +473,7 @@ set this option to Yes. If this option is set to No, the user notes
cfg
.
sys_misc
&=~
SM_LISTLOC
;
cfg
.
sys_misc
&=~
SM_LISTLOC
;
uifc
.
changes
=
1
;
}
uifc
.
changes
=
1
;
}
break
;
break
;
case
10
:
case
9
:
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
1
],
"No"
);
strcpy
(
opt
[
1
],
"No"
);
opt
[
2
][
0
]
=
0
;
opt
[
2
][
0
]
=
0
;
...
@@ -522,7 +499,7 @@ time on your system(s) for you.
...
@@ -522,7 +499,7 @@ time on your system(s) for you.
uifc
.
changes
=
1
;
uifc
.
changes
=
1
;
}
}
break
;
break
;
case
1
1
:
case
1
0
:
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
1
],
"No"
);
strcpy
(
opt
[
1
],
"No"
);
opt
[
2
][
0
]
=
0
;
opt
[
2
][
0
]
=
0
;
...
@@ -543,7 +520,7 @@ format always, set this option to Yes.
...
@@ -543,7 +520,7 @@ format always, set this option to Yes.
cfg
.
sys_misc
&=~
SM_MILITARY
;
cfg
.
sys_misc
&=~
SM_MILITARY
;
uifc
.
changes
=
1
;
}
uifc
.
changes
=
1
;
}
break
;
break
;
case
1
2
:
case
1
1
:
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
1
],
"No"
);
strcpy
(
opt
[
1
],
"No"
);
opt
[
2
][
0
]
=
0
;
opt
[
2
][
0
]
=
0
;
...
@@ -564,7 +541,7 @@ instead of MM/DD/YY format, set this option to Yes.
...
@@ -564,7 +541,7 @@ instead of MM/DD/YY format, set this option to Yes.
cfg
.
sys_misc
&=~
SM_EURODATE
;
cfg
.
sys_misc
&=~
SM_EURODATE
;
uifc
.
changes
=
1
;
}
uifc
.
changes
=
1
;
}
break
;
break
;
case
1
3
:
case
1
2
:
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
1
],
"No"
);
strcpy
(
opt
[
1
],
"No"
);
opt
[
2
][
0
]
=
0
;
opt
[
2
][
0
]
=
0
;
...
@@ -585,7 +562,7 @@ time online, then set this option to Yes.
...
@@ -585,7 +562,7 @@ time online, then set this option to Yes.
cfg
.
sys_misc
&=~
SM_TIME_EXP
;
cfg
.
sys_misc
&=~
SM_TIME_EXP
;
uifc
.
changes
=
1
;
}
uifc
.
changes
=
1
;
}
break
;
break
;
case
1
4
:
case
1
3
:
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
1
],
"No"
);
strcpy
(
opt
[
1
],
"No"
);
opt
[
2
][
0
]
=
0
;
opt
[
2
][
0
]
=
0
;
...
@@ -606,7 +583,7 @@ to Yes.
...
@@ -606,7 +583,7 @@ to Yes.
cfg
.
sys_misc
|=
SM_NOSYSINFO
;
cfg
.
sys_misc
|=
SM_NOSYSINFO
;
uifc
.
changes
=
1
;
}
uifc
.
changes
=
1
;
}
break
;
break
;
case
1
5
:
case
1
4
:
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
1
],
"No"
);
strcpy
(
opt
[
1
],
"No"
);
opt
[
2
][
0
]
=
0
;
opt
[
2
][
0
]
=
0
;
...
...
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