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: Thu, 16 Aug 2018 10:31:11 +0200	[thread overview]
Message-ID: <87sh3e1zn4.fsf@gmx.de> (raw)
In-Reply-To: <CA+dFpWFH4cdGbdEScNkb=e+0Lov+mPbB2iBRnVQakB=ejp4UGA@mail.gmail.com> (Justin Joseph Kaipada's message of "Wed, 15 Aug 2018 15:45:45 -0400")

[Please keep Cc, for the archives]

Justin Joseph Kaipada <justinjoseph0007@gmail.com> writes:

Hi Justin,

> What are we expecting here, everything looks fine until 
>
> # stty -inlcr -onlcr -echo kill '^U' erase '^H'
>
> after which new commands are not making newlines anymore, mat be
> that's what the above command is doing. then everything works fines as
> usual.

Yes, we need some massage of macOS newline handling. How are carriage
return / linefeed handled on the remote OS/390? Just CR, or LF, or
CR/LF? On <https://en.wikipedia.org/wiki/Newline>, something different
is reported, NL (?\025).

> what's the point of getting the locale -a information anyways ?.

That's a trace command, which is sent because we have tramp-verbose set
to 10. In normal operation, Tramp wouldn't send this command.

> and once again # echo \"`getconf PATH 2>/dev/null`\" 2>/dev/null; echo
> tramp_exit_status $? returns "/bin" with quotes

Yes, in your shell. Inside Tramp, the apostrophes are missing :-(

Perhaps we need some more tty settings, don't know. What happens, if you
comment the stty command inside tramp-sh.el, so it isn't sent to the
remote? Does it make a difference? Note, that the first command with the
echo \"`uname -sr`\"  sequence has worked successfully.

(Well, it would help if I could run tests towards a remote OS/390
machine myself. But I suspect this isn't possible.)

Best regards, Michael.



  parent reply	other threads:[~2018-08-16  8:31 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
     [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 [this message]
     [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=87sh3e1zn4.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.