Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Every once in a while I see people using what looks like terminal in their mac, except that in what seems to be 1 window they have a vertical 'split.' On one side of the split, they have emacs or something, and in the other they have something else.

How is this possible, to How can I have two independent things happening at once in the same terminal window, divided by a vertical split? It looks a lot like split pane, but split pane is a horizontal split and the actions are mirrored in the panes.

share|improve this question
add comment

6 Answers

up vote 10 down vote accepted

Possibly GNU Screen with vertical split?

image

It should already be installed on your Mac, type screen in the terminal.

You can also do this with emacs by itself.

share|improve this answer
    
yes!!! thank you!!! –  hatorade Oct 14 '09 at 20:16
    
your very welcome :) –  John T Oct 14 '09 at 20:18
    
hmm... i split emacs vertically, but it seems to be mirroring my actions... is there anyway to get two "instances" of emacs running side by side in this split view? –  hatorade Oct 14 '09 at 23:47
add comment

To split this in emacs use ctrl + x, b (control and x together, then b) to switch to another buffer that is already open. You can also click on the filename at the bottom to switch to another buffer.

Here is a list of shortcuts to resize windows and do much more with emacs link text

share|improve this answer
    
Fantastic link for the cheat sheet! Thanks for sharing. –  gbc Apr 30 '11 at 14:11
add comment

After you vertically split on screen, you can type screen to create new instance. Or you can also use iTerm or iTerm2 which can use vertical split. See this link for splitted panes. www.iterm2.com/#/section/features/split_panes

share|improve this answer
    
Thanks for adding the link, Ryan. –  ktsujister Dec 27 '11 at 2:34
add comment

very similar to John T's answer about screen, but you can also do this with tmux (http://tmux.sourceforge.net/). Nice thing about tmux compared to screen is that the vertical split feature comes even with the version you can get from packages(macports or homebrew for Mac, apt-get for ubuntu etc.).

share|improve this answer
add comment

How is this possible, to have two independent things happening at once in the same terminal window, divided by a vertical split?

You could say it's basically just running two programs within the same window.

In OS X Snow Leopard a horizontal split is built-in, but that indeed is a mirroring function. See also Mac OS X Snow Leopard - split Terminal windows.

share|improve this answer
    
i meant more of 'how can i accomplish this effect' rather than 'how does it work.' And i don't think screen is my answer; i want them side by side and independent. –  hatorade Oct 15 '09 at 7:20
    
You can un-accept your answer. –  Arjan Oct 15 '09 at 7:26
add comment

Download iTerm2 for macOSX from here.

Use cmd + d for vertical split and cmd + shift + d for horizontal split

To navigate between the vertical splits in left/right or up/down fashion use cmd + [ / cmd + ]

I recommended i Term 2 because of these features.

Also, I like the autocomplete feature which occurs when you press cmd + ;

Features in short include the following:

Split Panes, Hotkey Window, Search, Autocomplete, Mouseless Copy, Paste History, Instant Replay, Configurability, Full Screen, 256 Colors, Unixyness, Readability, Mouse Reporting, Growl Support, Exposé Tabs, Tagged Profiles, Multi-Lingual.

share|improve this answer
    
Welcome to SuperUser. please include the features in your answer, instead of relying on a link. if it ever gets broken, so does your answer. –  Lorenzo Von Matterhorn Sep 27 '13 at 8:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.