Function: tramp-enable-fcp-method

tramp-enable-fcp-method is an autoloaded and byte-compiled function defined in tramp-sh.el.gz.

Signature

(tramp-enable-fcp-method)

Documentation

Enable "fcp" method.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
;;;###tramp-autoload
(defun tramp-enable-fcp-method ()
  "Enable \"fcp\" method."
  (add-to-list 'tramp-methods
               `("fcp"
                 (tramp-login-program        "fsh")
                 (tramp-login-args           (("%h") ("-l" "%u") ("sh" "-i")))
                 (tramp-remote-shell         ,tramp-default-remote-shell)
                 (tramp-remote-shell-login   ("-l"))
                 (tramp-remote-shell-args    ("-i") ("-c"))
                 (tramp-copy-program         "fcp")
                 (tramp-copy-args            (("-p" "%k")))
                 (tramp-copy-keep-date       t)))

  (add-to-list 'tramp-default-user-alist
	       `(,(rx bos "fcp" eos) nil ,(user-login-name)))

  (tramp-set-completion-function "fcp" tramp-completion-function-alist-ssh))