[RFA/RFC] new setting against auto-answer? (because "input not from terminal")

Daniel Jacobowitz drow@false.org
Sat Oct 25 16:24:00 GMT 2008


On Sat, Oct 25, 2008 at 08:45:29AM -0700, Joel Brobecker wrote:
> I assume that the first issue (with cygwin sshd) is fixable, since
> running cygwin's GDB, the debugger detects a "terminal" and runs in
> the right mode. I'll take a look at the sources and see if I can find
> something.

It is very, very hard :-(

The only way we've been able to find to deal with this is to find
Cygwin and ask it if there's a TTY; and you can't even do it by
spawning /bin/tty, since tty-ness won't pass through an intermediate
Windows process.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list