To give you the best experience, this site uses cookies. Continuing to use 9bis.net means you agree to our use of cookies.
 

English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

Changing KiTTY Window Title

D - Sun 24/06/2012 15:21:09 CEST +0200

I would like to title my KiTTY window's, so that when I log into a system, I can change the title to the hostname so it's easier to identify which KiTTY session is logged into which machine.

I've tried the following 3 methods, all of which don't work.

echo -e "\033]0;This Is My Window Title And My Icon Title\007"
echo -e "\033]1;This Is Just My Icon Title\007"
echo -e "\033]2;This Is Just My Window Title\007"

Thanks

D - Sun 24/06/2012 15:35:46 CEST +0200

I changed the title using the Behaviour option in KiTTY, however I am now wondering why the method above does not work.

D - Sun 24/06/2012 15:41:42 CEST +0200

Aaarrgh ! There is a bug here, where the 'changed window title [Behaviour setting]' is reset to the default of root@localhost:~

Cyd - Tue 26/06/2012 09:03:44 CEST +0200

It is not a KiTTY issue.
I works fine with me, maybe a server setting on your side ?

Floris - Fri 08/02/2013 13:50:38 CET +0100

Cyd wrote: "It is not a KiTTY issue.
I works fine with me, maybe a server setting on your side ?"
There is some unexpected behaviour when resizing the window when the option "Disable remote-controlled window title changing" is set: whenever the window is resized, the title changes back to the title set in the client.

Daniel Sokolowski - Wed 11/12/2013 03:37:55 CET +0100

This is a bug, whenever the window is resized KiTTY looses the title set by the server and resets it to the set or default one. So in my case if I've set the title as per similar way as D then I resize putty it changes it back to the default which is - KiTTY.

Denis Howe - Tue 16/01/2018 15:29:54 CET +0100

Minimising the window also discards any title set with an escape sequence and permanently reverts to the one set in the Window > Behaviour option or the default.

Dean Householder - Thu 01/02/2018 22:23:07 CET +0100

I know that zsh (Z Shell/OhMyZsh) does this. :/




Answer


The forum is actually closed