Bug 2410

Summary: does not change the title of an Eterm according to the current dir
Product: Sisyphus Reporter: imz <vanyaz>
Component: bashAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P5 CC: glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description imz 2003-03-23 20:17:22 MSK
When using bash in xterm, the title of xterm follows the current dir (pwd). In Eterm this is not like this.

Setting another TERM value makes a new bash process change the title. 
---
This example is run in an Eterm:

$ echo $TERM
Eterm
$ cd /
$ cd /tmp # the title didn\'t change
$ TERM=xterm
$ cd /
$ cd /tmp # the title didn\'t change
$ bash # the title immediately reflects the current dir
$ cd /
$ cd /tmp # the title changed with every `cd\'
$ exit
$ cd /
$ cd /tmp # the title didn\'t change
$ 

mc sets the title even in Eterm, but when one exits mc, the title isn\'t changed anymore: it shows the wrong dir.

---
bash-2.05b-alt4
Eterm-0.9.2-alt5
mc-4.6.0-alt3
xterm-170-alt2

Comment 1 Dmitry V. Levin 2003-03-23 20:48:52 MSK
It\'s because of Eterm not listed in /etc/bashrc.
Fix is trivial, so I won\'t release new bash package because of this issue.
Comment 2 Dmitry V. Levin 2003-03-23 20:48:52 MSK
It\'s because of Eterm not listed in /etc/bashrc.
Fix is trivial, so I won\'t release new bash package because of this issue.
Comment 3 Dmitry V. Levin 2003-04-20 18:36:57 MSD
bash-2.05b-alt5:
/etc/bashrc: added Eterm to the list of terminal names which support title change escape sequence.
Comment 4 Dmitry V. Levin 2003-04-20 18:36:57 MSD
bash-2.05b-alt5:
/etc/bashrc: added Eterm to the list of terminal names which support title change escape sequence.