all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pablo Barbachano <pablo.barbachano@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 27612@debbugs.gnu.org
Subject: bug#27612: 25.2; invoking term from a remote eshell uses the local path
Date: Sat, 15 Jul 2017 00:00:47 +0200	[thread overview]
Message-ID: <87vamu65m8.fsf@gmail.com> (raw)
In-Reply-To: <87r2xlaf1o.fsf@detlef>


Hi Michael,

Michael Albinus <michael.albinus@gmx.de> writes:

> That is because term.el is not Tramp-aware. In `term-exec-1', it uses
> `start-process' instead of `start-file-process'.

I tried that and my dummy test case suddenly worked. So that's enough to make it work, but more complex programs like 'top' or 'ipython' seem to have the output mangled. For example if I now do `term bash`

```
$ echo -e "1"
             1
              $ echo -e "\r1"
1
```

So something is going on with how the newlines are interpreted in the terminal. This does not happen if I run them locally.

I can try playing with this for some time and maybe send a patch.

Thanks for the pointer!
--
Pablo





  reply	other threads:[~2017-07-14 22:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-07 19:37 bug#27612: 25.2; invoking term from a remote eshell uses the local path Pablo Barbachano
2017-07-12 14:46 ` Michael Albinus
2017-07-14 22:00   ` Pablo Barbachano [this message]
2017-07-15  7:38     ` 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=87vamu65m8.fsf@gmail.com \
    --to=pablo.barbachano@gmail.com \
    --cc=27612@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.