Home » Questions » Computers [ Ask a new question ]

Why less when you can have more? (Pagers on *Nix)

Why less when you can have more? (Pagers on *Nix)

Why do Linux people and most programs -- Ruby commands, for instance -- use less instead of more. Isn't more bigger, nicer, and better? What is the advantage to less?

Asked by: Guest | Views: 311
Total answers/comments: 2
Guest [Entry]

"Originally more only allowed forward motion in the file while less allowed you to move freely in the viewed file.

Modern version of more is more versatile.

I think the two wiki pages for more and less shows the current difference quite well."
Guest [Entry]

"""Most programs-- Ruby commands, for instance"", should be using whatever pager is the default instead of explicitly using a particular one. You can set your preferred pager via the $PAGER environment variable, and any properly behaving program will use that pager. I recommend checking out most as well. view can be nice if you are a fan of vi.

Does anyone know of a pager that has emacs keybindings out of the box (or, even better, a way to use emacsclient as a pager that accepts data from stdin)?"