[fpc-pascal] Crt and remote terminal

Michael Van Canneyt michael at freepascal.org
Mon Jun 9 11:16:42 CEST 2008



On Mon, 9 Jun 2008, Carsten Bager wrote:

> Hi
> 
> I would like to have the possibility to log in to my program via TCP and use 
> the crt unit.  (I monitor a connection attempt on a specific port number, and 
> opens a line when it is necessary)
> 
> I can easily create some code where input output is redirected to the 
> remote terminal but the crt unit still sends its commands to the terminal 
> where the program was started.
> Is it possible to re-Initialize the crt unit after the program is started and a tcp 
> connection is opened and Finalize when the connection is closed or should 
> I write a new unit.

Writing a new unit is probably your best shot.

Michael.



More information about the fpc-pascal mailing list