From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.help Subject: Re: confused by tramp Date: 01 Jul 2003 17:08:39 -0400 Organization: disorganization Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: sds@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1057093999 11423 80.91.224.249 (1 Jul 2003 21:13:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Jul 2003 21:13:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 01 23:13:17 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 19XSQa-0002v3-00 for ; Tue, 01 Jul 2003 23:12:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19XSQv-0000Qj-HQ for gnu-help-gnu-emacs@m.gmane.org; Tue, 01 Jul 2003 17:13:01 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19XSQA-00008X-Rm for help-gnu-emacs@gnu.org; Tue, 01 Jul 2003 17:12:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19XSPf-0008BS-54 for help-gnu-emacs@gnu.org; Tue, 01 Jul 2003 17:11:44 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19XSMl-0006KO-0h for help-gnu-emacs@gnu.org; Tue, 01 Jul 2003 17:08:43 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19XSMF-0002YA-00 for ; Tue, 01 Jul 2003 23:08:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19XSMD-0002Xz-00 for ; Tue, 01 Jul 2003 23:08:09 +0200 Original-Lines: 39 Original-X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:11378 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11378 > * In message > * On the subject of "Re: confused by tramp" > * Sent on Tue, 01 Jul 2003 22:26:57 +0200 > * Honorable Michael Albinus writes: > > Sam Steingold writes: > > > I use w2k with cygwin. > > (call-process "scp" nil nil nil gnus-startup-file > > (concat gnus-startup-file ".eld") "podval:~/") > > works fine (returns 0 and copies the files), > > "podval" is mentioned in ~/.ssh/config > > > > I cannot figure out how to do the same with Emacs `copy-file'. > > (setq tramp-default-method "scp") > > but > > (copy-file gnus-startup-file "/podval:~/") > > just hangs. > > any help? > > Maybe you can interrupt the process with C-g? Interesting would be the > contents of the buffers *tramp/nil podval* and *debug tramp/podval* or > something like this. *tramp/nil podval*: Pseudo-terminal will not be allocated because stdin is not a terminal. *tramp/nil sds@podval* Pseudo-terminal will not be allocated because stdin is not a terminal. Read from remote host www.podval.org: Connection reset by peer Process *tramp/nil sds@podval* exited abnormally with code 255 -- Sam Steingold (http://www.podval.org/~sds) running w2k MS: our tomorrow's software will run on your tomorrow's HW at today's speed.