Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
I’ve got diff = colordiff -u CURRENT2 CURRENT1 | less -R in my config file but it seems like Unison pipes the output to plain less nonetheless, so I get raw escape sequences instead.
Can you change to any other diff utility via the Unison config? – N.N.Feb 26 at 12:53
diff = colordiff -u CURRENT2 CURRENT1 | less -R … Which, as the root of the problem, doesn’t work. – ProfpatschFeb 26 at 14:51
I am asking whether you are successful in configuring Unison to use any other diff utility than diff = colordiff -u CURRENT2 CURRENT1 | less -R, e.g. meld, in trying to help you troubleshoot the problem. – N.N.Feb 26 at 15:22
Meld works like a charm, but is a little over-the-top for the job. – ProfpatschFeb 27 at 8:40
What happens if you skip the pipe to less, e.g. if you only specify colordiff to Unison? – N.N.Feb 27 at 9:24
diff = colordiff -u CURRENT2 CURRENT1 | less -R… Which, as the root of the problem, doesn’t work. – Profpatsch Feb 26 at 14:51diff = colordiff -u CURRENT2 CURRENT1 | less -R, e.g. meld, in trying to help you troubleshoot the problem. – N.N. Feb 26 at 15:22Meldworks like a charm, but is a little over-the-top for the job. – Profpatsch Feb 27 at 8:40less, e.g. if you only specifycolordiffto Unison? – N.N. Feb 27 at 9:24