From owner-freebsd-questions@FreeBSD.ORG Wed Jan 4 04:59:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B951D16A41F for ; Wed, 4 Jan 2006 04:59:25 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BCAA43D46 for ; Wed, 4 Jan 2006 04:59:24 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from alpha.home (ppp224-76.lns2.adl4.internode.on.net [203.122.224.76]) by smtp3.adl2.internode.on.net (8.12.9/8.12.6) with ESMTP id k044xKcK044973; Wed, 4 Jan 2006 15:29:21 +1030 (CST) (envelope-from malcolm.kay@internode.on.net) From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Wed, 4 Jan 2006 15:29:15 +1030 User-Agent: KMail/1.8 References: <43BAE6C7.9000700@earthlink.net> In-Reply-To: <43BAE6C7.9000700@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601041529.15123.malcolm.kay@internode.on.net> Cc: "E. Eusey" Subject: Re: termcap and TERM detection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2006 04:59:25 -0000 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