[fpc-pascal] Crt and remote terminal

Michael Van Canneyt michael at freepascal.org
Mon Jun 9 11:52:36 CEST 2008



On Mon, 9 Jun 2008, Jonas Maebe wrote:

> 
> On 09 Jun 2008, at 10:26, Carsten Bager wrote:
> 
> >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.
> 
> You can probably use the assigncrt() routine for your purpose, no?

Totally forgot about this call. Jonas is correct, this call should work
if you can open the terminal in a file.

Michael.



More information about the fpc-pascal mailing list