I am trying to understand the weird behaviour of less on nixOS.
Version is less 679 (PCRE2 regular expressions).
When I try to limit the output of less with -n, I can go up to 31 lines. Once I do -n 32, no line is printed. As if the formula for the actual line limit was $(-n) % 32. After that, the wrap is every 71 lines. Doing -n 103 yields 0 lines, as does 174, 245, and so on.
Can anyone reproduce this behaviour?
What could be the reason for this?