Right now, the name of my frontmost window in Terminal.app is "pudge@slashdot-nfs-1:/usr/local/src ssh". How does Terminal.app know I am logged into that machine, and am in that directory? I do know "pudge@slashdot-nfs-1:/usr/local/src" is called the "custom title" portion of the name, but I do not know how it is being set automatically.
Xterm? (Score:2, Interesting)
Play with this: (Score:2, Interesting)
fi
(but, your shell is probably doing this already, possibly in a pre-command hook.)
Re:Play with this: (Score:3, Interesting)
Re:Play with this: (Score:2, Insightful)
I'm not sure if you can override it using the Terminal window inspector to set a custom title, as I don't have Panther yet. I'd hope so. (Otherwise, I suppose you could edit the config files wherever you needed to, but that's a bit tedious.)
GUI settings. (Score:1)
There is also an easy GUI way of changing the Terminal title bar.
Window Settings...in the Terminal menu, it's right belowPreferences.Windowitem in the menu at the top of theTerminal Inspectorwindow which appears.I have it set to display the active process name, the window size (104x57 characters is half of my screen, and is a handy size for reading man pages), and the shortcut command key for that window. You can also enable the tty name, the .term s