New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Terminal Tabs


Post Reply New Thread Subscribe

 
Thread Tools
scathe

 
scathe's Avatar
 
Member Since: Jan 12, 2009
Location: Prague, Czech Republic
Posts: 1,096
scathe is a jewel in the roughscathe is a jewel in the rough
Mac Specs: 2,4Ghz 15" unibody

scathe is offline
ok this might not be the best place for the thread, but ...

is there a way to name the tabs in a Mac Terminal?? now if i have more terminal windows, each just says bash and I have to cycle through them to see which it is ...

any suggestions are welcome
QUOTE Thanks
jpimbert

 
Member Since: Jan 25, 2009
Posts: 2
jpimbert is on a distinguished road

jpimbert is offline
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"
QUOTE Thanks
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

Post Reply New Thread Subscribe


« Custom View problems... | One tiny thing missing from this custom view. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
C++ in terminal frike OS X - Development and Darwin 2 04-04-2008 10:52 AM
Terminal problems please help CliveO OS X - Operating System 6 03-20-2007 10:04 AM
Terminal Problem WROC OS X - Apps and Games 5 01-09-2007 04:01 PM
Terminal Help rs2sensen OS X - Apps and Games 1 04-25-2005 10:52 PM
David Hyatt on Tabbed Browsing schweb Apple Rumors and Reports 0 03-06-2003 10:24 PM

All times are GMT -4. The time now is 02:01 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?