Variable: tramp-terminal-prompt-regexp

tramp-terminal-prompt-regexp is a customizable variable defined in tramp.el.gz.

Value

"\\(?:TERM = (.*)\\|Terminal type\\? \\[.*]\\)[[:blank:]]*"

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
  (rx (| (: "TERM = (" (* nonl) ")")
	 (: "Terminal type? [" (* nonl) "]"))
      (* blank))
  "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)