Variable: tcl-prompt-regexp

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

Value

"^\\(% \\|\\)"

Documentation

If not nil, a regexp that will match the prompt in the inferior process.

If nil, the prompt is the name of the application with ">" appended.

The default is "^\\(% \\|\\)", which will match the default primary and secondary prompts for tclsh and wish.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/tcl.el.gz
(defcustom tcl-prompt-regexp "^\\(% \\|\\)"
  "If not nil, a regexp that will match the prompt in the inferior process.
If nil, the prompt is the name of the application with \">\" appended.

The default is \"^\\(% \\|\\)\", which will match the default primary
and secondary prompts for tclsh and wish."
  :type 'regexp)