diff options
| author | Eli Zaretskii | 2017-12-15 11:45:22 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-12-15 11:45:22 +0200 |
| commit | 12ad276d1586b2fe3cff9620538e2542773bc0f1 (patch) | |
| tree | 5184e8f0f710780e385d730205901695de52f443 | |
| parent | 8ed529f0f300487600ac49cff22cce09c45db94b (diff) | |
| download | emacs-12ad276d1586b2fe3cff9620538e2542773bc0f1.tar.gz emacs-12ad276d1586b2fe3cff9620538e2542773bc0f1.zip | |
Improve documentation of TERM environment variable
* doc/emacs/trouble.texi (Checklist):
* doc/emacs/building.texi (Compilation Shell):
* doc/emacs/misc.texi (Shell Options): Improve indexing of TERM.
* doc/emacs/building.texi (Compilation Shell): Mention
'comint-terminfo-terminal' in conjunction with the TERM value.
| -rw-r--r-- | doc/emacs/building.texi | 5 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 3 | ||||
| -rw-r--r-- | doc/emacs/trouble.texi | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index 87ac61bac3b..e108a4e7c10 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi | |||
| @@ -303,6 +303,11 @@ And here's how to do it in csh: | |||
| 303 | if ($?prompt) set prompt = @dots{} | 303 | if ($?prompt) set prompt = @dots{} |
| 304 | @end example | 304 | @end example |
| 305 | 305 | ||
| 306 | @vindex TERM, environment variable, in compilation mode | ||
| 307 | If you want to customize the value of the @env{TERM} environment | ||
| 308 | variable passed to the compilation subshell, customize the variable | ||
| 309 | @code{comint-terminfo-terminal} (@pxref{Shell Options}). | ||
| 310 | |||
| 306 | Emacs does not expect a compiler process to launch asynchronous | 311 | Emacs does not expect a compiler process to launch asynchronous |
| 307 | subprocesses; if it does, and they keep running after the main | 312 | subprocesses; if it does, and they keep running after the main |
| 308 | compiler process has terminated, Emacs may kill them or their output | 313 | compiler process has terminated, Emacs may kill them or their output |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index b6b396af8f5..e4be004ae52 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -1397,9 +1397,10 @@ directory stack if they are not already on it | |||
| 1397 | underlying shell, of course. | 1397 | underlying shell, of course. |
| 1398 | 1398 | ||
| 1399 | @vindex comint-terminfo-terminal | 1399 | @vindex comint-terminfo-terminal |
| 1400 | @vindex TERM, environment variable, in sub-shell | ||
| 1400 | Comint mode sets the @env{TERM} environment variable to a safe default | 1401 | Comint mode sets the @env{TERM} environment variable to a safe default |
| 1401 | value, but this value disables some useful features. For example, | 1402 | value, but this value disables some useful features. For example, |
| 1402 | color is disabled for applications that use @env{TERM} to determine if | 1403 | color is disabled in applications that use @env{TERM} to determine if |
| 1403 | color is supported. Therefore, Emacs provides an option | 1404 | color is supported. Therefore, Emacs provides an option |
| 1404 | @code{comint-terminfo-terminal}, which you can set to a terminal that | 1405 | @code{comint-terminfo-terminal}, which you can set to a terminal that |
| 1405 | is present in your system's terminfo database, in order to take | 1406 | is present in your system's terminfo database, in order to take |
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index 4a836c3224b..e98322d74e2 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi | |||
| @@ -780,7 +780,7 @@ the dribble file. | |||
| 780 | @item | 780 | @item |
| 781 | @findex open-termscript | 781 | @findex open-termscript |
| 782 | @cindex termscript file | 782 | @cindex termscript file |
| 783 | @cindex @env{TERM} environment variable | 783 | @vindex TERM, environment variable, and display bugs |
| 784 | For possible display bugs, the terminal type (the value of environment | 784 | For possible display bugs, the terminal type (the value of environment |
| 785 | variable @env{TERM}), the complete termcap entry for the terminal from | 785 | variable @env{TERM}), the complete termcap entry for the terminal from |
| 786 | @file{/etc/termcap} (since that file is not identical on all machines), | 786 | @file{/etc/termcap} (since that file is not identical on all machines), |