From: Michael Albinus <michael.albinus@gmx.de>
To: Sylvain Chouleur <sylvain.chouleur@gmail.com>
Cc: 16582@debbugs.gnu.org
Subject: bug#16582: Bug: tramp shell command doesn't read stdin
Date: Wed, 05 Feb 2014 16:33:32 +0100 [thread overview]
Message-ID: <87r47htvzn.fsf@gmx.de> (raw)
In-Reply-To: <CAD_mUW0TvqtUgJ_P8f=vtdOghB1x+wEhRzYEwNg1icvCqc0sng@mail.gmail.com> (Sylvain Chouleur's message of "Wed, 5 Feb 2014 15:44:14 +0100")
Sylvain Chouleur <sylvain.chouleur@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.
next prev parent reply other threads:[~2014-02-05 15:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-28 22:40 bug#16582: Bug: tramp shell command doesn't read stdin Sylvain Chouleur
2014-01-29 14:35 ` Michael Albinus
2014-02-02 14:27 ` Sylvain Chouleur
2014-02-03 12:53 ` Michael Albinus
2014-02-04 22:53 ` Sylvain Chouleur
2014-02-05 8:29 ` Michael Albinus
2014-02-05 9:44 ` Sylvain Chouleur
2014-02-05 10:27 ` Michael Albinus
2014-02-05 12:27 ` Sylvain Chouleur
2014-02-05 14:04 ` Michael Albinus
2014-02-05 14:44 ` Sylvain Chouleur
2014-02-05 15:33 ` Michael Albinus [this message]
2014-02-05 21:01 ` Sylvain Chouleur
2014-02-06 8:52 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r47htvzn.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=16582@debbugs.gnu.org \
--cc=sylvain.chouleur@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.