]> git.eshelyaron.com Git - emacs.git/commit
Use RemoteCommand option for Tramp's sshx and scpx methods
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 22 Jan 2021 16:39:52 +0000 (17:39 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 22 Jan 2021 16:39:52 +0000 (17:39 +0100)
commitb2b26bd4d66d25f2456baa4e9eb9516c122a30e0
tree80f2d1491abaeed174a44d03d7ee2471eadea054
parent4c0dce4b66c41a12a4cf7439b036962e9525eeaa
Use RemoteCommand option for Tramp's sshx and scpx methods

* doc/misc/tramp.texi (Inline methods) <sshx>:
(External methods) <scpx>: Adapt call sequence.
(Remote shell setup): Mention, that sshx and scpx overwrite
RemoteCommand.
(Remote processes): Restriction: direct asynchronous processes
cannot be used when RemoteCommand is in use.
`tramp-remote-process-environment' is not ignored any longer.

* lisp/net/tramp-sh.el (tramp-methods) <sshx, scpx>: Handle login
shell via RemoteCommand.  Remove `tramp-direct-async' parameter.
(tramp-maybe-open-connection): Add "-i" to login.

* lisp/net/tramp-smb.el (tramp-smb-errors):
Add "NT_STATUS_NOT_SUPPORTED".
(tramp-smb-handle-insert-directory): Fix point moving error.

* test/lisp/net/tramp-tests.el (tramp-test34-explicit-shell-file-name):
Use `get-buffer-process' where appropriate.
doc/misc/tramp.texi
lisp/net/tramp-sh.el
lisp/net/tramp-smb.el
test/lisp/net/tramp-tests.el