diff options
| author | Eli Zaretskii | 2009-01-17 18:43:24 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2009-01-17 18:43:24 +0000 |
| commit | 2b6ae648f84cf27bbf4776684ab0086e7b12fbe5 (patch) | |
| tree | ba1a9b7f1d95a775dfad9fe75e1049b4a761e3d4 | |
| parent | fdcab4274673a2a7f15a5c9fa0a25e48585773fb (diff) | |
| download | emacs-2b6ae648f84cf27bbf4776684ab0086e7b12fbe5.tar.gz emacs-2b6ae648f84cf27bbf4776684ab0086e7b12fbe5.zip | |
(Terminal Parameters): Document `terminal-parameters', `terminal-parameter',
and `set-terminal-parameter'.
| -rw-r--r-- | doc/lispref/frames.texi | 45 |
1 files changed, 33 insertions, 12 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index ae2eac87e51..c953f10f81d 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -1053,18 +1053,49 @@ Here is an example: | |||
| 1053 | @section Terminal Parameters | 1053 | @section Terminal Parameters |
| 1054 | @cindex terminal parameters | 1054 | @cindex terminal parameters |
| 1055 | 1055 | ||
| 1056 | This subsection describes how to read and change the parameter | 1056 | Each terminal has a list of associated parameters. These |
| 1057 | values of a terminal. | 1057 | @dfn{terminal parameters} are mostly a convenient way of storage for |
| 1058 | terminal-local variables, but some terminal parameters have a special | ||
| 1059 | meaning. | ||
| 1060 | |||
| 1061 | This section describes functions to read and change the parameter values | ||
| 1062 | of a terminal. They all accept as their argument either a terminal or | ||
| 1063 | a frame; the latter means use that frame's terminal. An argument of | ||
| 1064 | @code{nil} means the selected frame's terminal. | ||
| 1058 | 1065 | ||
| 1059 | @defun terminal-parameters &optional terminal | 1066 | @defun terminal-parameters &optional terminal |
| 1067 | This function returns an alist listing all the parameters of | ||
| 1068 | @var{terminal} and their values. | ||
| 1060 | @end defun | 1069 | @end defun |
| 1061 | 1070 | ||
| 1062 | @defun terminal-parameter terminal parameter | 1071 | @defun terminal-parameter terminal parameter |
| 1072 | This function returns the value of the parameter @var{parameter} (a | ||
| 1073 | symbol) of @var{terminal}. If @var{terminal} has no setting for | ||
| 1074 | @var{parameter}, this function returns @code{nil}. | ||
| 1063 | @end defun | 1075 | @end defun |
| 1064 | 1076 | ||
| 1065 | @defun set-terminal-parameter terminal parameter value | 1077 | @defun set-terminal-parameter terminal parameter value |
| 1078 | This function sets the parameter @var{parm} of @var{terminal} to the | ||
| 1079 | specified @var{value}, and returns the previous value of that | ||
| 1080 | parameter. | ||
| 1066 | @end defun | 1081 | @end defun |
| 1067 | 1082 | ||
| 1083 | Here's a list of a few terminal parameters that have a special | ||
| 1084 | meaning: | ||
| 1085 | |||
| 1086 | @table @code | ||
| 1087 | @item background-mode | ||
| 1088 | The classification of the terminal's background color, either | ||
| 1089 | @code{light} or @code{dark}. | ||
| 1090 | @item normal-erase-is-backspace | ||
| 1091 | Value is either 1 or 0, depending on whether | ||
| 1092 | @code{normal-erase-is-backspace-mode} is turned on or off on this | ||
| 1093 | terminal. @xref{DEL Does Not Delete,,, emacs, The Emacs Manual}. | ||
| 1094 | @item terminal-initted | ||
| 1095 | After the terminal is initialized, this is set to the | ||
| 1096 | terminal-specific initialization function. | ||
| 1097 | @end table | ||
| 1098 | |||
| 1068 | @node Frame Titles | 1099 | @node Frame Titles |
| 1069 | @section Frame Titles | 1100 | @section Frame Titles |
| 1070 | @cindex frame title | 1101 | @cindex frame title |
| @@ -1440,16 +1471,6 @@ This happens below the level at which Emacs can exert any control, but | |||
| 1440 | Emacs does provide events that you can use to keep track of such | 1471 | Emacs does provide events that you can use to keep track of such |
| 1441 | changes. @xref{Misc Events}. | 1472 | changes. @xref{Misc Events}. |
| 1442 | 1473 | ||
| 1443 | @defun suspend-frame | ||
| 1444 | @end defun | ||
| 1445 | |||
| 1446 | @c FIXME: xref to suspend-emacs, and xref there. | ||
| 1447 | @defun suspend-tty &optional tty | ||
| 1448 | @end defun | ||
| 1449 | |||
| 1450 | @defun resume-tty &optional tty | ||
| 1451 | @end defun | ||
| 1452 | |||
| 1453 | @node Raising and Lowering | 1474 | @node Raising and Lowering |
| 1454 | @section Raising and Lowering Frames | 1475 | @section Raising and Lowering Frames |
| 1455 | 1476 | ||