Re: GDC - no flush to stdio?

2013-04-02 Thread DLearner
On Monday, 1 April 2013 at 20:32:25 UTC, Johannes Pfau wrote: Am Mon, 01 Apr 2013 13:26:53 -0700 schrieb Ali Çehreli : On 04/01/2013 01:06 PM, DLearner wrote:> On Monday, 1 April 2013 at 19:01:07 UTC > I tried your example, getting four error messages first of which > was 'undefined identi

Re: GDC - no flush to stdio?

2013-04-01 Thread Johannes Pfau
Am Mon, 01 Apr 2013 13:26:53 -0700 schrieb Ali Çehreli : > On 04/01/2013 01:06 PM, DLearner wrote:> On Monday, 1 April 2013 at > 19:01:07 UTC > > > I tried your example, getting four error messages first of which > > was 'undefined identifier write, did you mean function fwrite?'. > > I am us

Re: GDC - no flush to stdio?

2013-04-01 Thread Ali Çehreli
On 04/01/2013 01:06 PM, DLearner wrote:> On Monday, 1 April 2013 at 19:01:07 UTC > I tried your example, getting four error messages first of which was > 'undefined identifier write, did you mean function fwrite?'. > I am using GDC as provided with Debian 6.0.7, and my usual D > write-functions

Re: GDC - no flush to stdio?

2013-04-01 Thread DLearner
On Monday, 1 April 2013 at 19:01:07 UTC, H. S. Teoh wrote: On Mon, Apr 01, 2013 at 08:53:40PM +0200, DLearner wrote: On Monday, 1 April 2013 at 18:44:16 UTC, Ali Çehreli wrote: >On 04/01/2013 11:37 AM, DLearner wrote: >>I was trying to use writef("Escape string" ~ "Display >>string") to >>simul

Re: GDC - no flush to stdio?

2013-04-01 Thread H. S. Teoh
On Mon, Apr 01, 2013 at 08:53:40PM +0200, DLearner wrote: > On Monday, 1 April 2013 at 18:44:16 UTC, Ali Çehreli wrote: > >On 04/01/2013 11:37 AM, DLearner wrote: > >>I was trying to use writef("Escape string" ~ "Display string") to > >>simulate a full-screen console. But writef doesn't seem to fl

Re: GDC - no flush to stdio?

2013-04-01 Thread DLearner
On Monday, 1 April 2013 at 18:44:16 UTC, Ali Çehreli wrote: On 04/01/2013 11:37 AM, DLearner wrote: I was trying to use writef("Escape string" ~ "Display string") to simulate a full-screen console. But writef doesn't seem to flush until a newline entered (which disturbs cursor position). I w

Re: GDC - no flush to stdio?

2013-04-01 Thread Ali Çehreli
On 04/01/2013 11:37 AM, DLearner wrote: I was trying to use writef("Escape string" ~ "Display string") to simulate a full-screen console. But writef doesn't seem to flush until a newline entered (which disturbs cursor position). I would have expected a 'flush()' function, but 'flush()' itself p

GDC - no flush to stdio?

2013-04-01 Thread DLearner
I was trying to use writef("Escape string" ~ "Display string") to simulate a full-screen console. But writef doesn't seem to flush until a newline entered (which disturbs cursor position). I would have expected a 'flush()' function, but 'flush()' itself produces an error (does not exist), and