From 34db17e621e1affb46fcdf9699ac830130707e17 Mon Sep 17 00:00:00 2001 From: mysticbbs Date: Sun, 17 Feb 2013 17:34:36 -0500 Subject: [PATCH] Changes for zmodem in telnet client --- mystic/nodespy.pas | 6 +++++- mystic/nodespy_common.pas | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/mystic/nodespy.pas b/mystic/nodespy.pas index 2632516..3f4002c 100644 --- a/mystic/nodespy.pas +++ b/mystic/nodespy.pas @@ -126,9 +126,13 @@ Begin Screen := TConsoleScrollBack.Create(True); Keyboard := TInput.Create; + GetDIR (0, XferPath); + INI := TIniReader.Create('nodespy.ini'); - AutoSnoop := INI.ReadString('General', 'autosnoop', '0') = '1'; + AutoSnoop := INI.ReadString('General', 'autosnoop', '0') = '1'; + XferPath := INI.ReadString('General', 'transfer_dir', DirSlash(XferPath)); + AutoZmodem := INI.ReadBoolean('General;', 'auto_zmodem', True); INI.Free; diff --git a/mystic/nodespy_common.pas b/mystic/nodespy_common.pas index 1e6ca04..bd0e2ed 100644 --- a/mystic/nodespy_common.pas +++ b/mystic/nodespy_common.pas @@ -26,6 +26,8 @@ Var Term : TTermAnsi; ConfigFile : File of RecConfig; Config : RecConfig; + XferPath : String; + AutoZmodem : Boolean; Implementation