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.


  • 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? – nohillside 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

You must log in to answer this question.

Browse other questions tagged .