Comment 13 for bug 1359547

Revision history for this message
In , G-hintermayer (g-hintermayer) wrote :

(In reply to comment #8)
> Well if the token substitution suits you needs i can close the bug.

Ok, I get the desired result, but I'm not quite happy with the solution. I can e.g. emerge -Dpu world on multiple hosts and see both progress AND hostname in the Terminal window, but I have to run Terminal remotely on the machine I'm maintaining, which gives a lot of X protocol over the network.
What I did before is (1): Terminal --title user@host --execute ssh -l user host

so Terminal ran locally and only output of the pty was sent over the net. Obviously running an emerge on the remote host did'nt show any progress in the window title bar.

Now I would have to (2): ssh -l user host Terminal
the token substitution is not necessary here since the title is set to %w:%D anyhow.

But wait, I just tried (1) without the --title option with a 0.2.8 (very old,I know) Terminal and this gives me now the desired result (e.g. not setting the window title to Untiteled ,but to something like %w:%D) on recent distros (Gentoo up to date system, which was not present when I originally filed the bug report, so I thought "This doesn't work on all machines") but still the "Untitled" old quite old installations. Can somebody tell me what or who sets the Title to something different than "Untitled" ? Maybe I have to set up a env var to have this working on the old machines.

So the point is, how do I set the title to %w:%D on the old distros ?