[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16582: Bug: tramp shell command doesn't read stdin
From: |
Michael Albinus |
Subject: |
bug#16582: Bug: tramp shell command doesn't read stdin |
Date: |
Wed, 05 Feb 2014 09:29:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Sylvain Chouleur <sylvain.chouleur@gmail.com> writes:
> Hi Michael,
Hi Sylvain,
> replacing EOF delimiter by a md5sum works well.
Good.
> The process substitution works only for real bash shells, or zsh.
> It does not work with sh or busybox.
>
> So I think we have two solutions here:
> - Support multiple methods, chosen by user configuration:
> -> bash -c "cmd" which doesn't support very long commands
> -> bash <<EOF which doesn't support stdin
> -> bash <(cat <<EOF) which supports all but which doesn't works on
> basic shells like sh or busybox (works with bash and zsh)
> - Reproduce method 3 by writting commands in a target's temporary
> file, launch the shell with this file in argument, and finally remove
> the file from the target.
>
> The last solution have the major drawback to execute extra commands
> each time and to have a writable filesystem usable on the target
I don't get your point. If my patch works well (as you said above), why
do you want to change something else?
If you still have problems with my patch, please give me an exact recipe
what triggers the problem. I cannot reproduce the problem here, sorry.
A Tramp debug buffer, produced with tramp-verbose set to 6, would help.
> Cheers,
Best regards, Michael.
- bug#16582: Bug: tramp shell command doesn't read stdin, Sylvain Chouleur, 2014/02/02
- bug#16582: Bug: tramp shell command doesn't read stdin, Michael Albinus, 2014/02/03
- bug#16582: Bug: tramp shell command doesn't read stdin, Sylvain Chouleur, 2014/02/04
- bug#16582: Bug: tramp shell command doesn't read stdin,
Michael Albinus <=
- bug#16582: Bug: tramp shell command doesn't read stdin, Sylvain Chouleur, 2014/02/05
- bug#16582: Bug: tramp shell command doesn't read stdin, Michael Albinus, 2014/02/05
- bug#16582: Bug: tramp shell command doesn't read stdin, Sylvain Chouleur, 2014/02/05
- bug#16582: Bug: tramp shell command doesn't read stdin, Michael Albinus, 2014/02/05
- bug#16582: Bug: tramp shell command doesn't read stdin, Sylvain Chouleur, 2014/02/05
- bug#16582: Bug: tramp shell command doesn't read stdin, Michael Albinus, 2014/02/05
- bug#16582: Bug: tramp shell command doesn't read stdin, Sylvain Chouleur, 2014/02/05
- bug#16582: Bug: tramp shell command doesn't read stdin, Michael Albinus, 2014/02/06