aspose file tools*
The moose likes Mac OS and the fly likes Open multiple Terminals in one frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Open multiple Terminals in one frame" Watch "Open multiple Terminals in one frame" New topic
Author

Open multiple Terminals in one frame

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

As the title suggests, how can I open multiple terminal windows in a single terminal window. I would like to have some sore of tab options like we have in our browsers. Is there any app that could do this?


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60072
    
  65

iTerm2


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Bear Bibeault wrote:iTerm2


iThanks!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60072
    
  65

Joe Harry wrote:iThanks!

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Is there a way to open 3 terminal tabs at once when I click iTerm2?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60072
    
  65

Not sure as that's not a need of mine. What I like is setting up a bunch of profiles with differing working folders, or that ssh to various other systems.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

I found out a way to horizontally and vertically open multiple window panes in a single big monolithic window. But I'm not able to get to that window when I close open iTerm2. I can get back the same old window by clicking Window, restore old window. But I would want to save that once click. Let me check if I could explore more on saving that one click.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Joe Harry wrote:I found out a way to horizontally and vertically open multiple window panes in a single big monolithic window. But I'm not able to get to that window when I close open iTerm2. I can get back the same old window by clicking Window, restore old window. But I would want to save that once click. Let me check if I could explore more on saving that one click.


Almost after 3 months, I accidentally found a way to have the horizontal or vertical panes in a tab point to a different directory. Here is how to do it:

(1) Open Profiles and click Edit Profiles
(2) Select a profile as default
(3) Open the tab that you want multiple panes
(4) Select horizontal or vertical
(5) The new horizontal or vertical pane opens with the default window

So, the next time when you want to use a different location in a horizontal or vertical pane, just make that as your default and off you go.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11280
    
  59

As an alternate, you might want to consider using the GNU Screen software. As shown in the screen capture, you can use it to set up multiple terminals within a single terminal. Some differences between what it provides and what you are doing:

  • It works on most *nix systems, so it doesn't matter whether you are using iTerm2 or not
  • You can disconnect from screen and later resume the connection, even if you had connected via telnet or ssh - you can disconnect from the server totally if you wish, then resume where you left off
  • Applications keep running in disconnected sessions. So if you have some long running process, you can start it in a screen session, disconnect, and do other things, knowing that you can come back to it later.


  • [Thumbnail for Screen Shot 2013-02-11 at 6.09.25 PM.png]



    The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Open multiple Terminals in one frame
     
    Similar Threads
    windows vs mac
    making an executable shell script
    IP address regular expression
    how to open terminal window on mac