Thread: Terminal Tabs
View Single Post
mystic_fm

 
Member Since: Mar 15, 2007
Posts: 161
mystic_fm will become famous soon enough
Mac Specs: 17" MacBook Pro, 2.33GHz C2D, 2GB RAM

mystic_fm is offline
Quote:
Originally Posted by jpimbert View Post
The content of the Term Windows Title is set via the preferences of Terminal.

You can also set the Title programmaticaly. For example in shell
Code:
echo -ne "\e]2;Title\a\e]1;Title\a"
Those methods set the title of the whole Terminal window, but I'm pretty sure the OP was looking for a way to set the title of each tab within a Terminal window, which (when visible) always contains the name of the currently running program in that tab (most often "bash"). He wants to see the name before he clicks on it, whereas when the whole window title is changed he can only see the name after he's made that tab active. I'd like to be able to set the tab titles too, but I don't think it is possible.

Nice escape sequence for the echo statement, nonetheless ... I didn't know that one.
QUOTE Thanks