From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dfphil@yahoo.com (david) Newsgroups: gmane.emacs.help Subject: ssh in emacs shell in OS X Date: 28 Aug 2003 08:40:50 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <5d2d72f0.0308280740.56b0c2af@posting.google.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1062085846 32463 80.91.224.253 (28 Aug 2003 15:50:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2003 15:50:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 28 17:50:44 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19sP2q-00035y-00 for ; Thu, 28 Aug 2003 17:50:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19sP0w-0006Zg-14 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2003 11:48:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 131.142.8.111 Original-X-Trace: posting.google.com 1062085253 22136 127.0.0.1 (28 Aug 2003 15:40:53 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 28 Aug 2003 15:40:53 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:116209 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12128 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12128 I am trying to get tramp working in emacs on OS X. I am using Andrew Choi's "Emacs 21 for Mac OS X" which is otherwise working quite nicely. (For reference, emacs responds with "GNU Emacs 21.3.50.4 (powerpc-apple-darwin6.6) of 2003-08-27" when I ask it - today - for the version. ) However, when I try to use tramp to load a file from a local server, it goes into a nasty loop of "tramp: Looking for regexp" and eventually dies. After some Googling, I tried to get ssh working from an emacs shell. This also fails. After typing M-x shell and receiving a bash shell, I type: bash-2.05b$ ssh me@host and emacs replies with Pseudo-terminal will not be allocated because stdin is not a terminal ssh_askpass: exec(/sw/lib/ssh-askpass): No such file or directory Write failed: Broken pipe I get a corresponding error when I use the OS X default ssh. It looks for askpass in a different directory and doesn't find it there, either. I don't want ssh to launch ssh-askpass to ask for a password. I just want it to ask for my password as it normally would from a terminal. I haven't succeeded in Googling my way out of this problem. I don't understand under what circumstances ssh tries to invoke ssh-askpass or how to stop it. Nor do I understand why emacs is telling me that stdin is not a terminal. Any suggestions? Thanks, David