Variable: tramp-terminal-type
tramp-terminal-type is a customizable variable defined in tramp.el.gz.
Value
"dumb"
Documentation
Value of TERM environment variable for logging in to remote host.
Because Tramp wants to parse the output of the remote shell, it is easily confused by ANSI color escape sequences and suchlike. Often, shell init files conditionalize this setup based on the TERM environment variable.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defcustom tramp-terminal-type "dumb"
"Value of TERM environment variable for logging in to remote host.
Because Tramp wants to parse the output of the remote shell, it is easily
confused by ANSI color escape sequences and suchlike. Often, shell init
files conditionalize this setup based on the TERM environment variable."
:group 'tramp
:type 'string)