Variable: tramp-process-connection-type

tramp-process-connection-type is a customizable variable defined in tramp.el.gz.

Value

t

Documentation

Overrides process-connection-type for connections from Tramp.

Tramp binds process-connection-type to the value given here before opening a connection to a remote host.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;; Logging in to a remote host normally requires obtaining a pty.  But
;; Emacs on macOS has `process-connection-type' set to nil by default,
;; so on those systems Tramp doesn't obtain a pty.  Here, we allow
;; for an override of the system default.
(defcustom tramp-process-connection-type t
  "Overrides `process-connection-type' for connections from Tramp.
Tramp binds `process-connection-type' to the value given here before
opening a connection to a remote host."
  :type '(choice (const nil) (const t) (const pipe) (const pty))
  :link '(tramp-info-link :tag "Tramp manual" tramp-process-connection-type))