summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/params.yo7
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bc7dcc647..53eb3079c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-09-24  Bart Schaefer  <schaefer@zsh.org>
 
+	* 15864: Doc/Zsh/params.yo: Document that assignment to TERM
+	is necessary to re-initialize the terminal.
+
 	* users/4269: Src/hist.c: Detect and reject corrupted history
 	files ('\0' bytes) rather than consuming all available memory.
 
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 9e5dd9193..0c5d87d35 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -993,7 +993,12 @@ window size specifications; these will not be local to the command.
 )
 vindex(TERM)
 item(tt(TERM) <S>)(
-The type of terminal in use.  This is used when looking up termcap sequences.
+The type of terminal in use.  This is used when looking up termcap
+sequences.  An assignment to tt(TERM) causes zsh to re-initialize the
+terminal, even if the value does not change (e.g., `tt(TERM=$TERM)').  It
+is necessary to make such an assignment upon any change to the terminal
+definition database or terminal type in order for the new settings to
+take effect.
 )
 vindex(TIMEFMT)
 item(tt(TIMEFMT))(