GNU bug report logs - #16582
Bug: tramp shell command doesn't read stdin

Previous Next

Package: emacs;

Reported by: Sylvain Chouleur <sylvain.chouleur <at> gmail.com>

Date: Tue, 28 Jan 2014 22:44:02 UTC

Severity: normal

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Sylvain Chouleur <sylvain.chouleur <at> gmail.com>
Cc: 16582 <at> debbugs.gnu.org
Subject: bug#16582: Bug: tramp shell command doesn't read stdin
Date: Wed, 05 Feb 2014 16:33:32 +0100
Sylvain Chouleur <sylvain.chouleur <at> gmail.com> writes:

> Yes, that is the problem I'm trying to explain since the beginning, I'm
> please we have finally agreed on what was the issue :)

What about this one (the new tramp-end-heredoc patch is already in):

--8<---------------cut here---------------start------------->8---
*** /home/albinmic/src/tramp/lisp/tramp-sh.el.~master~	2014-02-05 16:27:23.314546196 +0100
--- /home/albinmic/src/tramp/lisp/tramp-sh.el	2014-02-05 16:24:58.391993324 +0100
***************
*** 2720,2726 ****
  			       (file-remote-p default-directory)
  			       tramp-initial-end-of-output))
  		      (if heredoc
! 			  (format "%s\n%s\n%s"
  				  program (car args) tramp-end-of-heredoc)
  			(mapconcat 'tramp-shell-quote-argument
  				   (cons program args) " ")))))
--- 2720,2726 ----
  			       (file-remote-p default-directory)
  			       tramp-initial-end-of-output))
  		      (if heredoc
! 			  (format "%s\n(\n%s\n) </dev/tty\n%s"
  				  program (car args) tramp-end-of-heredoc)
  			(mapconcat 'tramp-shell-quote-argument
  				   (cons program args) " ")))))
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.




This bug report was last modified 11 years and 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.