[fpc-pascal] fpsystem output
Michael Van Canneyt
michael at freepascal.org
Tue Jan 15 08:57:58 CET 2013
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
> like in the Linux shell
> The output is:
> 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.
More information about the fpc-pascal