{"thread":{"id":"17128","subject":"Re: [kde] kde konsole color settings in terminal","startedAt":"2009-01-12T22:18:48Z","lastAt":"2009-01-12T22:30:36Z","messageCount":2,"participants":["Boyd Stephen Smith Jr.","mark"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"100180","messageId":"200901121618.52636.bss@iguanasuicide.net","threadId":"17128","inReplyTo":"82fa9e310901121335p4bd1e223x8eea1881c0add364@mail.gmail.com","subject":"Re: [kde] kde konsole color settings in terminal","fromName":"Boyd Stephen Smith Jr.","fromEmail":"bss@iguanasuicide.net","sentAt":"2009-01-12T22:18:48Z","receivedAt":"2009-01-12T22:18:48Z","isPatch":false,"sender":{"key":"bss@iguanasuicide.net","avatar":"https://gravatar.com/avatar/84b95eeff194b816c1568b1339e63e4b229825298664a9037b9f1ec713ead1e3?d=mp&s=160"},"body":"On Monday 2009 January 12 15:35:08 mark wrote:\n>i am using kde konsole, and i am getting weird output for colors, for\n>example for git log i get the following output\n>\n>git log\n>ESC[33mcommit 8b918256d944221f741e5d7300873810e31466a6ESC[m\n\nLooks like konsole isn't interpreting the color codes.  However, it also looks \nlike git doesn't use termcap/terminfo/etc. to determine the correct way to \nwrite colors for your terminal and just defaults to ANSI.\n\nDo you get odd output from:\ngrep --color=always o <<< foo\nor are the \"o\"s properly colored red?\n\n>settings in my bash and git.\n>\n>export | grep -i term\n>declare -x TERM=\"xterm-256color\"\n\nSo you have a /usr/share/terminfo/k/konsole-256color file?  If so, it might be \nbetter to use TERM=\"konsole-256color\".\n\nI never use 256 color mode, so I'm not clear on how that works.  However, what \ngit is outputting look more like ANSI 16-color codes.\n\nDoes this work as you expect in other terminal applications (like rxvt or \nxterm or gnome-terminal) with the same settings for TERM?\n\nJust to let you know, it works here (openSUSE 11.1) with Konsole 1.6.6 (KDE \n3.5.10) running git 1.6.0.2 inside screen 4.00.02\n-- \nBoyd Stephen Smith Jr.                     ,= ,-_-. =. \nbss@iguanasuicide.net                     ((_/)o o(\\_))\nICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' \nhttp://iguanasuicide.net/                      \\_/     \n"},{"id":"100182","messageId":"82fa9e310901121430q75c497dfye51a58cce19d2d94@mail.gmail.com","threadId":"17128","inReplyTo":"200901121618.52636.bss@iguanasuicide.net","subject":"Re: [kde] kde konsole color settings in terminal","fromName":"mark","fromEmail":"markkicks@gmail.com","sentAt":"2009-01-12T22:30:36Z","receivedAt":"2009-01-12T22:30:36Z","isPatch":false,"sender":{"key":"markkicks@gmail.com","avatar":null},"body":"On Mon, Jan 12, 2009 at 2:18 PM, Boyd Stephen Smith Jr.\n<bss@iguanasuicide.net> wrote:\n> On Monday 2009 January 12 15:35:08 mark wrote:\n>>i am using kde konsole, and i am getting weird output for colors, for\n>>example for git log i get the following output\n>>\n>>git log\n>>ESC[33mcommit 8b918256d944221f741e5d7300873810e31466a6ESC[m\n>\n> Looks like konsole isn't interpreting the color codes.  However, it also looks\n> like git doesn't use termcap/terminfo/etc. to determine the correct way to\n> write colors for your terminal and just defaults to ANSI.\n>\n> Do you get odd output from:\n> grep --color=always o <<< foo\n> or are the \"o\"s properly colored red?\n[mark@localhost blue]$ grep --color=always o <<< foo\nfoo\n\nyes the oo s are colored yellow.\n\n\n>>settings in my bash and git.\n>>\n>>export | grep -i term\n>>declare -x TERM=\"xterm-256color\"\n>\n> So you have a /usr/share/terminfo/k/konsole-256color file?  If so, it might be\n> better to use TERM=\"konsole-256color\".\ni do not have that file you specify.\nI have only these\nls /usr/share/terminfo/k/*\n/usr/share/terminfo/k/kon  /usr/share/terminfo/k/kon2\n\n\n\n> I never use 256 color mode, so I'm not clear on how that works.  However, what\n> git is outputting look more like ANSI 16-color codes.\n>\n> Does this work as you expect in other terminal applications (like rxvt or\n> xterm or gnome-terminal) with the same settings for TERM?\nno, it is not working on gnome-terminal or xterm. i do not have rxvt.\ni even tried with TERM=xterm.\n\nstill the same problem!!\ni am running on kde 4.1.3, fedora 10 latest updates.\n\ni am getting good colors on vim.\n\ni like git colors, help me out!\nthanks a lot!\n"}]}