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
e6b7320e
Commit
e6b7320e
authored
22 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Added checkbox to disable the events thread.
parent
6c717a63
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/sbbs3/ctrl/TelnetCfgDlgUnit.cpp
+6
-0
6 additions, 0 deletions
src/sbbs3/ctrl/TelnetCfgDlgUnit.cpp
src/sbbs3/ctrl/TelnetCfgDlgUnit.dfm
+159
-148
159 additions, 148 deletions
src/sbbs3/ctrl/TelnetCfgDlgUnit.dfm
src/sbbs3/ctrl/TelnetCfgDlgUnit.h
+1
-0
1 addition, 0 deletions
src/sbbs3/ctrl/TelnetCfgDlgUnit.h
with
166 additions
and
148 deletions
src/sbbs3/ctrl/TelnetCfgDlgUnit.cpp
+
6
−
0
View file @
e6b7320e
...
...
@@ -103,6 +103,8 @@ void __fastcall TTelnetCfgDlg::FormShow(TObject *Sender)
=
MainForm
->
bbs_startup
.
options
&
BBS_OPT_USE_2ND_RLOGIN
;
QWKEventsCheckBox
->
Checked
=!
(
MainForm
->
bbs_startup
.
options
&
BBS_OPT_NO_QWK_EVENTS
);
EventsCheckBox
->
Checked
=!
(
MainForm
->
bbs_startup
.
options
&
BBS_OPT_NO_EVENTS
);
JavaScriptCheckBox
->
Checked
=!
(
MainForm
->
bbs_startup
.
options
&
BBS_OPT_NO_JAVASCRIPT
);
...
...
@@ -177,6 +179,10 @@ void __fastcall TTelnetCfgDlg::OKBtnClick(TObject *Sender)
MainForm
->
bbs_startup
.
options
&=~
BBS_OPT_NO_QWK_EVENTS
;
else
MainForm
->
bbs_startup
.
options
|=
BBS_OPT_NO_QWK_EVENTS
;
if
(
EventsCheckBox
->
Checked
==
true
)
MainForm
->
bbs_startup
.
options
&=~
BBS_OPT_NO_EVENTS
;
else
MainForm
->
bbs_startup
.
options
|=
BBS_OPT_NO_EVENTS
;
if
(
JavaScriptCheckBox
->
Checked
==
true
)
MainForm
->
bbs_startup
.
options
&=~
BBS_OPT_NO_JAVASCRIPT
;
else
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/ctrl/TelnetCfgDlgUnit.dfm
+
159
−
148
View file @
e6b7320e
object TelnetCfgDlg: TTelnetCfgDlg
Left = 3
66
Top =
19
4
Left = 3
77
Top =
35
4
BorderStyle = bsDialog
Caption = 'Telnet Server Configuration'
ClientHeight = 2
88
ClientWidth =
352
ClientHeight = 2
34
ClientWidth =
286
Color = clBtnFace
ParentFont = True
OldCreateOrder = True
Position = poScreenCenter
OnShow = FormShow
PixelsPerInch =
120
TextHeight = 1
6
PixelsPerInch =
96
TextHeight = 1
3
object PageControl: TPageControl
Left =
4
Top =
4
Width =
342
Height =
229
ActivePage =
Telnet
TabSheet
TabIndex =
1
Left =
3
Top =
3
Width =
278
Height =
186
ActivePage =
General
TabSheet
TabIndex =
0
TabOrder = 0
object GeneralTabSheet: TTabSheet
Caption = 'General'
object FirstNodeLabel: TLabel
Left =
9
Top = 1
2
Width =
96
Height = 2
5
Left =
7
Top = 1
0
Width =
78
Height = 2
0
AutoSize = False
Caption = 'First Node'
end
object LastNodeLabel: TLabel
Left =
9
Top =
44
Width =
91
Height = 2
5
Left =
7
Top =
36
Width =
74
Height = 2
0
AutoSize = False
Caption = 'Last Node'
end
object XtrnPollsLabel: TLabel
Left =
9
Top =
7
6
Width =
91
Height = 2
5
Left =
7
Top = 6
2
Width =
74
Height = 2
0
AutoSize = False
Caption = 'External Yield'
end
object AutoStartCheckBox: TCheckBox
Left = 18
2
Top = 1
2
Width = 1
44
Height =
24
Left = 1
4
8
Top = 1
0
Width = 1
17
Height =
19
Hint = 'Automatically start Telnet server'
Caption = 'Auto Startup'
ParentShowHint = False
...
...
@@ -58,20 +58,20 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 5
end
object FirstNodeEdit: TEdit
Left =
10
5
Top = 1
2
Width =
48
Height = 2
4
Left =
8
5
Top = 1
0
Width =
39
Height = 2
1
Hint = 'First node number available for Telnet logins'
ParentShowHint = False
ShowHint = True
TabOrder = 0
end
object XtrnMinCheckBox: TCheckBox
Left = 18
2
Top =
44
Width = 1
44
Height = 2
5
Left = 1
4
8
Top =
36
Width = 1
17
Height = 2
0
Hint = 'External programs run in a minimized window'
Caption = 'Minimize Externals'
ParentShowHint = False
...
...
@@ -79,20 +79,20 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 6
end
object LastNodeEdit: TEdit
Left =
10
5
Top =
44
Width =
48
Height = 2
4
Left =
8
5
Top =
36
Width =
39
Height = 2
1
Hint = 'Last node number available for Telnet logins'
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
object HostnameCheckBox: TCheckBox
Left =
9
Top =
10
8
Width = 1
44
Height =
24
Left =
7
Top =
8
8
Width = 1
17
Height =
19
Hint = 'Automatically lookup client'#39's hostname via DNS'
Caption = 'Hostname Lookup'
ParentShowHint = False
...
...
@@ -100,10 +100,10 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 3
end
object QWKEventsCheckBox: TCheckBox
Left = 18
2
Top =
76
Width = 1
44
Height = 2
5
Left = 1
4
8
Top =
88
Width = 1
17
Height = 2
0
Hint = 'Handle QWK Message Packet Events in This Instance'
Caption = 'QWK Msg Events'
ParentShowHint = False
...
...
@@ -111,10 +111,10 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 7
end
object JavaScriptCheckBox: TCheckBox
Left = 18
2
Top = 1
08
Width = 1
44
Height = 2
5
Left = 1
4
8
Top = 1
14
Width = 1
17
Height = 2
0
Hint = 'Enable JavaScript Support'
Caption = 'JavaScript Support'
ParentShowHint = False
...
...
@@ -122,10 +122,10 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 8
end
object XtrnYieldEdit: TEdit
Left =
10
5
Top =
7
6
Width =
48
Height = 2
4
Left =
8
5
Top = 6
2
Width =
39
Height = 2
1
Hint =
'Number of polls before yielding time-slices for external DOS/FOS' +
'SIL programs'
...
...
@@ -134,41 +134,52 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 2
end
object IdentityCheckBox: TCheckBox
Left =
9
Top = 14
0
Width = 1
44
Height =
24
Left =
7
Top = 1
1
4
Width = 1
17
Height =
19
Hint = 'Automatically lookup client'#39's identity via IDENT protocol'
Caption = 'Identity Lookup'
ParentShowHint = False
ShowHint = True
TabOrder = 4
end
object EventsCheckBox: TCheckBox
Left = 148
Top = 62
Width = 117
Height = 20
Hint = 'Enable the events thread'
Caption = 'Events Enabled'
ParentShowHint = False
ShowHint = True
TabOrder = 9
end
end
object TelnetTabSheet: TTabSheet
Caption = 'Telnet'
ImageIndex = 1
object InterfaceLabel: TLabel
Left =
9
Top =
44
Width =
96
Height = 2
6
Left =
7
Top =
36
Width =
78
Height = 2
1
AutoSize = False
Caption = 'Interface (IP)'
end
object TelnetPortLabel: TLabel
Left =
9
Top = 1
2
Width =
96
Height = 2
6
Left =
7
Top = 1
0
Width =
78
Height = 2
1
AutoSize = False
Caption = 'Listening Port'
end
object CmdLogCheckBox: TCheckBox
Left =
9
Top =
10
8
Width =
208
Height = 2
6
Left =
7
Top =
8
8
Width =
169
Height = 2
1
Hint = 'Log (debug) all transmitted and received Telnet commands'
Caption = 'Log Telnet Commands'
ParentShowHint = False
...
...
@@ -176,10 +187,10 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 3
end
object TelnetInterfaceEdit: TEdit
Left =
10
5
Top =
44
Width = 1
92
Height = 2
4
Left =
8
5
Top =
36
Width = 1
56
Height = 2
1
Hint =
'Enter your Network adapter'#39's static IP address here or blank for' +
' <ANY>'
...
...
@@ -188,20 +199,20 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 1
end
object TelnetPortEdit: TEdit
Left =
10
5
Top = 1
2
Width =
48
Height = 2
4
Left =
8
5
Top = 1
0
Width =
39
Height = 2
1
Hint = 'TCP port for incoming connections (default=23)'
ParentShowHint = False
ShowHint = True
TabOrder = 0
end
object TelnetGaCheckBox: TCheckBox
Left =
9
Top =
7
6
Width =
208
Height = 2
6
Left =
7
Top = 6
2
Width =
169
Height = 2
1
Hint =
'Send periodic Telnet GA commands to help detect dropped connecti' +
'ons'
...
...
@@ -211,10 +222,10 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 2
end
object AutoLogonCheckBox: TCheckBox
Left =
9
Top = 14
0
Width = 1
44
Height =
24
Left =
7
Top = 1
1
4
Width = 1
17
Height =
19
Hint = 'Allow V-exempt users to auto-logon based on their IP address'
Caption = 'AutoLogon via IP'
ParentShowHint = False
...
...
@@ -226,25 +237,25 @@ object TelnetCfgDlg: TTelnetCfgDlg
Caption = 'RLogin'
ImageIndex = 3
object RLoginPortLabel: TLabel
Left =
9
Top = 1
2
Width =
96
Height = 2
6
Left =
7
Top = 1
0
Width =
78
Height = 2
1
AutoSize = False
Caption = 'Listening Port'
end
object RLoginInterfaceLabel: TLabel
Left =
9
Top =
44
Width =
96
Height = 2
6
Left =
7
Top =
36
Width =
78
Height = 2
1
AutoSize = False
Caption = 'Interface (IP)'
end
object RLoginPortEdit: TEdit
Left =
10
5
Top = 1
2
Width =
48
Left =
8
5
Top = 1
0
Width =
39
Height = 24
Hint = 'TCP port for incoming connections (default=513)'
ParentShowHint = False
...
...
@@ -252,9 +263,9 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 0
end
object RLoginInterfaceEdit: TEdit
Left =
10
5
Top =
44
Width = 1
92
Left =
8
5
Top =
36
Width = 1
56
Height = 24
Hint =
'Enter your Network adapter'#39's static IP address here or blank for' +
...
...
@@ -264,10 +275,10 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 2
end
object RLoginEnabledCheckBox: TCheckBox
Left =
226
Top = 1
2
Width =
90
Height =
2
1
Left =
184
Top = 1
0
Width =
73
Height = 1
7
Hint = 'Enable the RLogin port'
Caption = 'Enabled'
ParentShowHint = False
...
...
@@ -276,10 +287,10 @@ object TelnetCfgDlg: TTelnetCfgDlg
OnClick = RLoginEnabledCheckBoxClick
end
object RLoginIPallowButton: TButton
Left = 1
94
Top =
7
6
Width =
10
3
Height = 2
6
Left = 1
58
Top = 6
2
Width =
8
3
Height = 2
1
Hint = 'IP addresses of trusted hosts to allow RLogins from'
Caption = 'Allowed IPs'
ParentShowHint = False
...
...
@@ -288,10 +299,10 @@ object TelnetCfgDlg: TTelnetCfgDlg
OnClick = RLoginIPallowButtonClick
end
object RLogin2ndNameCheckBox: TCheckBox
Left =
9
Top =
7
6
Width = 1
69
Height = 2
6
Left =
7
Top = 6
2
Width = 1
38
Height = 2
1
Hint = 'Use 2nd RLogin account name for the BBS user name'
Caption = 'Use 2nd Login Name'
ParentShowHint = False
...
...
@@ -303,25 +314,25 @@ object TelnetCfgDlg: TTelnetCfgDlg
Caption = 'Sound'
ImageIndex = 2
object AnswerSoundLabel: TLabel
Left =
9
Top = 1
2
Width =
64
Height = 2
5
Left =
7
Top = 1
0
Width =
52
Height = 2
0
AutoSize = False
Caption = 'Answer'
end
object HnagupSoundLabel: TLabel
Left =
9
Top =
44
Width =
64
Height = 2
5
Left =
7
Top =
36
Width =
52
Height = 2
0
AutoSize = False
Caption = 'Hangup'
end
object AnswerSoundEdit: TEdit
Left =
89
Top = 1
2
Width =
208
Left =
72
Top = 1
0
Width =
169
Height = 24
Hint = 'Sound file to play when accepting an incoming connection'
ParentShowHint = False
...
...
@@ -329,18 +340,18 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 0
end
object AnswerSoundButton: TButton
Left =
304
Top = 1
2
Width = 2
5
Height = 2
6
Left =
247
Top = 1
0
Width = 2
0
Height = 2
1
Caption = '...'
TabOrder = 1
OnClick = AnswerSoundButtonClick
end
object HangupSoundEdit: TEdit
Left =
89
Top =
44
Width =
208
Left =
72
Top =
36
Width =
169
Height = 24
Hint = 'Sound file to play when disconnecting'
ParentShowHint = False
...
...
@@ -348,10 +359,10 @@ object TelnetCfgDlg: TTelnetCfgDlg
TabOrder = 2
end
object HangupSoundButton: TButton
Left =
304
Top =
44
Width = 2
5
Height = 2
6
Left =
247
Top =
36
Width = 2
0
Height = 2
1
Caption = '...'
TabOrder = 3
OnClick = HangupSoundButtonClick
...
...
@@ -359,10 +370,10 @@ object TelnetCfgDlg: TTelnetCfgDlg
end
end
object OKBtn: TButton
Left = 2
5
Top = 2
47
Width =
93
Height =
31
Left = 2
0
Top = 2
01
Width =
76
Height =
25
Caption = 'OK'
Default = True
ModalResult = 1
...
...
@@ -370,20 +381,20 @@ object TelnetCfgDlg: TTelnetCfgDlg
OnClick = OKBtnClick
end
object CancelBtn: TButton
Left = 1
28
Top = 2
47
Width =
92
Height =
31
Left = 1
04
Top = 2
01
Width =
75
Height =
25
Cancel = True
Caption = 'Cancel'
ModalResult = 2
TabOrder = 2
end
object ApplyBtn: TButton
Left =
233
Top = 2
47
Width =
93
Height =
31
Left =
189
Top = 2
01
Width =
76
Height =
25
Cancel = True
Caption = 'Apply'
TabOrder = 3
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/ctrl/TelnetCfgDlgUnit.h
+
1
−
0
View file @
e6b7320e
...
...
@@ -94,6 +94,7 @@ __published:
TLabel
*
XtrnPollsLabel
;
TEdit
*
XtrnYieldEdit
;
TCheckBox
*
IdentityCheckBox
;
TCheckBox
*
EventsCheckBox
;
void
__fastcall
FormShow
(
TObject
*
Sender
);
void
__fastcall
OKBtnClick
(
TObject
*
Sender
);
void
__fastcall
AnswerSoundButtonClick
(
TObject
*
Sender
);
...
...
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