You are not logged in.

#1 2009-03-05 11:41:56

sessy
Member
Registered: 2006-01-20
Posts: 104

[SOLVED] No color in konsole, but color on remote shell (screen) :-O

While working via ssh/screen on a remote server, i saw symfony has nice colored output. I'd like to ask: how can i enable the same colors on my local machine? [Seraching the wiki+forum did not help]

Screenshot showing a screen session running in my Konsole (Kde 3.5.10):

34989247.png

The same command's output on my computer, in the same Konsole:

41248061.png

TIA!

Last edited by sessy (2009-03-08 02:16:04)

Offline

#2 2009-03-05 12:14:43

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] No color in konsole, but color on remote shell (screen) :-O

Try editing your Konsole profile. There's a "environment variables" button on the first tab, which shows "TERM=xterm" for me. See if changing that to "TERM=xterm-color" or "TERM=xterm-256color" fixes it.


1000

Offline

#3 2009-03-05 18:43:10

sessy
Member
Registered: 2006-01-20
Posts: 104

Re: [SOLVED] No color in konsole, but color on remote shell (screen) :-O

Thanks for the answer byte!

I've only found similar settings on tab 3:

36574854.png

echo $TERM returns xterm-256color, but i still see the same "colorless" output. roll

Offline

#4 2009-03-08 02:15:39

sessy
Member
Registered: 2006-01-20
Posts: 104

Re: [SOLVED] No color in konsole, but color on remote shell (screen) :-O

Turns out I had to enable "extension=posix.so" in php.ini smile

Offline

Board footer

Powered by FluxBB