[fpc-pascal] fpsystem output
Rainer Stratmann
RainerStratmann at t-online.de
Tue Jan 15 13:03:12 CET 2013
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?
> Michael.
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list