1
vote
1answer
20 views

How can I switch line-wrapping on and off from within less

I know I can run less -S and avoid long line wrapping. But can I switch wrapping on and off from within less?
6
votes
3answers
245 views

Is there an automatically scrolling, time-delayed Unix pager command?

I'd like to view output of big commands slowed down, like a slideshow with e.g. automatic, 500ms delay between each scroll. What is the simplest way to achieve this?
0
votes
1answer
197 views

Preventing the pager less from exiting when scrolling beyond the end of file

I like less and use it as my default pager in Linux. However, there are times that I am scrolling down through a large document quickly and less exits when I reach the end of the document before I ...
4
votes
2answers
286 views

Let less work like cat, if only one screen full of text

On my Debian machine here, less always opens the alternate screen to show stuff. This is annoying, if there are only 2 or 3 lines to be displayed. I'd like less to: work as pager, if there is more ...
4
votes
4answers
1k views

Change less (pager) default options

I'm using Ubuntu 10.04. My default pager(set using update-alternatives, not $PAGER) is less. The problem is, when I use ri(Ruby documentation tool) with the '-f ansi' mode, less shows the escape ...
1
vote
3answers
2k views

Use `less` pager on file with non-standard encoding

I often use the less pager to view logfiles. Usually I use less -F to follow the progress of the log à la tail. However, some logfiles use national characters in a non-standard encoding (Latin-1, ...