git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: mark <markkicks@gmail.com>
To: "Boyd Stephen Smith Jr." <bss@iguanasuicide.net>
Cc: kde@mail.kde.org, git@vger.kernel.org
Subject: Re: [kde] kde konsole color settings in terminal
Date: Mon, 12 Jan 2009 14:30:36 -0800	[thread overview]
Message-ID: <82fa9e310901121430q75c497dfye51a58cce19d2d94@mail.gmail.com> (raw)
In-Reply-To: <200901121618.52636.bss@iguanasuicide.net>

On Mon, Jan 12, 2009 at 2:18 PM, Boyd Stephen Smith Jr.
<bss@iguanasuicide.net> wrote:
> On Monday 2009 January 12 15:35:08 mark wrote:
>>i am using kde konsole, and i am getting weird output for colors, for
>>example for git log i get the following output
>>
>>git log
>>ESC[33mcommit 8b918256d944221f741e5d7300873810e31466a6ESC[m
>
> Looks like konsole isn't interpreting the color codes.  However, it also looks
> like git doesn't use termcap/terminfo/etc. to determine the correct way to
> write colors for your terminal and just defaults to ANSI.
>
> Do you get odd output from:
> grep --color=always o <<< foo
> or are the "o"s properly colored red?
[mark@localhost blue]$ grep --color=always o <<< foo
foo

yes the oo s are colored yellow.


>>settings in my bash and git.
>>
>>export | grep -i term
>>declare -x TERM="xterm-256color"
>
> So you have a /usr/share/terminfo/k/konsole-256color file?  If so, it might be
> better to use TERM="konsole-256color".
i do not have that file you specify.
I have only these
ls /usr/share/terminfo/k/*
/usr/share/terminfo/k/kon  /usr/share/terminfo/k/kon2



> I never use 256 color mode, so I'm not clear on how that works.  However, what
> git is outputting look more like ANSI 16-color codes.
>
> Does this work as you expect in other terminal applications (like rxvt or
> xterm or gnome-terminal) with the same settings for TERM?
no, it is not working on gnome-terminal or xterm. i do not have rxvt.
i even tried with TERM=xterm.

still the same problem!!
i am running on kde 4.1.3, fedora 10 latest updates.

i am getting good colors on vim.

i like git colors, help me out!
thanks a lot!

      reply	other threads:[~2009-01-12 22:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <82fa9e310901121335p4bd1e223x8eea1881c0add364@mail.gmail.com>
2009-01-12 22:18 ` [kde] kde konsole color settings in terminal Boyd Stephen Smith Jr.
2009-01-12 22:30   ` mark [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82fa9e310901121430q75c497dfye51a58cce19d2d94@mail.gmail.com \
    --to=markkicks@gmail.com \
    --cc=bss@iguanasuicide.net \
    --cc=git@vger.kernel.org \
    --cc=kde@mail.kde.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).