Function: server-create-dumb-terminal-frame

server-create-dumb-terminal-frame is a byte-compiled function defined in server.el.gz.

Signature

(server-create-dumb-terminal-frame NOWAIT PROC &optional PARAMETERS)

Source Code

;; Defined in /usr/src/emacs/lisp/server.el.gz
(defun server-create-dumb-terminal-frame (nowait proc &optional parameters)
  ;; If the destination is a dumb terminal, we can't really run Emacs
  ;; in its tty.  So instead, we use whichever terminal is currently
  ;; selected.  This situation typically occurs when `emacsclient' is
  ;; running inside something like an Emacs shell buffer (bug#25547).
  (let ((frame (server--create-frame nowait proc parameters)))
    ;; The client is not the exclusive owner of this terminal, so don't
    ;; delete the terminal when the client exits.
    ;; FIXME: Maybe we just shouldn't set the `terminal' property instead?
    (process-put proc 'no-delete-terminal t)
    frame))