I am working on a asus router running asusware. Its a embedded linux implementation and more and less are busybox implementations. When I log into the router as admin (root) using telnet then more and less paging works perfectly (eg. stop scrolling at end of page at 24 lines). However when I log in with a account that lacks root privileges scrolling does not stop until end of file no matter how large the file. I have verified that my environment variables (TERM=xterm,LINES=24,COLUMNS=80) are set and OK. Also vi works correctly when editing files, I can move the cursor around normally. So terminal control in general seems to work. I also checked that normal users have full permissions to share/terminfo files.
By my logic it appears to be some kind of permission issue since immediately if I move the user group assignment to group root (0) in /etc/passwd scrolling starts to work as expected. But when moved to group 500 (users on this system) it stops working. But it makes no sense to me.
So the question is where to look next. What other files are involved in controlling these things?