From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.help Subject: Re: w32 ssh trouble Date: 15 May 2003 08:06:31 +0100 Organization: freedom2surf Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <0sCwa.27818$h42.300@twister.nyc.rr.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052982668 20591 80.91.224.249 (15 May 2003 07:11:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 15 May 2003 07:11:08 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 15 09:11:02 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19GCtH-0005LZ-00 for ; Thu, 15 May 2003 09:10:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GCse-0006jo-06 for gnu-help-gnu-emacs@m.gmane.org; Thu, 15 May 2003 03:10:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!213.253.16.105.MISMATCH!mephistopheles.news.clara.net!news.clara.net!news.freedom2surf.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 195.137.103.251 Original-X-Trace: news.freedom2surf.net 1052982415 28129 195.137.103.251 (15 May 2003 07:06:55 GMT) Original-X-Complaints-To: abuse@freedom2surf.net Original-NNTP-Posting-Date: Thu, 15 May 2003 07:06:55 +0000 (UTC) X-Face: .PruP48JRO{Z6Rfz?YkZ>)zR+7!Up"`!1Cvq{fGd)@K; y]C:8r\CrJ^Mj\_U"9*WD2 I#zdK_#tw]y9*Y$?ge&b23Zt7zpknL{)F7Px4DVSY6b9dg[^VtkN-R_$YJ0cL''j[,}O#k{k| User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:113248 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9744 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9744 Bruce Ingalls writes: > I am trying to get TRAMP to work under w32. > Note that Linux works fine for me. > > I tried executing M-x shell, then ssh. > This fails, with the error > Pseudo-terminal will not be allocated because stdin is not a terminal. > > Why am I getting this error, and what can I do about it? You are getting the error because the version of ssh you are using expects a certain method of faking Unix pttys (I could take a wild guess here and say that you're using a Cygwin port of ssh). You could try using an alternative ssh client. plink (the putty command-line client) seems like it could work if you can get comint to recognize the passphrase prompt. > I also tried running ftp under the shell, but Emacs hangs, no error. Cygwin ftp? Same problem perhaps. > I do not have these shell problems with w32 XEmacs. Cygwin version? You would probably get the ptty emulation that Cygwin expects if you used the Cygwin port of Emacs as well.