Changes for zmodem in telnet client

This commit is contained in:
mysticbbs 2013-02-17 17:34:36 -05:00
parent 0374c7d4e2
commit 34db17e621
2 changed files with 7 additions and 1 deletions

View File

@ -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;

View File

@ -26,6 +26,8 @@ Var
Term : TTermAnsi;
ConfigFile : File of RecConfig;
Config : RecConfig;
XferPath : String;
AutoZmodem : Boolean;
Implementation