Function: tramp-enable-run0-method

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

Signature

(tramp-enable-run0-method)

Documentation

Enable "run0" method.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
;;;###tramp-autoload
(defun tramp-enable-run0-method ()
  "Enable \"run0\" method."
 (add-to-list 'tramp-methods
              `("run0"
                (tramp-login-program        "run0")
                (tramp-login-args           (("--user" "%u")
					     ("--background" "''") ("%l")))
                (tramp-remote-shell         ,tramp-default-remote-shell)
                (tramp-remote-shell-args    ("-c"))
                (tramp-connection-timeout   10)
                (tramp-session-timeout      300)
		(tramp-password-previous-hop t)))

  (add-to-list 'tramp-default-user-alist
	       `(,(rx bos "run0" eos) nil ,tramp-root-id-string))

  (tramp-set-completion-function "run0" tramp-completion-function-alist-su))