Wow, Interix! I gave up on Interix quite a while ago but I can confirm a similar issue, running NTEmacs but using ssh and friends built using MinGW/MSYS. I was never able to get interactive ssh to work correctly in an Emacs shell window (using MSYS bash as the command shell) -- it hung as AKF_SDS described.
I did get bash to work fairly smoothly for almost everything else (including correct file name completion); I can offer a few hints on that subject if anyone is interested. On Mon, May 20, 2013 at 10:27 AM, Eli Zaretskii <e...@gnu.org> wrote: > > Date: Sun, 19 May 2013 19:57:15 -0700 (PDT) > > From: AKF_SDS <a...@saratogadata.com> > > > > Be forewarned, this is a bit complex... > > You could say _that_ again! > > > I'm running Emacs v23.1 on Windows XP. Within Emacs I'm running > > Gentoo-Prefix via Interix v3.5. With this setup ssh hangs without > output. I > > ran ssh with truss and received the output below. What stuck out to me > was > > the repetition of: > > close(/some number/) close failed: errno 9, Bad file descriptor > > > > No other utilities have this issue. Has anyone seen this bug before? Can > > anyone point me in the direction of a fix? > > You are talking to Emacs users on Windows, but both your problem and > the data you present are from Unix. You are unlikely to find here > anyone who could interpret that data, let alone correlate it with > something that is caused by Emacs on Windows. > > You may have better luck attaching a debugger to ssh when it hangs and > finding out the reason why it hangs. Then, perhaps some ssh developer > could tell you what might be the possible reason(s) for that. Only > then, maybe, it would be possible to see how all this is related to > Emacs and/or Windows. > > Sorry. > >