Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

so when I log into the terminal from my login screen (by typing >console as username), I get logged in to the terminal. However, when I try to use vim or anything useful, it only takes up around 1/4 of the screen, as seen in this photo (sorry for reflection!!): enter image description here

How do I adjust the size of the terminal so it takes up the whole screen, rather than leaving most of the screen black? Also text colouring in vim doesn't work when in this mode, if anyone knows how to fix that too!

share|improve this question
+1 for teaching me the '>console' trick. That's a new one on me. – SSteve Mar 13 '13 at 16:55

When I log in, the entire width of the screen is used so I'm not sure how to answer that part of the question. But as far as enabling text coloring in vim, add this line to your .bash_profile:

export TERM="xterm-256color"

Terminal does that automatically for you, but you have to do it yourself in this mode.

Edit - screen width in vim

To set the screen width in vim, add this line to your .vimrc file:

set columns=XXX

Where "XXX" is the number of columns you want.

share|improve this answer
Wait, so when you log in and open vim or type top, it takes up 100% of the screen? What screen resolution (pixels) is your screen? – Conor Taylor Mar 13 '13 at 17:39
I did less *.tex in a directory with a wide TeX file and it used the entire width of the screen. But I just tried vim and top and they do limit the width of their content. So it might be a per-application issue. I just figured out how to do it in vim. I'll update my answer. I haven't figured it out for top yet. – SSteve Mar 13 '13 at 20:24

Your Answer


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.