RonnyJJ / superputty

Automatically exported from code.google.com/p/superputty
MIT License
0 stars 0 forks source link

Tabs do not honor PROMPT_COMMAND #469

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When I use PuTTY, my window title changes every time I ssh from one host to 
another, change active user, or change directory as long as I have these lines 
(or similar) in my bash profile: 

# Set hostname in PuTTY window title bar
HOSTNAME=$(hostname)
PROMPT_COMMAND='echo -ne "\033]0;@${HOSTNAME}:${USER}: $(pwd) \$\007"'

superputty does not honor this, and thus is less useful in complex environments 
where one is using multiple gateways and logins.

Issue 165 from 2012 should have fixed this from my reading
https://code.google.com/p/superputty/issues/detail?id=165
but it is not working in the latest stable build.

Original issue reported on code.google.com by aliza.pa...@gmail.com on 1 Oct 2014 at 6:47