Function: te-escape-help
te-escape-help is an interactive and byte-compiled function defined in
terminal.el.gz.
Signature
(te-escape-help)
Documentation
Provide help on commands available after terminal-escape-char is typed.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/terminal.el.gz
(defun te-escape-help ()
"Provide help on commands available after terminal-escape-char is typed."
(interactive)
(message "Terminal emulator escape help...")
(let ((char (single-key-description terminal-escape-char)))
(with-electric-help
(function (lambda ()
(princ (format "Terminal-emulator escape, invoked by \"%s\"
Type \"%s\" twice to send a single \"%s\" through.
Other chars following \"%s\" are interpreted as follows:\n"
char char char char))
(princ (substitute-command-keys "\\{terminal-escape-map}\n"))
(princ (format "\nSubcommands of \"%s\" (%s)\n"
(where-is-internal 'te-escape-extended-command
terminal-escape-map t)
'te-escape-extended-command))
(let ((l (sort (copy-sequence te-escape-command-alist)
(function (lambda (a b)
(string< (car a) (car b)))))))
(while l
(let ((doc (or (documentation (cdr (car l)))
"Not documented")))
(if (string-match "\n" doc)
;; just use first line of documentation
(setq doc (substring doc 0 (match-beginning 0))))
(princ " \"")
(princ (car (car l)))
(princ "\":\n ")
(princ doc)
(write-char ?\n))
(setq l (cdr l))))
nil)))))