On Sat, Nov 19, 2022 at 02:14:36PM +0100, Uwe Brauer wrote: [...] >> git log --color=always ... > > That gives a strange result, namely > ESC[33mcommit 9dc21b3902a819796d1ba3bc7654733ab00e6e75 (feature)ESC[mESC[33m > (ESC[mESC[36mHEADESC[mESC[33m -> ESC[mESC[32mfeature > ESC[mESC[33m)ESC[m
Those ESC [ ... m are exactly the ANSI color-controlling sequences. ESC stands for an ASCII control character with the code 0x1B, '[' and 'm' are literally these characters, and the stuff in between defines "an action" to be done regarding colors. "ESC [" starts the sequence, and 'm' terminates it. > A clear sign, that I need to configure my command shell, > *but* I'd stick `less -R` at the end. > Works nicely and gives me precisely what I was looking for > *thanks again* for your help 😁 Well, it's good it worked for you but still it's a bit strange that whatever you call these commands in (I assume it's a terminal emulator) is unable to interpret these color-controlling sequences. Even Windows console emulators learned to cope with them. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/20221119134106.z4j7la4exryntb7y%40carbon.