Mail Archives: djgpp/1996/12/10/17:50:25
On Sun, 8 Dec 1996, John Schucker wrote:
> Oh, posting where I replaced is simple. I replaced, in screen.c:
> #define _outtext(s) cputs(s);
> with:
> #define _outtext(s) {fputs(s,stdout); fflush(stdout);}
That explains it. The *really* important place to replace is in the
`flush' function defined on `output.c' file. There is a passage there
which says thus:
#if MSDOS_COMPILER==BORLANDC || MSDOS_COMPILER==DJGPPC
if (is_tty && any_display)
{
*ob = '\0';
cputs(obuf);
ob = obuf;
return;
}
#endif
Replace that call to `cputs' with a call to `fputs', and you will get
what you want.
> BTW, any idea why bash runs fine but suddenly dies on me?
It will help if you post the stack trace which gets printed when `bash'
crashes. Post it to the news group, so Daisuke Aoyama (who did the port)
will see it. Also, be sure to use the latest version of `bash', so you
don't have to debug problems that are already solved. I only use `bash'
as a batch shell, so I didn't see any of these problems.
> If I get both of these problems worked out, I'll move on to messing about
> with emacs. I'll probably have 20 questions on that, too.
Be my guest.
- Raw text -