about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-09-24 16:22:30 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-09-24 16:22:30 +0000
commitf81cb06361d945f10cc5f239874bd72e8f52922a (patch)
tree465750c59df21fe5aea1c4e6b29aff36db40633a
parent63ecd0332bd295d4c8bdb9e6ba064df5547942fa (diff)
downloadzsh-f81cb06361d945f10cc5f239874bd72e8f52922a.tar.gz
zsh-f81cb06361d945f10cc5f239874bd72e8f52922a.tar.xz
zsh-f81cb06361d945f10cc5f239874bd72e8f52922a.zip
Document side-effects of TERM assignment.
-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))(