tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pscp is broken on >2.2.6


From: Michael Albinus
Subject: Re: Pscp is broken on >2.2.6
Date: Tue, 23 Dec 2014 14:09:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Michael Albinus <address@hidden> writes:

> Likely, it is due to the change from `start-process' to
> `start-process-shell-command' in `tramp-do-copy-or-rename-file-out-of-band'.

Maybe the following patch works:

--8<---------------cut here---------------start------------->8---
*** /home/albinus/src/tramp/lisp/tramp-sh.el.~master~   2014-12-23 
13:46:45.747781236 +0100
--- /home/albinus/src/tramp/lisp/tramp-sh.el    2014-12-23 13:38:18.599777819 
+0100
***************
*** 2471,2478 ****
                   (mapconcat 'identity (process-command p) " "))
                  (tramp-set-connection-property p "vector" orig-vec)
                  (tramp-compat-set-process-query-on-exit-flag p nil)
!                 (tramp-process-actions
!                  p v nil tramp-actions-copy-out-of-band)
  
                  ;; Check the return code.
                  (goto-char (point-max))
--- 2471,2484 ----
                   (mapconcat 'identity (process-command p) " "))
                  (tramp-set-connection-property p "vector" orig-vec)
                  (tramp-compat-set-process-query-on-exit-flag p nil)
! 
!                 ;; When `shell-file-name' is "cmdproxy", we must adapt
!                 ;; `tramp-local-end-of-line' for sending the password.
!                 (let ((tramp-local-end-of-line
!                        (if (string-match "cmdproxy" shell-file-name)
!                            "\n" tramp-local-end-of-line)))
!                   (tramp-process-actions
!                    p v nil tramp-actions-copy-out-of-band))
  
                  ;; Check the return code.
                  (goto-char (point-max))
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]