[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fixing a bug on Tramp
From: |
Michael Albinus |
Subject: |
Re: Fixing a bug on Tramp |
Date: |
Tue, 14 Aug 2018 09:18:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Justin Joseph Kaipada <address@hidden> writes:
Hi Justin,
> Sure, here it is.
>
> Tramp version : 2.2.13.25.2
> Emacs version: GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS
> appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2017-09-12
Thanks, this will help in the future.
>> When trying to connect to a IBM Z/OS machine, tramp fails at the
>> first test saying
>>
>> tramp-file-name-handler: ‘echo \"‘uname -sr‘\"’ does not return a
>> valid Lisp expression: ‘OS/390 26.00 ’
>>
>> After wandering through the source code for couple of days, I can't
>> figure out what's wrong. Well, I only know beginner level lisp for
>> one thing. The lack of comments anywhere doesn't help either.
>>
>> Actually running echo \"‘uname -sr‘\" returns "OS/390 26.00" on my
>> Z/OS machine.
The Tramp traces tell it different, a little bit:
> 17:25:22.147537 tramp-send-command (6) # echo \"`uname -sr`\" 2>/dev/null;
> echo tramp_exit_status $?
> 17:25:22.156376 tramp-wait-for-regexp (6) #
> OS/390 26.00
> tramp_exit_status 0
> ///0568630d489e706e26830effd9cfca56#$
The command does not return "OS/390 26.00", as expected. The apostrophes
are missing around the value, which makes Tramp confused.
Could you pls recheck on the remote machine, what happens if you call in
the shell /bin/sh
# echo \"`uname -sr`\"
Which shell is activated when you invoke /bin/sh? Are there other shells
which could be used on that machine? Could the command be modified in
order to get the expected output?
Best regards, Michael.
- Fixing a bug on Tramp, Justin Joseph Kaipada, 2018/08/07
- Re: Fixing a bug on Tramp, Michael Albinus, 2018/08/08
- Re: Fixing a bug on Tramp, Justin Joseph Kaipada, 2018/08/13
- Re: Fixing a bug on Tramp,
Michael Albinus <=
- Message not available
- Re: Fixing a bug on Tramp, Michael Albinus, 2018/08/14
- Message not available
- Re: Fixing a bug on Tramp, Michael Albinus, 2018/08/15
- Message not available
- Re: Fixing a bug on Tramp, Michael Albinus, 2018/08/15
- Message not available
- Re: Fixing a bug on Tramp, Michael Albinus, 2018/08/16
- Message not available
- Message not available
- Message not available
- Message not available
- Re: Fixing a bug on Tramp, Michael Albinus, 2018/08/25
- Message not available
- Re: Fixing a bug on Tramp, Michael Albinus, 2018/08/29