[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can't change gnome-terminal tab's title from within ssh session on debian 8 machine



Hi,

I'm having problems changing gnome-terminal tab's title when connected to machine running debian 8 over ssh. Right after starting ssh session it changes title to `USER@HOST: CWD` and I don't see a way to change it to whatever I want it to be. Some shell transcript:

    $ ssh deb6-server
    $ echo -en '\e]0;test\a'
    # title changes
    $ echo $TERM
    xterm-256color
    $ cat /etc/issue
    Debian GNU/Linux 6.0 \n \l

    $ exit
    $ ssh deb8-server
    # here the title changes to USER@HOST: CWD
    $ echo -en '\e]0;test\a'
    # title doesn't change
    $ echo $PROMPT_COMMAND

    $ echo -en '\e[0;34mtest\e[0m\n'
    test   # written in blue
    $ echo $TERM
    xterm-256color
    $ cat /etc/issue
    Debian GNU/Linux jessie/sid \n \l

Do you have any idea what it might be or what to check?

Just in case, here's corresponding unix.stackexchange.com question: http://unix.stackexchange.com/questions/176186/cant-change-gnome-terminal-tabs-title-from-within-ssh-session-on-remote-debian

Regards,
Yuri

Reply to: