zsh-workers
 help / color / mirror / code / Atom feed
* Re: TERM problem under OSF
       [not found]   ` <4abf0b6e0fvincent@vinc17.org>
@ 2001-09-24 15:52     ` Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2001-09-24 15:52 UTC (permalink / raw)
  To: zsh-workers, Vincent Lefevre

As it's generally necessary to set both TERM and one of TERM(CAP|INFO),
initializing the terminal each time any one of those three changed would
be a waste of effort as often as not (because it would immediately be
initialized again when the other parameter changed).

However, we should at least document that assigning to TERM has this
effect, so that people would know that they need to reset it after they
change the others.

Index: Doc/Zsh/params.yo
===================================================================
diff -c -r1.6 params.yo
--- Doc/Zsh/params.yo	2001/07/10 09:05:18	1.6
+++ Doc/Zsh/params.yo	2001/09/24 15:46:43
@@ -993,7 +993,12 @@
 )
 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))(

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-24 15:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4abefecae2vincent@vinc17.org>
     [not found] ` <8944.1001336551@csr.com>
     [not found]   ` <4abf0b6e0fvincent@vinc17.org>
2001-09-24 15:52     ` TERM problem under OSF Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).