(In reply to Carl-Johan Schenström from comment #2)
> \033_ sets the hardstatus, while \033k sets the caption, i.e. the title, on
> the screen windows. I'm fairly sure that captions are what we're after in
> this case.
I haven't been able to find a complete list to differentiate between 033]0; and 033k. 033]0; seems to be used to set the title of the terminal emulator window, as I found in quite a few posts:
(In reply to Carl-Johan Schenström from comment #2)
> \033_ sets the hardstatus, while \033k sets the caption, i.e. the title, on
> the screen windows. I'm fairly sure that captions are what we're after in
> this case.
I haven't been able to find a complete list to differentiate between 033]0; and 033k. 033]0; seems to be used to set the title of the terminal emulator window, as I found in quite a few posts:
http:// mg.pov. lt/blog/ bash-prompt. html www.kirsle. net/blog/ kirsle/ set-window- title-in- bash hints.macworld. com/article. php?story= 200310151739323 06
http://
http://
Using 033k sets the gnome-terminal title as:
[screen 0: user@host:pwd]
while 033]0; sets it as:
[screen 0: bash] user@host:pwd
and using a hardstatus line with 033]0; sets the hardstatus line as "bash" while keeping setting the xterm window title as user@host:pwd.
The previous behaviour seems to fit better IMO. I'm unclear on what the issue that prompted this change is. Can you please clarify?
Thanks,
Warm regards,
Ankur