From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: w32 ssh trouble Date: Sat, 17 May 2003 21:46:10 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84el2xmk59.fsf@lucy.is.informatik.uni-duisburg.de> References: <0sCwa.27818$h42.300@twister.nyc.rr.com> <0RNwa.29446$h42.7629@twister.nyc.rr.com> <847k8rxv9l.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1053201015 22208 80.91.224.249 (17 May 2003 19:50:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 17 May 2003 19:50:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat May 17 21:50:11 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 19H7h4-0005lk-00 for ; Sat, 17 May 2003 21:50:10 +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 19H7hY-00071m-08 for gnu-help-gnu-emacs@m.gmane.org; Sat, 17 May 2003 15:50:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!newsfeed.mathworks.com.MISMATCH!newsfeed!fu-berlin.de!uni-berlin.de!p50877359.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: p50877359.dip.t-dialin.net (80.135.115.89) Original-X-Trace: fu-berlin.de 1053200778 27201907 80.135.115.89 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:FFrpIRlUV5jn/xmPM3fK2gbg4RU= Original-Xref: shelby.stanford.edu gnu.emacs.help:113338 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:9832 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9832 Bruce Ingalls writes: > Kai Großjohann wrote: >> Bruce Ingalls writes: >> >>>I tried plink v0.53b (should be latest binary release), and I was >>>able to get the prompt for the password, when I run it inside M-x shell. >>>However, it does not recognize my password, even though I know that I >>>am entering it correctly. >> What happens when you use M-: (process-send-string nil "your-pw\n") >> RET to send the password? What happens when you use \r instead of >> \n? What happens when you use \r\n instead of \n? > > Well, It's a bit hard to do this, in the middle of a password prompt. > It tries to read in M-: (whatever control char that generates) as my > password. Hm. Well, you can remove comint-watch-for-password-prompt from comint-output-filter-functions. That ought to remove the minibuffer prompt and thus you can do M-: normally. > I did try to do a C-g (a second time, after I got a "Non echoed text" > prompt) and I noticed this phenomenon: > The shell seems to chop off the last 2 characters of my input. Huh? That's weird. I could put stuff in Tramp that adds junk to passwords. (Are we talking about Tramp?) Surely I would do this if it makes users happy. But it makes me feel REALLY REALLY uneasy. *shudder* -- This line is not blank.