Monday, December 19, 2011

slackware & git colors

By default in Slackware, the colors in git are not displayed correct. If you enable colors in git with a command like this:
git config color.ui true
instead of colored text you see escape characters like those below:
ESC[33mblablabalESC[m
This has to do with the fact that `less' which is used by git to display pages doesn't by default output escape sequences in "raw" form to the terminal (you need apply to use -R option). Executing something like this will fix the issue:
git config --global core.pager "less -FXRS"

5 comments:

Anonymous said...

I'm amazed, I have to admit. Seldom do I come across a blog that's both equally educative and amusing, and without a doubt, you've hit the nail on the head.

The problem is something which too few men and women are speaking intelligently about.
I'm very happy I stumbled across this in my search for something
relating to this.

Also visit my website: Tooth Whitening Pen

Anonymous said...

Ɗoes ʏour website have a contact pаge? I'm hаving trouble locating іt but,
І'd like tօ shoot уoս an е-mail. I've got some ideas
fοr your blog уoս miight ƅe interested in hearing.
Еither way, grеat website and Ι look forward tο seeіng it develop ovrr time.


Ϻy web-site lean Cuisine salad additions coupons

Anonymous said...

Amazing! This blog looks just like my old one!
It's on a completely different topic but it has pretty much the same
layout and design. Great choice of colors!

Feel free to visit my web site ... i need to fix my credit

Agen Judi Bola Casino Poker Togel Online Terpercaya said...

you accepted the above information

Agen Bola Terpercaya
Agen Judi Bola
Judi Online
Agen Casino Online
Agen Togel Online
Agen Poker Online
Prediksi Bola
Agen Sbobet
Agen Ibcbet
Prediksi Togel
368bet
Casino Sbobet 338a
Ion Casino
Golden666
Asiapoker77
Tangkasnet
Kik4d

Anonymous said...

The essential is that unlike past treatments, the tinnitus is not being masked and
not being hidden. You can't cure tinnitus before you know
what has started it. 3 inches, which makes it the largest known beetle species in the Amazon.

My website :: cure hemorrhoids []