all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* confused by tramp
@ 2003-07-01 15:22 Sam Steingold
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Steingold @ 2003-07-01 15:22 UTC (permalink / raw)


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'.
I tried
(tramp-set-completion-function "scp" '((tramp-parse-sconfig "~/.ssh/config")))
(setq tramp-default-method "scp")
but
(copy-file gnus-startup-file "/podval:~/")
just hangs.
any help?
thanks.
-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
MS DOS: Keyboard not found. Press F1 to continue.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: confused by tramp
       [not found] ` <nqllvim1ri.fsf@alcatel.de>
@ 2003-07-01 21:08   ` Sam Steingold
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Steingold @ 2003-07-01 21:08 UTC (permalink / raw)


> * In message <nqllvim1ri.fsf@alcatel.de>
> * On the subject of "Re: confused by tramp"
> * Sent on Tue, 01 Jul 2003 22:26:57 +0200
> * Honorable Michael Albinus <Michael.Albinus@alcatel.de> writes:
>
> Sam Steingold <sds@gnu.org> 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
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
MS: our tomorrow's software will run on your tomorrow's HW at today's speed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-01 21:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.8980.1057077214.21513.help-gnu-emacs@gnu.org>
     [not found] ` <nqllvim1ri.fsf@alcatel.de>
2003-07-01 21:08   ` confused by tramp Sam Steingold
2003-07-01 15:22 Sam Steingold

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.