Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-03

Terminal Output window: problem with Crt unit on Linux

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog

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.freepascal.org/pipermail/lazarus/attachments/20160305/5f0a648a/attachment.html>

Reply by email