« Return to Thread: Pseudo-terminal will not be allocated because stdin is not a terminal.

Re: Pseudo-terminal will not be allocated because stdin is not a terminal.

by Christopher Faylor-8 :: Rate this Message:

Reply to Author | View in Thread

On Thu, Feb 01, 2007 at 04:42:59PM -0800, peter360 wrote:
>Indeed!  It turns out I was using c:\WINDOWS\System32\ssh.exe, which I have
>no idea how it got there...  I installed openssh and the problem was fixed.
>Thanks!
>
>Just out of curiosity, how does a program check if stdin is a "terminal"?
>My xterm looks like a terminal to me but apparently the windows version of
>ssh.exe couldn't figure that out...

Windows doesn't know what a "terminal" is.  Cygwin invents its own concept
but only Cygwin programs are aware of this.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

 « Return to Thread: Pseudo-terminal will not be allocated because stdin is not a terminal.