MIS STDIO redirection psuedo for OSX/Linux. WIN32 reference changed to WINDOWS setup my M_OPS. Totally failing tonight with commits...

This commit is contained in:
mysticbbs 2012-02-18 02:54:53 -05:00
parent c0a688bcbf
commit dfa5013f4f
1 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ Begin
Self.ND := ND; Self.ND := ND;
End; End;
{$IFDEF WIN32} {$IFDEF WINDOWS}
Procedure TTelnetServer.Execute; Procedure TTelnetServer.Execute;
Var Var
Cmd : String; Cmd : String;
@ -118,11 +118,11 @@ Begin
fpSystem(Cmd); // placeholder for above fpSystem(Cmd); // placeholder for above
// redirection of STDIO psuedocode loop here // redirection of STDIO psuedocode loop here
// NOTE client class already escapes telnet protocol, no need for that. // NOTE client class already escapes telnet protocol, no need for that!
// //
// while processGoing do begin // while processGoing do begin
// case waitEvent(Input, output or close, wait INFINITY) // case waitEvent(Input, output, close, wait INFINITY)
// input : push input to Client class // input : push input to STDIO handle?
// output : push output to client class // output : push output to client class
// close : break; // close : break;
// end // end