ddraw [patch 1/2]: SetCooperativeLevels with Normal+Fullscreen+Exclusive mode is authorized
Andrew Eikum
andrew at brightnightgames.com
Mon Aug 30 17:59:17 CDT 2010
On 08/30/2010 05:44 PM, Octavian Voicu wrote:
> 1. You set color.ui to always and you're using less or another pager
> that doesn't support color. You don't need to use a pager in git diff.
> Normally, if you set color.ui to auto (or true), then color escape
> sequences are only enabled when output is a terminal (not a pipe or
> file).
>
> Instead of `git diff | less' just use `git diff'. If you really want
> to use less, `git diff | less -r' should work with colors (-r enables
> interpreting color escape codes in less).
Git automatically invokes a pager, as given by your 'core.pager' setting
(see 'man git-config'). It defaults to 'less'. If you're not getting
color, check your LESS environment variable. Unset it to use Git's
default settings (which should work with color escape sequences), or set
it to something like "-R". See 'man less' for more options, obviously.
If the above all seems correct, try a different or newer terminal
emulator to help diagnose the problem.
Andrew
More information about the wine-devel
mailing list