diff options
author | 2003-12-08 15:11:28 +0000 | |
---|---|---|
committer | 2003-12-08 15:11:28 +0000 | |
commit | 8a28035b04c14c7126f19fdc1205161c4465b797 (patch) | |
tree | 3bd2bef73e602308095a9eaaa43dacfc76213510 | |
parent | note that FEATURES is incremental #35272 (diff) | |
download | portage-cvs-8a28035b04c14c7126f19fdc1205161c4465b797.tar.gz portage-cvs-8a28035b04c14c7126f19fdc1205161c4465b797.tar.bz2 portage-cvs-8a28035b04c14c7126f19fdc1205161c4465b797.zip |
added "screen" to TERM environment
-rw-r--r-- | pym/output.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/output.py b/pym/output.py index a61f69c..5544dd3 100644 --- a/pym/output.py +++ b/pym/output.py @@ -1,6 +1,6 @@ # Copyright 1998-2003 Daniel Robbins, Gentoo Technologies, Inc. # Distributed under the GNU Public License v2 -# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/pym/output.py,v 1.16 2003/05/29 08:34:55 carpaski Exp $ +# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/pym/output.py,v 1.17 2003/12/08 15:11:28 nakano Exp $ import os,sys @@ -32,7 +32,7 @@ codes["darkred"]="\x1b[31;06m" def xtermTitle(mystr): if havecolor and dotitles and os.environ.has_key("TERM"): myt=os.environ["TERM"] - if myt in ["xterm","Eterm","aterm","rxvt"]: + if myt in ["xterm","Eterm","aterm","rxvt","screen"]: sys.stderr.write("\x1b]1;\x07\x1b]2;"+str(mystr)+"\x07") sys.stderr.flush() |