all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Justin Joseph Kaipada <justinjoseph0007@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Fixing a bug on Tramp
Date: Tue, 14 Aug 2018 09:18:07 +0200	[thread overview]
Message-ID: <87tvnxv2kw.fsf@gmx.de> (raw)
In-Reply-To: <CA+dFpWFGWpZP=PtZqx5nC3+8TzUJ_R+xMrxfHVp+7MWsbs+1Ow@mail.gmail.com> (Justin Joseph Kaipada's message of "Mon, 13 Aug 2018 17:28:46 -0400")

Justin Joseph Kaipada <justinjoseph0007@gmail.com> 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.



  reply	other threads:[~2018-08-14  7:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-07 22:53 Fixing a bug on Tramp Justin Joseph Kaipada
2018-08-08  7:17 ` Michael Albinus
2018-08-13 21:28   ` Justin Joseph Kaipada
2018-08-14  7:18     ` Michael Albinus [this message]
     [not found]       ` <CA+dFpWGG8zXAtt-GwFKM_MLC9=je4qSVNuVjGfypQn1iLb=MFQ@mail.gmail.com>
2018-08-14 15:23         ` Michael Albinus
     [not found]           ` <CA+dFpWFvqPD-ZgsyhWNZb6SL9h-DhNPjdpfX+Q+fvCXJDPy+=w@mail.gmail.com>
2018-08-15  7:21             ` Michael Albinus
     [not found]               ` <CA+dFpWE_JVo0K75ebo+y2PuWpeverxEh_FhpLs6NqsPHJ-3Knw@mail.gmail.com>
2018-08-15 14:08                 ` Michael Albinus
     [not found]                   ` <CA+dFpWFH4cdGbdEScNkb=e+0Lov+mPbB2iBRnVQakB=ejp4UGA@mail.gmail.com>
2018-08-16  8:31                     ` Michael Albinus
     [not found]                       ` <CA+dFpWHc=DBAs2fg==u3z8BOh9GT2iZyOi_5BLKM1ZaFLN=bJA@mail.gmail.com>
     [not found]                         ` <87sh3dz6fk.fsf@gmx.de>
     [not found]                           ` <87mutlz5yr.fsf@gmx.de>
     [not found]                             ` <CA+dFpWF33BPVxBSqqWpU0vN17FhOek9TKyKOJasgXToTS3aVkg@mail.gmail.com>
2018-08-25 11:54                               ` Michael Albinus
     [not found]                                 ` <CA+dFpWFJBVZkzUY=pWio_T4xVd7Lt9-VmAKOOGYtmMbxx8jsAw@mail.gmail.com>
2018-08-29  8:30                                   ` 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=87tvnxv2kw.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=justinjoseph0007@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.