Have you tried adding {$APPTYPE CONSOLE} at the beginning of your code?

Regards,
Michał.

W dniu 2026-05-06 o 16:24, Danny Gowin via fpc-pascal pisze:
I need to report a bug in Lazarus running on Fedora.
Work items · FPC Source · GitLab <https://gitlab.com/freepascal.org/fpc/ source/-/work_items?sort=created_date&state=opened&first_page_size=20>

Fedora 44, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program.

*Program mytestprog01;*
*
*
*Uses crt;*
*
*
*Begin*
*    Writeln('Hello World');*
*    Readln;*
*end.*

When Compile Run is initiated.

 1.
    Run With Debugger.


_A terminal Window is NOT initiated._
The program can be Stopped. But the IDE returns no Error.

The compiled program executes correctly when run manually from a terminal.

Question: Lazarus on Fedora, is the IDE making a call to an obsolete terminal program like xterm?

This feature works correctly on the Windows 11, Lazarus version 4.6, FPC Version 3.2.2, Project: Simple Program.

Dan Gowin
Advanced Services Engineer

www.Trace3.com
(317) 439-7198 desk
(317) 439-7198 mobile

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to