Variable: tramp-end-of-output

tramp-end-of-output is a variable defined in tramp-sh.el.gz.

Value

"///1b30776cf6eab352dc1c33544a1ef706#$"

Documentation

String used to recognize end of output.

The $ character at the end is quoted; the string cannot be detected as prompt when being sent on echoing hosts, therefore.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
;; ksh on OpenBSD 4.5 requires that $PS1 contains a `#' character for
;; root users.  It uses the `$' character for other users.  In order
;; to guarantee a proper prompt, we use "#$ " for the prompt.

(defvar tramp-end-of-output
  (format
   "///%s#$"
   (md5 (concat (prin1-to-string process-environment) (current-time-string))))
  "String used to recognize end of output.
The `$' character at the end is quoted; the string cannot be
detected as prompt when being sent on echoing hosts, therefore.")