GNU bug report logs - #27612
25.2; invoking term from a remote eshell uses the local path

Previous Next

Package: emacs;

Reported by: Pablo Barbachano <pablo.barbachano <at> gmail.com>

Date: Fri, 7 Jul 2017 19:47:02 UTC

Severity: wishlist

Merged with 36748, 44310

Found in versions 25.2, 26.2, 27.1

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Pablo Barbachano <pablo.barbachano <at> gmail.com>
Cc: 27612 <at> debbugs.gnu.org
Subject: bug#27612: 25.2; invoking term from a remote eshell uses the local path
Date: Wed, 12 Jul 2017 16:46:43 +0200
Pablo Barbachano <pablo.barbachano <at> gmail.com> writes:

Hi Pablo,

> M-x eshell
> $ cd /ssh:remote-host:
> $ hostname
> <remote-hostname>
>
> $ term hostname
> <local-hostname>
>
> term does not seem to get the default-directory from eshell.

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

One could replace this, but scanning term.el, there seems to be a tight
integration with ange-ftp. So I guess it needs further work to cooperate
with Tramp.

I'm not a term.el user, so I don't know, whether it is a feature to run
always locally. Other people might tell, whether it would be appropriate
to support remoteness.

If yes, I could try to migrate term.el. But this would take time anyway,
understanding 4500 lines of unknown code. And maybe it is not possible
at all to support a full equipped remote terminal in Emacs.

Best regards, Michael.




This bug report was last modified 4 years and 219 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.