[Lazarus] Terminal Output window: problem with Crt unit on Linux

silvioprog silvioprog at gmail.com
Sat Mar 5 19:20:36 CET 2016


Hello,

Open your (useful) "Terminal Output" window (Ctrl+Alt+O), now compile and
run the example below:

=== code ===

program project1;

{$mode objfpc}{$H+}

//uses Crt;

begin
  WriteLn('Hello world');
end.

=== /code ===

OK, it will print:

Hello world

However, uncomment the line "//uses Crt", compile and run it again, that
will print:

[6n [H [mHello world

Does anybody have same problem like this?

My environment: Lazarus 1.7 r51665 FPC 3.1.1 x86_64-linux-gtk 2 (Xubuntu
14.04)

-- 
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160305/5f0a648a/attachment-0002.html>


More information about the Lazarus mailing list