Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2001 14:51:28 +0100
From:      Ceri <ceri@techsupport.co.uk>
To:        Ernst de Haan <ernsth@nl.euro.net>
Cc:        questions@freebsd.org
Subject:   Re: Automatically setting TERM=xterm-color in Konsole ?
Message-ID:  <20011003145128.A10594@cartman.private.techsupport.co.uk>
In-Reply-To: <200110011019.f91AJT902737@zaphod.euronet.nl>; from ernsth@nl.euro.net on Mon, Oct 01, 2001 at 12:19:29PM %2B0200
References:  <200110011019.f91AJT902737@zaphod.euronet.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 01, 2001 at 12:19:29PM +0200, Ernst de Haan said:

> How do I automatically set TERM in Konsole? For each terminal I start in 
> Konsole, I have to enter "export TERM=xterm-color" in order to get colorized 
> output...

Add this to your .bashrc (or equivalent for your shell) :

if [ "$TERM" == "xterm" ]; then
        export TERM=xterm-color
fi

Ceri

-- 
Aren't we supposed to hate Darth Maul?
Then why doesn't he do anything more evil than defeat one of his
opponents in a 2-on-1 fight?
				--Jon Hall, rec.arts.tv.mst3k.misc

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011003145128.A10594>