Tagged Questions
1
vote
2answers
64 views
How do I pipe colored diff output to less?
I've been using git diff, which produces colored output. However, I now find I need to use ordinary diff for something, and it's producing a lot of output that is hard to read because of the lack of ...
3
votes
4answers
119 views
Colored output in less when tailing a logfile
I am in dire need of a way to color my less output while reading a file that is constantly being appended.
The file in questions is a Resin servlet container log.
My current "implementation" of the ...
6
votes
1answer
581 views
Get colors in less command with ccze: Shift + g doesn't go to the end of file?
In all the tools to get colors with less command: -R, Pygments, GNU Source-highlight, vless, ... ccze make me sastified with below command:
ccze -A < /path/to/log/file | less -R
but Shift+g ...
8
votes
2answers
619 views
How to have tail -f show colored output with vim?
In this question, Gilles answered
Yet another possibility is to run tail -f in an Emacs shell buffer and use Emacs's syntax coloring abilities.
Because I'm a vim user, I'd like to do this with ...
2
votes
1answer
176 views
Coloring line numbers in less?
Please consider the following example:
$ grep --color=always -n 'Format\|Files' /usr/share/doc-base/doc-base | less -R
Here, grep will color also the line numbers of the matches, and less will ...
24
votes
3answers
5k views
Can less retain colored output?
Can I get less not to monochrome its output?
E.g., the output from git diff is colored, but git diff | less is not.
4
votes
2answers
1k views
Colored man pages not working on gentoo
I have a problem using these methods to get colors in my man pages in gentoo. I've asked already in the gentoo forums but it still doesn't work, and the comments in a bug report (Bug 184604) don't ...
11
votes
4answers
2k views
Colors in Man Pages
When I look at a man page in my 'console' (not an xterm) I see some coloration, but I don't get this in my xterm's (e.g. konsole) is there any way I can enable this? hopefully a fairly simple ...