Re: '\r' only end-of-line

Daniel Jacobowitz
2006-10-11T15:05:11Z

On Wed, Oct 11, 2006 at 03:42:06PM +0100, Andrew STUBBS wrote:
> Daniel Jacobowitz wrote:
> >I am pretty sure you'll get nasty lossage from, e.g., GDB thinking it's
> >not connected to a terminal. Error messages will show up after
> >prompts, and questions will be suppressed.
>
> Yes, in the absence of a better solution, we have gdb_has_a_terminal
> always return 1 for MinGW. It means that it doesn't work right for
> pipes, but without this it does not work right in normal interactive
> mode, which is worse.
>
> As far as I am aware this is a normal MinGW problem, not limited to use
> with Expect.

It works fine in a Windows command shell without this, which is how we
currently use it.

--
Daniel Jacobowitz
CodeSourcery