1
vote
1answer
63 views

Line-wrapping `less` in OS X (specifically for use with 'git diff')

Using less +-S does not work (although it does ask Chop long lines (press RETURN)), and entering -S once inside less also does not work. Is there a solution? I am usig OS X Mavericks (10.9.3). ...
0
votes
1answer
24 views

Can less wrap lines like fmt does?

Like most people I use less as my terminal pager. Occasionally I view files consisting of very long lines of plain or marked-up text. By default less folds these lines at the terminal window edge. ...
1
vote
1answer
79 views

Less in cygwin can't read file created from redirected windows cmd script

I'm running windows cmd script from windows console and redirecting output to a file by mycommand.cmd > 'filename ' 2>&1 the problem is, when I'm trying to read that file using less under ...
1
vote
3answers
251 views

Open man-page with less [duplicate]

Possible Duplicate: How to let man utility to use less to display manual rather than more? How can i open up the Man-page for a command with the less-editor? Alternatively, how can i find ...
1
vote
1answer
225 views

How can I set `less` or `more` max lines (scrollable height) limit/boundary in linux?

(Sorry for the title. Any suggestions?) I've set my commandline PS1 to cover 3 lines: white space user, server and pwd $ or # to input I think less (or more?) is configured to break after ...
5
votes
2answers
9k views

Less or More in Windows?

Is there a command in the Windows DOS prompt that is equivalent to the UNIX less or more? Basically, the problem is that when I type hg log, the output has too many lines to fit on the screen and I ...
3
votes
1answer
268 views

Why less -F option does not work with -S option

While trying to improve output from hg diff I've noticed that less -F option does not work with -S option. Why is that happening and how to achieve desired effect? Here is handout from man: -F or ...
0
votes
1answer
625 views

Best method for CoffeeScript / LESS autocompilation?

I've been using LESS and CoffeeScript substantially lately, and wondering what would be the best method of monitoring. Currently I use LESS.app, which works great, but I don't think there's a solution ...
104
votes
3answers
23k views

How to turn off word-wrap in less

Short version: How can I make the less utility in Linux not wrap lines? Long version: Often I need to view huge CSV files using less with hundreds of columns. I frequently only care about the first ...
7
votes
1answer
259 views

Getting LESS to return back to command line if a short file is displayed

Is there a command line option that will allow less to return to the command line if there are not sufficient lines in the file to warrant paging. Sure I have seen it in the past but can't find the ...
19
votes
6answers
4k views

Mercurial. Colour output piped to less

Operating system: Mac OS 10.6.2 I'd like to be able to see colour output when piping certain commands through less. Two examples: I've got ls aliased to ls --color=auto, so I'd like to be able to ...
4
votes
3answers
492 views

Incremental searching with the `less` utility

Does less have an incremental search? I'm on xubuntu.