On Mon, 14 Jan 2013, Rainer Stratmann wrote:

When calling for example fpsystem( 'cat /proc/partitions' );
the lines are not beginning at the 1st character of the next line

Instead of
Line1
Line2
Line3
like in the Linux shell

The output is:
Line1
     Line2
         Line3

and so on

What is the reason?

Here the output looks OK when executing as-is.

But if you are using the crt unit, that may mess up the terminal.
I added crt, and then the output was indeed indented.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to