Variable: tramp-terminal-prompt-regexp
tramp-terminal-prompt-regexp is a customizable variable defined in
tramp.el.gz.
Value
"\\(TERM = (.*)\\|Terminal type\\? \\[.*\\]\\)\\s-*"
Documentation
Regular expression matching all terminal setting prompts.
The regexp should match at end of buffer.
The answer will be provided by tramp-action-terminal, which see.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defcustom tramp-terminal-prompt-regexp
(concat "\\("
"TERM = (.*)"
"\\|"
"Terminal type\\? \\[.*\\]"
"\\)\\s-*")
"Regular expression matching all terminal setting prompts.
The regexp should match at end of buffer.
The answer will be provided by `tramp-action-terminal', which see."
:type 'regexp)