Oftentimes it is desirable to let two windows each consume exactly half of the screen. I want to do this with emacs and the terminal so that I can look up C documentation while coding.
How could I make my system such that when emacs is opened from terminal, then the terminal and emacs will reposition themselves appropriately to the two halves of my screen? Or is there a better solution for my intended purpose?