Terminal vs iTerm
In a directory with a bunch of source files, time cat *.{m,h} in iTerm yields:
real 0m2.585s
user 0m0.010s
sys 0m0.034s
While the Mac OS X Terminal (10.5.8) gives:
real 0m0.235s
user 0m0.010s
sys 0m0.031s
Shame, seeing as unlike the Terminal, iTerm actually has non-broken tab titles. Looks like I am going to have to try out this ghastly hack.
Wonder if Apple has fixed this in Snow Leopard... The AppleScript dictionary at least suggests that this kind of thing is supposed to work:
tell application "Terminal"
set title displays custom title of first tab of first window to true
set custom title of first tab of first window to "foo"
end tell
But it doesn't modify the tab title, only the window title.
Update
Used the "ghastly hack" mentioned above. Note that it's not so much the hack itself that is "ghastly" as the fact that Apple could release a tab implementation with such a horrid usability flaw.