Improve handling of processes on remote hosts.
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 24 Nov 2009 10:25:54 +0000 (10:25 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 24 Nov 2009 10:25:54 +0000 (10:25 +0000)
commit605a20a98823768578d6faed5f04cb00e57da2bb
tree525322a2fc9fbabb9d8bebc014e51d061aeff7c2
parent937e60c88bfbbc44d44806a7cf43d5f982a8026f
Improve handling of processes on remote hosts.

* eshell/esh-util.el (eshell-path-env): New defvar.
(eshell-parse-colon-path): New defun.
(eshell-file-attributes): Use `eshell-parse-colon-path'.

* eshell/esh-ext.el (eshell-search-path): Use
`eshell-parse-colon-path'.
(eshell-remote-command): Remove argument HANDLER.
(eshell-external-command): Check for FTP remote connection.

* eshell/esh-proc.el (eshell-gather-process-output): Use
`file-truename', in order to start also symlinked files. Apply
`start-file-process' instead of `start-process'. Shorten `command'
to the local file name part.

* eshell/em-cmpl.el (eshell-complete-commands-list): Use
`eshell-parse-colon-path'.

* eshell/em-unix.el (eshell/du): Check for FTP remote connection.

* net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
to `eshell-directory-change-hook'.
lisp/ChangeLog
lisp/eshell/em-cmpl.el
lisp/eshell/em-unix.el
lisp/eshell/esh-ext.el
lisp/eshell/esh-proc.el
lisp/eshell/esh-util.el
lisp/net/tramp.el