Bug 2410 - does not change the title of an Eterm according to the current dir
Summary: does not change the title of an Eterm according to the current dir
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: bash (show other bugs)
Version: unstable
Hardware: all Linux
: P5 minor
Assignee: placeholder@altlinux.org
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-23 20:17 MSK by imz
Modified: 2005-10-15 17:03 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.