Skip to content
Snippets Groups Projects
Commit 53974b9c authored by rswindell's avatar rswindell
Browse files

Switched from sending NOPs (temporarily) to sending GAs.

parent 9e170dea
No related branches found
No related tags found
No related merge requests found
......@@ -88,8 +88,8 @@ void __fastcall TTelnetCfgDlg::FormShow(TObject *Sender)
AnswerSoundEdit->Text=AnsiString(MainForm->bbs_startup.answer_sound);
HangupSoundEdit->Text=AnsiString(MainForm->bbs_startup.hangup_sound);
CmdLogCheckBox->Checked=MainForm->bbs_startup.options&BBS_OPT_DEBUG_TELNET;
TelnetNopCheckBox->Checked
=!(MainForm->bbs_startup.options&BBS_OPT_NO_TELNET_NOP);
TelnetGaCheckBox->Checked
=!(MainForm->bbs_startup.options&BBS_OPT_NO_TELNET_GA);
XtrnMinCheckBox->Checked=MainForm->bbs_startup.options&BBS_OPT_XTRN_MINIMIZED;
AutoLogonCheckBox->Checked=MainForm->bbs_startup.options&BBS_OPT_AUTO_LOGON;
HostnameCheckBox->Checked
......@@ -165,10 +165,10 @@ void __fastcall TTelnetCfgDlg::OKBtnClick(TObject *Sender)
,AnswerSoundEdit->Text.c_str());
SAFECOPY(MainForm->bbs_startup.hangup_sound
,HangupSoundEdit->Text.c_str());
if(TelnetNopCheckBox->Checked==false)
MainForm->bbs_startup.options|=BBS_OPT_NO_TELNET_NOP;
if(TelnetGaCheckBox->Checked==false)
MainForm->bbs_startup.options|=BBS_OPT_NO_TELNET_GA;
else
MainForm->bbs_startup.options&=~BBS_OPT_NO_TELNET_NOP;
MainForm->bbs_startup.options&=~BBS_OPT_NO_TELNET_GA;
if(XtrnMinCheckBox->Checked==true)
MainForm->bbs_startup.options|=BBS_OPT_XTRN_MINIMIZED;
else
......
......@@ -197,15 +197,15 @@ object TelnetCfgDlg: TTelnetCfgDlg
ShowHint = True
TabOrder = 0
end
object TelnetNopCheckBox: TCheckBox
object TelnetGaCheckBox: TCheckBox
Left = 9
Top = 76
Width = 208
Height = 26
Hint =
'Send periodic Telnet NOP commands to help detect dropped connect' +
'ions'
Caption = 'Send Telnet NOPs'
'Send periodic Telnet GA commands to help detect dropped connecti' +
'ons'
Caption = 'Send Telnet Go-Aheads'
ParentShowHint = False
ShowHint = True
TabOrder = 2
......
......@@ -79,7 +79,7 @@ __published:
TEdit *TelnetInterfaceEdit;
TLabel *TelnetPortLabel;
TEdit *TelnetPortEdit;
TCheckBox *TelnetNopCheckBox;
TCheckBox *TelnetGaCheckBox;
TCheckBox *AutoLogonCheckBox;
TTabSheet *RLoginTabSheet;
TLabel *RLoginPortLabel;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment