[Lazarus] How to enable the "Terminal Output" window

Martin Frb lazarus at mfriebe.de
Wed Jul 22 11:26:04 CEST 2015


On 22/07/2015 09:52, Graeme Geldenhuys wrote:
> I have two copies of Lazarus - one on my host system, and one in a VM.
> The VM version as a "Terminal Output" option in the View -> Debug
> Windows menu. But my Lazarus on my host system doesn't have that option.
> My host system is running Lazarus 1.5 r49482 FPC 2.6.4 x86_64-freebsd-gtk 2
>
> Is there an add-on package I need to install to enable this feature?
>
> Regards,
>    - Graeme -
>


It may just be a define... Or it may not be implemented.

On Windows "Terminal Output" does not exist, because console apps always 
have there own window (though if someone knew how to implement it ...)
On MAC, no one seems to know how to do a virtual pty, so it is not 
implemented.

Freebsd was never tested. If the linux code for a virtual pty works, 
then only the IFDEF needs to be changed.

search for
{$IFDEF linux} {$DEFINE DBG_ENABLE_TERMINAL} {$ENDIF}

and enable it, and see if it works.





More information about the Lazarus mailing list