Variable: tramp-encoding-command-interactive

tramp-encoding-command-interactive is a customizable variable defined in tramp.el.gz.

Value

"-i"

Documentation

Use this switch together with tramp-encoding-shell for interactive shells.

See the variable tramp-encoding-shell for more information.

This variable was added, or its default value changed, in Emacs 24.1.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;; Suppress `shell-file-name' for w32 systems.
(defcustom tramp-encoding-command-interactive
  (let (shell-file-name)
    (unless (tramp-compat-funcall 'w32-shell-dos-semantics) "-i"))
  "Use this switch together with `tramp-encoding-shell' for interactive shells.
See the variable `tramp-encoding-shell' for more information."
  :version "24.1"
  :type '(choice (const nil) string))