[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bgl-discuss] pesky 0: in stdout



Similar issue: It would be helpful if the software did not split the line
when I fflush stdout. (Or is there something other than fflush() I should
be doing before a long operation?)

The problem is that this...

printf("Foo:");
fflush(stdout);
long_running_operation();
printf(" bar\n");

...would produce this on a regular system:
Foo: bar

...but on BG/L, it would produce this:
0: Foo:
0:  bar

Thanks,
ccg


On Sat, 19 Mar 2005, Narayan Desai wrote:

> >>>>> "Paul" == Paul Fischer <fischer@xxxxxxxxxxx> writes:
>
>   Paul> I saw this question raised before but may have missed its
>   Paul> resolution --
>
>   Paul> Is there a way to turn off the pesky "0:" at the front of
>   Paul> every line in stdout ?
>
> Not through the BG/L tools directly. Since we have software
> interposing, I could cook it there, but that would leave stdout
> subject to the problems we discussed yesterday.
> -nld
>
> - --------------------------------------------------------------------
> To add or remove yourself from this mailing list, use the 'notifyme'
> command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.
>
>

- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.