[fpc-pascal] fpsystem output
Michael Van Canneyt
michael at freepascal.org
Tue Jan 15 13:25:08 CET 2013
On Tue, 15 Jan 2013, Rainer Stratmann wrote:
> Am Tuesday 15 January 2013 08:57:58 schrieb Michael Van Canneyt:
>> 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.
>
> I also use crt.
> Is it possible to change the bevahiour?
No.
in order to do it's magic, CRT must control the terminal.
Michael.
More information about the fpc-pascal
mailing list