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


Click here to return to the 'Create terminal groups for managing multiple windows' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create terminal groups for managing multiple windows
Authored by: lanej0 on Nov 25, '03 11:12:56AM

Why not use iTerm? It's freeware, and you get tabs.... Nothing could be finer than having 10 tabs open in a single window.



[ Reply to This | # ]
Create terminal groups for managing multiple windows
Authored by: notmatt on Nov 25, '03 11:38:17AM

Because iTerm's tabbing doesn't actually solve the problem at hand. The point of having multiple windows open is to be able to see them all, not have them all in one spot. Though I suppose you could apply the same technique to iTerm as well, it also has the bonus side-effect of allowing you to command-tab through the terminal groups.



[ Reply to This | # ]
Create terminal groups for managing multiple windows
Authored by: shneusk on Nov 25, '03 11:58:18AM
in addition, if you want just to switch between multiple terminal windows where only one is displayed at a time, using the screen command works just as well as tabs and I think it's the preferred solution for the unix geek. I love screen because it lets me share one terminal over three computers, my mac then ssh connections from my pcs just use
screen -x
to attach a screen session that's already attached somewhere else. see man for more info

[ Reply to This | # ]
screen
Authored by: pwharff on Nov 25, '03 01:44:36PM

WOW, I tried out "screen" and this is an awesome utility for any unix/linux terminal management. Thank you, this will save me time!



[ Reply to This | # ]
screen
Authored by: pobs on Nov 26, '03 02:05:53AM
This is really helpful. THANK YOU for this one. I am finding it helpful for using man pages to figure out how to use new unix cmds (i.e. man screen ). I imagine it would also be helpful for using with sftp sessions huh?

[ Reply to This | # ]
screen
Authored by: vaiism on Nov 26, '03 11:30:22AM

You can also find an article on installing and using screen at:

http://www.sun.com/bigadmin/features/articles/gnu_screen.html



[ Reply to This | # ]
Create terminal groups for managing multiple windows
Authored by: kjaleel on Nov 26, '03 05:32:21AM

the only problem I have with screen is I cannot figure out how to make it retain the history of past scrolled lines in *all* windows it has open.

for example, lets assume I have two windows open and there is activity happening in both (lines scrolling by). If I now switch from the current window to another one and try to scroll up to see previous lines that have scrolled by, I can't! It forgets those lines and only shows lines from the window I just switched from.

I really hope someone can tell me how to do this, it's the only thing I haven't managed to figure out even from the man pages. iTerm is really slow for me as well and the combination of GLTerm and screen is just "perfect".



[ Reply to This | # ]
Create terminal groups for managing multiple windows
Authored by: Thom on Nov 27, '03 11:59:21PM

I don't know if this is the best way to access the buffer, but what I do is use screen's copy/paste command.

Use the meta key (typically ^a), then '[' to access copy mode.
From there, the arrow keys move the cursor or ^y scrolls up line by line.
When you're done reading scrollback, hit esc, or spacebar twice.

Be careful not to leave the screen in copy mode because it will freeze the shell and sometimes interfere with your process (e.g. ircII or whatever).

You can increase the size of your scrollback per window in your .screenrc file using the 'defscrollback #' command, where # is the number of lines you want. The more you ask for, the more memory each screen will consume. Or you can specify it on a per-screen basis using ^a, ':', 'scrollback #', (return). Use 'man screen' for more details.

HTH,

Thom Brooks



[ Reply to This | # ]
Create terminal groups for managing multiple windows
Authored by: Thom on Nov 28, '03 12:04:12AM

I don't know if this is the best way to access the buffer, but what I do is use screen's copy/paste command.

Use the meta key (typically ^a), then '[' to access copy mode.
From there, the arrow keys move the cursor or ^y scrolls up line by line.
When you're done reading scrollback, hit esc, or spacebar twice.

Be careful not to leave the screen in copy mode because it will freeze the shell and sometimes interfere with your process (e.g. ircII or whatever).

You can increase the size of your scrollback per window in your .screenrc file using the 'defscrollback #' command, where # is the number of lines you want. The more you ask for, the more memory each screen will consume. Or you can specify it on a per-screen basis using ^a, ':', 'scrollback #', (return). Use 'man screen' for more details.

HTH,

Thom Brooks



[ Reply to This | # ]
Create terminal groups for managing multiple windows
Authored by: celsomartinho on Nov 25, '03 12:06:10PM

iTerm is great but it's rendering is *so slow* I can't work with it. A shame. If only Term.app would support tabs...



[ Reply to This | # ]