Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2006 15:29:15 +1030
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        freebsd-questions@freebsd.org
Cc:        "E. Eusey" <elcoocooi@earthlink.net>
Subject:   Re: termcap and TERM detection
Message-ID:  <200601041529.15123.malcolm.kay@internode.on.net>
In-Reply-To: <43BAE6C7.9000700@earthlink.net>
References:  <43BAE6C7.9000700@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 4 Jan 2006 07:34 am, E. Eusey wrote:
> The secondary screen functionality on my xterm (rxvt-unicode)
> was acting strangly.  So, following the advice at:
>
> http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.
>7.html
>
> I added an rxvt-unicode termcap entry to my termcap file and
> ran cap_mkdb.  After login, I'm able to 'setenv TERM
> rxvt-unicode' and everything works perfectly.
>
> However, when running urxvt initially, it detects the $TERM as
> 'rxvt', not 'rxvt-unicode'.  How is the $TERM variable
> determined by the system? Is there a way to detect my new
> termcap entry?  Any help would be greatly appreciated.
>
You should be able to set this through resources:
For example in .Xdefaults add:
Rxvt*termName: rxvt-unicode

Malcolm Kay



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