W3cubDocs

/Elisp

Terminal Type

A terminal is a device capable of displaying one or more Emacs frames (see Frame Type).

Terminals have no read syntax. They print in hash notation giving the terminal’s ordinal number and its TTY device file name.

(get-device-terminal nil)
     ⇒ #<terminal 1 on /dev/tty>

Copyright © 1990-1996, 1998-2019 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
https://www.gnu.org/software/emacs/manual/html_node/elisp/Terminal-Type.html