Date: Thu, 8 Nov 2001 02:53:15 -0500 From: parv <parv_@yahoo.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: Automatically setting TERM=xterm-color in Konsole ? Message-ID: <20011108025315.A57718@moo.holy.cow>
next in thread | raw e-mail | index | archive | help
in message <20011107185614.E9173@moondog.org>, wrote Elden Fenison thusly... > > * Ernst de Haan [10/03/2001 16:20]: > > That works. It's a dirty hack, but it works :-) > > Another solution that I stumbled across is putting the term type in my > .Xdefaults file. That works for rxvt... not sure about konsole. Here's > the line: > > rxvt*termName: xterm-color > > > > Add this to your .bashrc (or equivalent for your shell) : > > > > > > if [ "$TERM" == "xterm" ]; then > > > export TERM=xterm-color > > > fi a variation of the above would be... if [ ${TERM:0:5} == "xterm" -o ${TERM:0:4} == "rxvt" ]; then TERM=xterm-color export TERM fi ...i needed to add "rxvt" bit after upgrading aterm from 0.4.0 version to 0.4.2. - parv -- 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?20011108025315.A57718>