changeset 100714:cf5404249096

(Terminal Type): New node. (Editing Types): Add it to the menu.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 27 Dec 2008 15:44:38 +0000
parents f02f8ccc75b7
children b31133dbfd6d
files doc/lispref/objects.texi
diffstat 1 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/lispref/objects.texi	Sat Dec 27 15:26:23 2008 +0000
+++ b/doc/lispref/objects.texi	Sat Dec 27 15:44:38 2008 +0000
@@ -1347,7 +1347,8 @@
 * Buffer Type::         The basic object of editing.
 * Marker Type::         A position in a buffer.
 * Window Type::         Buffers are displayed in windows.
-* Frame Type::		Windows subdivide frames.
+* Frame Type::          Windows subdivide frames.
+* Terminal Type::       A terminal device displays frames.
 * Window Configuration Type::   Recording the way a frame is subdivided.
 * Frame Configuration Type::    Recording the status of all frames.
 * Process Type::        A subprocess of Emacs running on the underlying OS.
@@ -1492,6 +1493,25 @@
 
   @xref{Frames}, for a description of the functions that work on frames.
 
+@node Terminal Type
+@subsection Terminal Type
+@cindex terminal type
+
+  A @dfn{terminal} is a device capable of displaying one or more
+Emacs frames (@pxref{Frame Type}).
+
+  Terminals have no read syntax.  They print in hash notation giving
+the terminal's ordinal number and its TTY device file name.
+
+@example
+@group
+(get-device-terminal nil)
+     @result{} #<terminal 1 on /dev/tty>
+@end group
+@end example
+
+@c FIXME: add an xref to where terminal-related primitives are described.
+
 @node Window Configuration Type
 @subsection Window Configuration Type
 @cindex window layout in a frame