PDA

View Full Version : How to set Title for Terminal Windows




kbonnel
Apr 30, 2004, 08:41 AM
Hello All,

so I have been using the terminal program a lot, but one of the things that gets too me is the title in the title bar. I love how it changes all the time (when you run program, ssh somewhere, etc), but sometimes the title stays, even when I am no at that client, or running that program. I can go into the window settings to clear it out, but it comes back.

Is there a way to have the title reset it self when you close out the terminal window?

Am I making any sense?

Kimo



wrldwzrd89
Apr 30, 2004, 09:45 AM
Hello All,

so I have been using the terminal program a lot, but one of the things that gets too me is the title in the title bar. I love how it changes all the time (when you run program, ssh somewhere, etc), but sometimes the title stays, even when I am no at that client, or running that program. I can go into the window settings to clear it out, but it comes back.

Is there a way to have the title reset it self when you close out the terminal window?

Am I making any sense?

Kimo
Either the process really is running in the Terminal (it's just in the background, so you can still enter commands), or you've found a bug in Terminal. You can check for background processes by looking for active jobs with a Job ID (I forgot how to view the active jobs, but I know there's a command that does this). If you don't find any jobs, report the bug to Apple (you'll need to become an ADC member to do this - there is a free membership option you can use). Here is the link to the Apple Bug Reporter page (link (http://developer.apple.com/bugreporter/)).

kbonnel
May 3, 2004, 02:21 PM
Either the process really is running in the Terminal (it's just in the background, so you can still enter commands), or you've found a bug in Terminal. You can check for background processes by looking for active jobs with a Job ID (I forgot how to view the active jobs, but I know there's a command that does this). If you don't find any jobs, report the bug to Apple (you'll need to become an ADC member to do this - there is a free membership option you can use). Here is the link to the Apple Bug Reporter page (link (http://developer.apple.com/bugreporter/)).

I don't think it is a bug, but more an undocumented feature :). I called apple, then they were unable to help, but said they would pass it onto the developers. If you want to see what I am talking about (and if you have a machine to ssh into), just ssh there. Your title should change to show the user@server:directory. Then log out, and it should still be there.

Kimo