aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2017-12-15 11:45:22 +0200
committerEli Zaretskii2017-12-15 11:45:22 +0200
commit12ad276d1586b2fe3cff9620538e2542773bc0f1 (patch)
tree5184e8f0f710780e385d730205901695de52f443
parent8ed529f0f300487600ac49cff22cce09c45db94b (diff)
downloademacs-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.texi5
-rw-r--r--doc/emacs/misc.texi3
-rw-r--r--doc/emacs/trouble.texi2
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:
303if ($?prompt) set prompt = @dots{} 303if ($?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
308variable 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
307subprocesses; if it does, and they keep running after the main 312subprocesses; if it does, and they keep running after the main
308compiler process has terminated, Emacs may kill them or their output 313compiler 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
1397underlying shell, of course. 1397underlying shell, of course.
1398 1398
1399@vindex comint-terminfo-terminal 1399@vindex comint-terminfo-terminal
1400@vindex TERM, environment variable, in sub-shell
1400Comint mode sets the @env{TERM} environment variable to a safe default 1401Comint mode sets the @env{TERM} environment variable to a safe default
1401value, but this value disables some useful features. For example, 1402value, but this value disables some useful features. For example,
1402color is disabled for applications that use @env{TERM} to determine if 1403color is disabled in applications that use @env{TERM} to determine if
1403color is supported. Therefore, Emacs provides an option 1404color 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
1405is present in your system's terminfo database, in order to take 1406is 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
784For possible display bugs, the terminal type (the value of environment 784For possible display bugs, the terminal type (the value of environment
785variable @env{TERM}), the complete termcap entry for the terminal from 785variable @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),