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

Don't know if this is really an OS X question, but:

less seems to insist that my terminal (whether I'm using the builtin Terminal or iTerm2) has more lines than are actually displayed, and so the top of whatever I'm lessing is always off the screen.

My LINES environment variable matches the number of visible lines in the terminal.

I have a vague recollection that it didn't use to be this way, but has been this way for me for several months, at least.


share|improve this question
Maybe less is suggesting you use more :-p. I can't reproduce this on Lion. Have you changed your LESS environment variable? – cm2 Feb 3 '12 at 17:37
Does it happen with all files or only with specific ones? – patrix Feb 4 '12 at 14:39
I have the same problem with 'less'. 'more' works for me, good suggestion. – dfrankow Jun 23 '13 at 1:35

Your Answer


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

Browse other questions tagged or ask your own question.