aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2008-12-27 18:56:53 +0000
committerEli Zaretskii2008-12-27 18:56:53 +0000
commitb40222038c3d8fc8f470fb94e82a0c241dd10cc2 (patch)
treec708f5459d09ad12825f3ecb96cca51f82f87cc9 /doc
parentfe3a1c1dd292fa11d6cf27c7f7ee2e60fe6844f3 (diff)
downloademacs-b40222038c3d8fc8f470fb94e82a0c241dd10cc2.tar.gz
emacs-b40222038c3d8fc8f470fb94e82a0c241dd10cc2.zip
(Multiple Terminals, Low-level Terminal)
(Terminal Parameters, Frames on Other TTY devices): New sections. (Frames): Add an xref to "Multiple Terminals".
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/frames.texi110
1 files changed, 107 insertions, 3 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 463e4dd8b97..4cf85895d46 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -26,7 +26,7 @@ terminal, Emacs displays one and only one at any given time---on that
26terminal screen, of course. You can create additional frames, either 26terminal screen, of course. You can create additional frames, either
27text-only or GUI, on other terminals from the same Emacs session. 27text-only or GUI, on other terminals from the same Emacs session.
28(This comes in handy when you connect to the same session from several 28(This comes in handy when you connect to the same session from several
29remote locations.) @c FIXME: Add an xref to multi-tty doc. 29remote locations.) @xref{Multiple Terminals}.
30 30
31@cindex window frame 31@cindex window frame
32 When Emacs communicates directly with a supported window system, such 32 When Emacs communicates directly with a supported window system, such
@@ -52,9 +52,9 @@ The frame is displayed on an MS-DOS terminal.
52@end defun 52@end defun
53 53
54@menu 54@menu
55* Creating Frames:: Creating additional frames. 55* Creating Frames:: Creating additional frames.
56* Multiple Displays:: Creating frames on other displays. 56* Multiple Displays:: Creating frames on other displays.
57* Frame Parameters:: Controlling frame size, position, font, etc. 57* Frame Parameters:: Controlling frame size, position, font, etc.
58* Frame Titles:: Automatic updating of frame titles. 58* Frame Titles:: Automatic updating of frame titles.
59* Deleting Frames:: Frames last until explicitly deleted. 59* Deleting Frames:: Frames last until explicitly deleted.
60* Finding All Frames:: How to examine all existing frames. 60* Finding All Frames:: How to examine all existing frames.
@@ -77,6 +77,7 @@ The frame is displayed on an MS-DOS terminal.
77* Text Terminal Colors:: Defining colors for text-only terminals. 77* Text Terminal Colors:: Defining colors for text-only terminals.
78* Resources:: Getting resource values from the server. 78* Resources:: Getting resource values from the server.
79* Display Feature Testing:: Determining the features of a terminal. 79* Display Feature Testing:: Determining the features of a terminal.
80* Multiple Terminals:: Displaying on several different devices.
80@end menu 81@end menu
81 82
82 @xref{Display}, for information about the related topic of 83 @xref{Display}, for information about the related topic of
@@ -2241,6 +2242,109 @@ The functions @code{x-pixel-width} and @code{x-pixel-height} return the
2241width and height of an X Window frame, measured in pixels. 2242width and height of an X Window frame, measured in pixels.
2242@end ignore 2243@end ignore
2243 2244
2245@node Multiple Terminals
2246@section Multiple Terminals
2247@cindex multiple terminals
2248@cindex multi-tty
2249
2250 A @dfn{terminal} is a display device capable of displaying one or
2251more Emacs frames. On GNU and Unix systems, Emacs supports any number
2252of different terminals in one session, and can mix GUI and text-only
2253frames in the same session.
2254
2255 Emacs represents each terminal on which it displays frames as a
2256special @dfn{terminal object} data type, see @ref{Terminal Type}. The
2257terminal object has a unique integer identifier and the following
2258attributes:
2259
2260@itemize @bullet
2261@item
2262The name of the device used by the terminal (e.g., @file{/dev/tty}).
2263
2264@item
2265The terminal and keyboard coding systems (@pxref{Terminal I/O
2266Encoding}) used on the terminal.
2267
2268@item
2269The type of frames (@pxref{Frames}) the terminal is displaying.
2270
2271@item
2272A list of the terminal parameters (@pxref{Terminal Parameters}).
2273@end itemize
2274
2275@c This is still under construction.
2276
2277@defun frame-terminal
2278@end defun
2279
2280@defun get-device-terminal device
2281@end defun
2282
2283@defun terminal-list
2284@end defun
2285
2286@menu
2287* Low-level Terminal:: Low-level manipulation of terminal objects.
2288* Terminal Parameters:: Parameters common for all frames on terminal.
2289* Frames on Other TTY devices:: Creating frames on other terminal devices.
2290@end menu
2291
2292@node Low-level Terminal
2293@subsection Low-level Access to Terminals
2294
2295 This subsection describes low-level primitives for accessing and
2296manipulating Emacs terminal objects. There's no primitive for
2297creating terminal objects; Emacs creates them as needed when you call
2298one of the primitives, such as @code{make-frame-on-tty} (@pxref{Frames
2299on Other TTY devices}), that start displaying on a new terminal.
2300
2301@defun suspend-tty &optional tty
2302@end defun
2303
2304@defun resume-tty &optional tty
2305@end defun
2306
2307@defun terminal-live-p object
2308@end defun
2309
2310@defun terminal-name &optional terminal
2311@end defun
2312
2313@defun delete-terminal &optional terminal force
2314@end defun
2315
2316@node Terminal Parameters
2317@subsection Terminal Parameters
2318@cindex terminal parameters
2319
2320 This subsection describes how to read and change the parameter
2321values of a terminal.
2322
2323@defun terminal-parameters &optional terminal
2324@end defun
2325
2326@defun terminal-parameter terminal parameter
2327@end defun
2328
2329@defun set-terminal-parameter terminal parameter value
2330@end defun
2331
2332@defun environment &optional frame
2333@end defun
2334
2335@defvar initial-environment
2336@end defvar
2337
2338@node Frames on Other TTY devices
2339@subsection Frames on Other TTY devices
2340
2341 This subsection documents functions related to displaying Emacs
2342frames on a terminal device other than the current one.
2343
2344@defun make-frame-on-tty tty type &optional parameters
2345@end defun
2346
2347
2244@ignore 2348@ignore
2245 arch-tag: 94977df6-3dca-4730-b57b-c6329e9282ba 2349 arch-tag: 94977df6-3dca-4730-b57b-c6329e9282ba
2246@end ignore 2350@end ignore