Re: [fpc-devel] Output flush on pipes

2006-05-15 Thread Martin Schreiber
On Monday 15 May 2006 07.51, Daniël Mantione wrote: Op Mon, 15 May 2006, schreef Martin Schreiber: On Monday 15 May 2006 07.29, Daniël Mantione wrote: Op Mon, 15 May 2006, schreef Martin Schreiber: How do FPIDE and Lazarus solve the problem? The IDE retrieves the messages through

Re: [fpc-devel] Output flush on pipes

2006-05-15 Thread Daniël Mantione
Op Mon, 15 May 2006, schreef Martin Schreiber: On Monday 15 May 2006 07.51, Daniël Mantione wrote: Op Mon, 15 May 2006, schreef Martin Schreiber: On Monday 15 May 2006 07.29, Daniël Mantione wrote: Op Mon, 15 May 2006, schreef Martin Schreiber: How do FPIDE and Lazarus solve the

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Micha Nelissen
On Sun, 14 May 2006 08:48:07 +0200 (CEST) Daniël Mantione [EMAIL PROTECTED] wrote: About flushing the output, I think it is impossible to receive the output interactively currently, it will output in bursts. You should still be able to receive the output, though. If you want to receive it

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Vincent Snijders
Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Martin Schreiber: Since some time FPC doesn't flush output on pipes after writeln. On linux I can use a pseudo terminal, what can I do on win32 to get flushed output from FPC into the message window of MSEide? About flushing the

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Martin Schreiber
On Sunday 14 May 2006 08.48, Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Martin Schreiber: Since some time FPC doesn't flush output on pipes after writeln. On linux I can use a pseudo terminal, what can I do on win32 to get flushed output from FPC into the message window of MSEide?

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Martin Schreiber wrote: On Sunday 14 May 2006 08.48, Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Martin Schreiber: Since some time FPC doesn't flush output on pipes after writeln. On linux I can use a pseudo terminal, what can I do on win32 to get

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Martin Schreiber: Since some time FPC doesn't flush output on pipes after writeln. On linux I can use a pseudo terminal, what can I do on win32 to get flushed output from FPC into the message window of

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Mattias Gaertner
On Sun, 14 May 2006 12:03:34 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sun, 14 May 2006, Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Michael Van Canneyt: On Sun, 14 May 2006, Daniël Mantione wrote: Op Sun, 14 May 2006,

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Mattias Gaertner
On Sun, 14 May 2006 11:46:33 +0200 Florian Klaempfl [EMAIL PROTECTED] wrote: Michael Van Canneyt wrote: On Sun, 14 May 2006, Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Michael Van Canneyt: On Sun, 14 May 2006, Daniël Mantione wrote: Op Sun, 14 May 2006, schreef

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Peter Vreman
We could do this ourselves by assigning a unique number to each error. (and keeping these numbers) All messages already have an unique number. It is only not used in the output. Peter ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Daniël Mantione
Op Sun, 14 May 2006, schreef Florian Klaempfl: Parsing the current error messages isn't that hard? Perhaps it is even easier than the format I proposed, but it is bad software design and asking for breakage. Daniël___ fpc-devel maillist -

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Peter Vreman wrote: We could do this ourselves by assigning a unique number to each error. (and keeping these numbers) All messages already have an unique number. It is only not used in the output. So, in principle they don't change ? I seem to remember

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Florian Klaempfl
Martin Schreiber wrote: On Sunday 14 May 2006 16.54, Florian Klaempfl wrote: The error numbers didn't change, they are keep unique. I propose to do the following: - add an option -vm (machine readable output) Using this option the compiler outputs the messages csv like and flushes after

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Mattias Gaertner wrote: On Sun, 14 May 2006 12:10:14 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: [...] I'm all for such a message form; it should be easy to add with some -v switch... But - This is no use if the message code changes over

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Florian Klaempfl wrote: The error numbers didn't change, they are keep unique. I propose to do the following: - add an option -vm (machine readable output) Using this option the compiler outputs the messages csv like and flushes after each message: message type tab

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Martin Schreiber
On Sunday 14 May 2006 17.16, Florian Klaempfl wrote: I need no machine readable output (up to now), I need a way to get flushed writeln output from the RTL on widows to display it in the MSEide message window (compiler output) and the target window (program output). On linux I use a PTY to

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread L505
On Sun, 14 May 2006, Florian Klaempfl wrote: The error numbers didn't change, they are keep unique. I propose to do the following: - add an option -vm (machine readable output) Using this option the compiler outputs the messages csv like and flushes after each message: message type

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Florian Klaempfl
Martin Schreiber wrote: On Sunday 14 May 2006 17.16, Florian Klaempfl wrote: I need no machine readable output (up to now), I need a way to get flushed writeln output from the RTL on widows to display it in the MSEide message window (compiler output) and the target window (program output). On

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Michael Van Canneyt: On Sun, 14 May 2006, Florian Klaempfl wrote: The error numbers didn't change, they are keep unique. I propose to do the following: - add an option -vm (machine readable

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Marco van de Voort
On Sun, 14 May 2006, Dani?l Mantione wrote: XML requires an advanced parser and existing parsers will also produce complicated parser trees. (All that is needed is a sequence of key/value pairs, XML is a recursive tree). I'm not against it, but I have a light preference for something

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Tomas Hajny
On 14 May 06, at 19:20, Vincent Snijders wrote: Tomas Hajny wrote: On 14 May 06, at 8:54, Vincent Snijders wrote: Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Martin Schreiber: Since some time FPC doesn't flush output on pipes after writeln. On linux I can use a pseudo terminal,

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Martin Schreiber
On Sunday 14 May 2006 20.17, Florian Klaempfl wrote: Martin Schreiber wrote: The problem exists not only for the compiler but for all console programs. I found no way to display the interactive output in a IDE window on win32. On Linux I can use a pseudo terminal to get flushed output

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Daniël Mantione
Op Mon, 15 May 2006, schreef Martin Schreiber: On Sunday 14 May 2006 20.17, Florian Klaempfl wrote: Martin Schreiber wrote: The problem exists not only for the compiler but for all console programs. I found no way to display the interactive output in a IDE window on win32. On Linux

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Daniël Mantione
Op Mon, 15 May 2006, schreef Martin Schreiber: On Monday 15 May 2006 07.29, Daniël Mantione wrote: Op Mon, 15 May 2006, schreef Martin Schreiber: How do FPIDE and Lazarus solve the problem? The IDE retrieves the messages through the comphook unit. And the output from a console

[fpc-devel] Output flush on pipes

2006-05-13 Thread Martin Schreiber
Since some time FPC doesn't flush output on pipes after writeln. On linux I can use a pseudo terminal, what can I do on win32 to get flushed output from FPC into the message window of MSEide? Martin ___ fpc-devel maillist -