Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use tabbed terminal windows with iTerm Apps
I am a (somewhat) recent convert from Linux to Mac OS X on the desktop and one of the things I have been sadly missing ever since my switch is the ability to have "tabbed" terminal windows (a la gnome-terminal or konsole for those of you familiar with the X environments) instead of a multitude of open Terminal windows to keep track of. Were you feeling this pain, too? Fret no more. iTerm is here to save the day.

It's a little rough around the edges still but it is a true lifesaver for me at least!

[robg adds: Hmm, this might be yet another tabbed-window app to become addicted to. Managing multiple terminal windows in one main window is quite convenient, and iTerm supports unique color and transparency settings for each tabbed window. As noted, there are a couple of unfinished edges, but overall, this is an impressive effort.]
    •    
  • Currently 3.00 / 5
  You rated: 1 / 5 (4 votes cast)
 
[12,867 views]  

Use tabbed terminal windows with iTerm | 15 comments | Create New Account
Click here to return to the 'Use tabbed terminal windows with iTerm' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
use screen to manage multiple terminal shells
Authored by: ngb on Mar 03, '03 11:21:23AM

type 'man screen' for instructions on using the screen terminal session manager. Admittedly it doesn't have tabs, but it does very much the same thing.



[ Reply to This | # ]
Use tabbed terminal windows with iTerm
Authored by: idiotben on Mar 03, '03 11:23:55AM

iTerm is slow as hell and does not work well with ncurses based apps (like irssi or mutt). screen is far superior is everyway, and I'd rather use Terminal.app than some broken "iTerm" anyday.



[ Reply to This | # ]
Use tabbed terminal windows with iTerm
Authored by: adrianh on Mar 03, '03 11:37:30AM

The speed has improved a fair bit in the last few versions.

I've nothing against screen, which does lots more useful things, but I've become thoroughly addicted to iTerm since I started using it a few weeks back.

I like the fact that you can track changes in the other tabs by the colour changes on the tab text. I can keep track of what's happening in several terminals by scanning the tab bar - rather than having to flick through several screen sessions.



[ Reply to This | # ]
Use tabbed terminal windows with iTerm
Authored by: ClarkGoble on Mar 03, '03 12:52:23PM

With Apple's X11.app you can just install KDE and use its excellent terminal program - tabs and all. Cut and paste even works if you run Apple's window manager properly.



[ Reply to This | # ]
Use tabbed terminal windows with iTerm
Authored by: idiotben on Mar 03, '03 09:20:02PM

that's alot of overhead just for a terminal emulator...



[ Reply to This | # ]
Use tabbed terminal windows with iTerm
Authored by: feelgood on Mar 03, '03 11:26:31AM

Are people getting too good to use screen now? 8-) Granted there aren't pretty tabs, but it has plenty of other features that more than make up for it. Easily label screens, flip between screens, created new screens from the keyboard. Fire up screen on my computer at work and get all of the screens set up (each database and server). If I need to work on stuff when I get home, just SSH into my box at work and detach the screen from my office box, reattach the screen to my home box, and presto - I have all of my screens again without having to go through and log into each database and server again.



[ Reply to This | # ]
Well...
Authored by: robg on Mar 03, '03 11:37:19AM

... I'm probably an idiot for saying this, but I find 'screen' way too complicated to use for anything beyond the simplest level -- I use it when I want to start a remote download and then disconnect, but that's it. Anything beyond that, and I find myself quickly lost in a mess of screen changes -- I can't remember what I've started, what I detached, what's not started, etc. I know I can list them, but that's a pain in the but, and cycling through them to get to the one I want is a royal pain. That's why I don't use screen instead...

With Terminal, I usually open 5 to 10 windows; with iTerm, that's 5 to 10 tabs instead. I can see them all, I know where they all are, and they're easy to manage. That's what I liked about it.

As an aside, it certainly wasn't slow in my testing of it this weekend -- I noticed no speed differences at all between it and Terminal.

I probably won't switch to it full-time unless some of the glitches are worked out, but it's a nice change from the multi-window Terminal.

I'm not sure what's wrong with having innovation and choice; those that prefer screen can use it, those of us that are more visual (and/or dumber, if you prefer) can stick with either multiple Terminal windows, GLTerm, or something like iTerm.

-rob.



[ Reply to This | # ]
screen window list
Authored by: r0adrage on Mar 03, '03 03:28:25PM
To help keep track of screen sessions, you can use the status line. Put the following in your .screenrc:

termcapinfo vt100* 'hs:ts=\E]2;:fs=\007:ds=\E]0;screen\007'
defhstatus "screen:^Ew"

(all characters are literal, ie. ^E is a carat (^) and an E, not control-E) and it will set the titlebar to list all windows by number and title. the vt100 line is snagged from the screen xterm hints, and tells screen to use the titlebar as the status line. The second line sets up the status to show the list of windows. The current screen-window will have a * by its number. Its still not tabs, but it is easier than trying to remember which window is which. Now, if anyone knows how to dynamically change the title of a screen window to be the currently running program, please let me know!

[ Reply to This | # ]

screen window list
Authored by: jyncroft on Mar 04, '03 11:13:10AM

I can't get this to work...

$TERM=vt100
$TERMCAP=<some strange text, 4 characters>

That's before invoking screen. Afterwards...

$TERM=screen-w
$TERMCAP=<a lot of stuff, all readable>

with your two lines in my .screenrc file, invoking screen just spews out the following on the screen...

E]2;screen:0* zsh07E]0;screen07E]2;screen:0* zsh07

Is there a problem with the lines that got posted vs what should be posted?



[ Reply to This | # ]
screen window list
Authored by: nivex on Mar 29, '06 01:08:16PM
The code posted somehow stripped the backslash characters and the chars following it. Here's what I have in my screenrc that works:

termcapinfo xterm* 'hs:ts=\E]2;:fs=\007:ds=\E]0;screen\007'
This looks OK in preview... hopefully it makes it to post OK.

[ Reply to This | # ]
Well...
Authored by: daveedvdv on Mar 03, '03 11:53:26PM

Agreed. The speed of iTerm is usually not objectionable (except for a quirk in a recent version, but they fixed it quickly). The interface is much more intuitive than screens' and the status display is better even than konsole's (which was probably the app I missed most when switching from Linux to MacOS X).

I've beeny using iTerm full-time as my terminal application (mostly running simple bash and ksh sessions; vim works fine too). It seems to be developed pretty actively these days.



[ Reply to This | # ]
Well...
Authored by: krishna on Aug 01, '03 02:58:41PM

--- begin some idiot's comments ---
... I'm probably an idiot for saying this, but I find 'screen' way too complicated to use for anything beyond the simplest level -- I use it when I want to start a remote download and then disconnect, but that's it. Anything beyond that, and I find myself quickly lost in a mess of screen changes
--- end some idiot's comments ---

Always good to meet a fellow idiot (ref: http://bugs.kde.org/show_bug.cgi?id=58868 :-). Let's rephrase the question: is there a good reason why a detachable-screen terminal emulator with piles and piles of magic keystroke commands (making it usable via ssh session or via x-terminal) *shouldn't* make use of menus, context menus, tabs (i.e., the full range of GUI elements) when they're available?

Emacs took until version 18-ish to provide a mousable menu for the common keystroke commands, immediately improving its usability by both keyboarders and mousers. Shouldn't screen learn from that lesson?



[ Reply to This | # ]
Use tabbed terminal windows with iTerm
Authored by: jyncroft on Mar 04, '03 11:02:53AM

I really like screen... I'm able to use it in any terminal program I happen to be running (or trying out). And the ability to ssh to an external server (so I can get my (banned) external email), and detach my screen session before logging out so I can re-attach when I re-login, is invaluable.

However, I like to have a history to scroll back on, esp when compiling. If I'm using screen, start the compile and then switch to another screen, I lose the history of that session. Scrolling back only gives me what was on my previous screen. Very annoying. (anyway around that?)

While iTerm *is* slower than Terminal.app and GLterm for display. It suits my purposes for most tasks. If I have a display intensive task, I'll just use terminal or GLterm (probably with screen).

-jen



[ Reply to This | # ]
Use tabbed terminal windows with iTerm
Authored by: kal on Mar 03, '03 02:23:28PM
Speaking of gnome-terminal, it is available through fink:

http://fink.sourceforge.net/pdb/search.php?s=gnome-terminal

As is kterm, another tabbed terminal:

http://fink.sourceforge.net/pdb/package.php/kterm

Given the amount of flak iTerm has gathered, these two terminals should perhaps be considered as well...

[ Reply to This | # ]
Ever used FluxBox?
Authored by: enigmamf on Mar 04, '03 04:33:14AM

FluxBox is a window manager for X11 -- every window has a little tab that sticks out the bottem (or top or wherever you wish), and you can dock a ton of windows together by "middle-clicking" on the tab and dragging it on another tab. Between that and mouse-focus it makes editing lots of files (or doing anything that uses lots of windows) easy. I'm using it while I write my compiler for school -- I've oftan got 10 different GVIM's open. It's a life-saver (and free)! You should be able to get it via Fink, although I built it from source (back before it was available) without a hitch.



[ Reply to This | # ]